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]

[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.


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/


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