[Fwd: Re: 1.5.17 regression - 'printer name is invalid' is back]

Tim Beuman timb@cdvinc.com
Wed Jun 1 02:01:00 GMT 2005


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.

Tim

-------- 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 <timb@cdvinc.com>
To: cygwin@cygwin.com

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/



More information about the Cygwin mailing list