[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 333 - trunk/subversion/libsvn_ra_local trunk/subversion/clients/cmdline

From: Branko Èibej <brane_at_xbc.nu>
Date: 2001-11-02 17:21:19 CET

Karl Fogel wrote:

>Branko �ibej <brane@xbc.nu> writes:
>
>>>Would like some other's opinions on this (apparently, at least one
>>>other person was not confused by the byte count).
>>>
>>Forget persons, a script parser will be confused by the byte count
>>unless you tell it how many bytes there are in a newline separator.
>>
>>Don't you just love interop. :-)
>>
>
>I think in practice this is unlikely to be a problem; in any case,
>that's just one of many things about log output that a script would
>have to know (for whatever platform it's running on).
>
>When you call printf("\n") on a non-Unix machine, can it output \n\r
>or \r\n, or will it still just output \n?
>

If the stream is opened in translated mode (fopen("bla", "wt"), which
stdout typically is, it can output whatever the local line separator
sequence is.

-- 
Brane �ibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:47 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.