[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] "monotone cat file" not binary save?
From: |
Thomas Haas |
Subject: |
Re: [Monotone-devel] "monotone cat file" not binary save? |
Date: |
Wed, 07 Sep 2005 11:42:21 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
Jon Bright wrote:
> Thomas Haas wrote:
>
>>
>> Googled and found something about setmode(fd,mode) on
>> http://www.cs.toronto.edu/~cosmin/TA/prog/sysconf/ (worth reading):
>>
>> Handling binary files via standard I/O
>
>
> Monotone's using C++ streams everywhere. I did have a play with various
> SetMode tricks, but as I recall, none of them were acceptable. If
> someone does look at this, it's worth noting that there's an interesting
> disparity between the output of monotone cat (which has CRLF) and the
> output of various other commands (which doesn't).
>
Is the SetMode operation you are referring to managing the iostreams or
the file handle of the OS? The issue seems to be the file handle, not
the iostreams.
Regards
- tom
- [Monotone-devel] "monotone cat file" not binary save?, (continued)
- [Monotone-devel] "monotone cat file" not binary save?, Thomas Haas, 2005/09/05
- Re: [Monotone-devel] "monotone cat file" not binary save?, Thomas Haas, 2005/09/06
- Re: [Monotone-devel] "monotone cat file" not binary save?, Richard Levitte - VMS Whacker, 2005/09/06
- Re: [Monotone-devel] "monotone cat file" not binary save?, Jon Bright, 2005/09/06
- Re: [Monotone-devel] "monotone cat file" not binary save?, Thomas Haas, 2005/09/06
- Re: [Monotone-devel] "monotone cat file" not binary save?, Nathaniel Smith, 2005/09/06
- Re: [Monotone-devel] "monotone cat file" not binary save?, Richard Levitte - VMS Whacker, 2005/09/06
- Re: [Monotone-devel] "monotone cat file" not binary save?, Thomas Haas, 2005/09/07
- Re: [Monotone-devel] "monotone cat file" not binary save?, Jon Bright, 2005/09/07
- Re: [Monotone-devel] "monotone cat file" not binary save?,
Thomas Haas <=
- Re: [Monotone-devel] "monotone cat file" not binary save?, Jon Bright, 2005/09/07
- Re: [Monotone-devel] "monotone cat file" not binary save?, Thomas Haas, 2005/09/07
- Re: [Monotone-devel] "monotone cat file" not binary save?, Jon Bright, 2005/09/07
- Re: [Monotone-devel] "monotone cat file" not binary save?, Hendrik Boom, 2005/09/07
- Re: [Monotone-devel] "monotone cat file" not binary save?, Richard Levitte - VMS Whacker, 2005/09/08
- [Monotone-devel] Re: "monotone cat file" not binary save?, Lapo Luchini, 2005/09/09
- [Monotone-devel] Re: "monotone cat file" not binary save?, Lapo Luchini, 2005/09/13
- [Monotone-devel] Re: "monotone cat file" not binary save?, Lapo Luchini, 2005/09/22