monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] [PATCH] Specifying multiple --message arguments for


From: Timothy Brownawell
Subject: Re: [Monotone-devel] [PATCH] Specifying multiple --message arguments for commits
Date: Sun, 01 Oct 2006 17:47:00 -0500

On Mon, 2006-10-02 at 00:19 +0200, Richard Levitte - VMS Whacker wrote:
> In message <address@hidden> on Sat, 30 Sep 2006 14:34:15 -0500, Timothy 
> Brownawell <address@hidden> said:
> 
> tbrownaw> On Sat, 2006-09-30 at 21:17 +0200, Thomas Moschny wrote:
> tbrownaw> > Can't you simply use std::endl for that?
> tbrownaw> 
> tbrownaw> std::endl is the same as '\n' plus flush() . No reason to
> tbrownaw> use it unless you're trying to also flush the stream you're
> tbrownaw> writing to...
> 
> ...  or trying to be platform independent...

How so? Line-ending translation is handled elsewhere, what other
platform-specific things could be there? (plus, IIRC endl is *defined to
be* write "widen('\n')" and flush the stream)

Tim
-- 
Free (experimental) public monotone hosting: http://mtn-host.prjek.net





reply via email to

[Prev in Thread] Current Thread [Next in Thread]