Problem with F:/ and /cygdrive/f/

Christopher Faylor cgf@redhat.com
Fri Jan 12 11:12:00 GMT 2001


On Fri, Jan 12, 2001 at 01:55:12PM -0500, Christopher Faylor wrote:
>On Fri, Jan 12, 2001 at 12:33:25PM -0500, Earnie Boyd wrote:
>>"Larry Hall (RFK Partners, Inc)" wrote:
>>> At 11:54 AM 1/12/2001, Joey Mukherjee wrote:
>>> >I have a program which works perfectly when I tell it to read from a file at
>>> >/cygdrive/f/ .  However, when I set the directory to F:/, the program no
>>> >longer works.
>>>
>>> The output of cygcheck -s -r -v and a test case showing the problem would be
>>> helpful.
>>> 
>>
>>Not for this Larry.
>>
>>FAQ ALERT!!
>>
>>If you access a file via it's drive letter name, it will open it in text
>>mode by default.  Chris, will adding binmode to CYGWIN help in this
>>case?
>
>Hmm.  Maybe.  I don't know for sure.
>
>I'm not sure that I knew this either but now that I think of it, you're
>probably right Earnie.  It's unfortunate and surprising behavior.  I'll
>have to think about the best way to fix this.

Again, I catch myself for typing while in a conference call.

By "this", I meant the fact that x: stuff always defaults to text mode.
That is surprising behavior and I'm going to do something about it.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list