Hi!

Thursday, 11 October, 2001 Charles Wilson [EMAIL PROTECTED] wrote:

>> currently, files like '//server/share/path/to/file' are opened in
>> text mode, if only '//server/share/path/to/' doesn't belong to any
>> mount. mounting every share is not always possible, and otherwise
>> there's no way to make such files to be opened in binary mode.
>> attached patch uses 'binmode' from CYGWIN environment variable to
>> determine default mode. Comments?

CW> I thought binmode was only supposed to affect pipe behavior, not mount 
CW> behavior -- this patch conflates the two.  Wouldn't it be better to key 
CW> off of the mount mode for /cygdrive/ ?  We're talking about the "default 
CW> mount mode" for non-explicit "auto-mounts" in both cases... 
CW> "/cygdrive/x/" and "//unc/share/"

this sounds like a good idea. updated patch attached.

Egor.            mailto:[EMAIL PROTECTED] ICQ 5165414 FidoNet 2:5020/496.19

Attachment: binmode-on-unc-paths.ChangeLog
Description: Binary data

Attachment: binmode-on-unc-paths.diff
Description: Binary data

Reply via email to