This is the mail archive of the
mailing list for the Cygwin project.
[Fwd: 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 19:00:11 -0700
- Subject: [Fwd: Re: 1.5.17 regression - 'printer name is invalid' is back]
I tried using cygwin_conv_to_full_win32_path() in lpr.cc but it comes
back with errno=136 (ENOSHARE).
I tried cygwin_conv_to_win32_path() and it comes back with errno=136 too.
-------- Original Message --------
Subject: Re: 1.5.17 regression - 'printer name is invalid' is back
Date: Tue, 31 May 2005 18:39:51 -0700
From: Tim Beuman <firstname.lastname@example.org>
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:
path_conv p (path, PC_SYM_FOLLOW | PC_NO_ACCESS_CHECK | PC_NOFULL);
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?).
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html