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 mailing list Monotone-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/monotone-devel