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 EF0CC7F0A3 for ; Sun, 23 Aug 2015 02:19:02 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of oliver@first.in-berlin.de) identity=pra; client-ip=192.109.42.8; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="oliver@first.in-berlin.de"; x-sender="oliver@first.in-berlin.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of oliver@first.in-berlin.de) identity=mailfrom; client-ip=192.109.42.8; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="oliver@first.in-berlin.de"; x-sender="oliver@first.in-berlin.de"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@einhorn.in-berlin.de) identity=helo; client-ip=192.109.42.8; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="oliver@first.in-berlin.de"; x-sender="postmaster@einhorn.in-berlin.de"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0B8AQD+ENlVnAgqbcBehF6DH8NaTAEBAQEBARIBAQEBAQgLCQkhLoRNFXYCGA4CiSAEnxOPY5VbgSKPXYJSgUMFlTSMbwhLiCGQJYE6gXABCwGCKYM7AQEB X-IPAS-Result: A0B8AQD+ENlVnAgqbcBehF6DH8NaTAEBAQEBARIBAQEBAQgLCQkhLoRNFXYCGA4CiSAEnxOPY5VbgSKPXYJSgUMFlTSMbwhLiCGQJYE6gXABCwGCKYM7AQEB X-IronPort-AV: E=Sophos;i="5.15,730,1432591200"; d="scan'208";a="174522835" Received: from einhorn.in-berlin.de ([192.109.42.8]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Aug 2015 02:19:02 +0200 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Received: from localhost (yak.in-berlin.de [192.109.42.109]) by einhorn.in-berlin.de (8.14.4/8.14.4/Debian-4) with ESMTP id t7N0J1WV011844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 23 Aug 2015 02:19:01 +0200 Received: from x55b208e3.dyn.telefonica.de (x55b208e3.dyn.telefonica.de [85.178.8.227]) by webmail.in-berlin.de (Horde Framework) with HTTP; Sun, 23 Aug 2015 02:19:01 +0200 Date: Sun, 23 Aug 2015 02:19:01 +0200 Message-ID: <20150823021901.Horde.g_vEwwFL7xNJIFXFf3LPIcu@webmail.in-berlin.de> From: Oliver Bandel To: caml-list@inria.fr User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Subject: [Caml-list] Setting Pervasive's stderr to unbuffered as default? Hello, stderr on Unix is unbuffered by default. In OCaml, all the Channels from Pervasives are buffered by default, and flush-function must be used. This issue is annoying me since ages... Is there a way to set Unix-like-behaviour (unbuffered stderr => unbuffered Pervasives.stderr) as default? Something like setbuf(3) / setvbuf(3) for OCaml's pervasives? Would a feature-wish for this feature have any chance of success? Ciao, Oliver