This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.5.17 regression - 'printer name is invalid' is back
- From: Tim Beuman <timb at cdvinc dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 31 May 2005 18:39:51 -0700
- Subject: 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/