This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.17 regression - 'printer name is invalid' is back


This problem probably is a result of the modifications in src/winsup/cywin/path.cc introduced in version 3.373.

lpr.exe uses cygwin_conv_to_win32_path() which now is forced to check for non-absolute pathnames only:

version 1.373:
path_conv p (path, PC_SYM_FOLLOW | PC_NO_ACCESS_CHECK | PC_NOFULL);

version 1.372:
path_conv p (path, PC_SYM_FOLLOW | PC_NO_ACCESS_CHECK);

lpr.exe probably should use cygwin_conv_to_full_win32_path() for a remote printer (and a local printer too?).

Tim


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]