From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 18CAA7F0D9 for ; Tue, 25 Aug 2015 14:32:59 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.15,745,1432591200"; d="scan'208";a="174780389" Received: from estephe.inria.fr (HELO [128.93.11.95]) ([128.93.11.95]) by mail2-relais-roc.national.inria.fr with ESMTP; 25 Aug 2015 14:32:58 +0200 Message-ID: <55DC607A.3020001@inria.fr> Date: Tue, 25 Aug 2015 14:32:58 +0200 From: Xavier Leroy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: caml-list@inria.fr References: <20150823021901.Horde.g_vEwwFL7xNJIFXFf3LPIcu@webmail.in-berlin.de> <20150824121920.GE1536@pl-59055.rocqadm.inria.fr> <1440500993.3985.2.camel@e130.lan.sumadev.de> In-Reply-To: <1440500993.3985.2.camel@e130.lan.sumadev.de> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] Setting Pervasive's stderr to unbuffered as default? On 25/08/2015 13:09, Gerd Stolpmann wrote: > I cannot follow. Pervasives.stderr is unbuffered; however (see > pervasives.ml): Just to avoid possible misunderstandings: - All Pervasives.out_channel are buffered. There is no such thing as an unbuffered out_channel. - A few "print" functions from Pervasive flush explicitly when printing a newline (because those functions are often used for interactive I/O). - The "%!" modifier for printf also forces a flush. Hope it's clearer now. - Xavier Leroy