Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 17439 invoked from network); 16 Oct 2009 14:42:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Oct 2009 14:42:10 -0000 Received: (qmail 49323 invoked by uid 500); 16 Oct 2009 14:42:10 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 49233 invoked by uid 500); 16 Oct 2009 14:42:10 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 49220 invoked by uid 99); 16 Oct 2009 14:42:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 14:42:09 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jonathan.leffler@gmail.com designates 209.85.211.178 as permitted sender) Received: from [209.85.211.178] (HELO mail-yw0-f178.google.com) (209.85.211.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2009 14:42:07 +0000 Received: by ywh8 with SMTP id 8so1995435ywh.3 for ; Fri, 16 Oct 2009 07:41:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=86xpMi4m5CawFANA5Su1sGKb/U2JMLKGRIVqDlUK6Q8=; b=WQWZV8B668DD1NebvfpxQAlHkpQE+UFDDaJhec6herd1cfbfjJfwW02nm724y9mv7n zLOrwDCA5rECgEceVecJLTXY9d/wxg30/Rljq9Ya/kBzDdzb6ze/+9emH7QKEA9pbYKC xjlj/UDusZONr0S9q9leCDQJOaNBRsRNogRoU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=nm2amMl1iPg+lWYUQrf/Ku48upCIUnwNDn3cvCTSGqdofr2vIYpzusSaK/e3zEc5D0 eYkANFIdsuP5oXAgYMBB+ZuOVH1YaTZXYtBPDvf1UhNEu50S1GeJJIS8hpzjRIIIUig4 KXp/+Qgf3PvWzaNa1pRANvsDC6vi4otdRM958= MIME-Version: 1.0 Received: by 10.101.128.27 with SMTP id f27mr1863867ann.182.1255704106273; Fri, 16 Oct 2009 07:41:46 -0700 (PDT) In-Reply-To: References: <20091016083949.GA6748@redhat.com> <4AD834B5.4090808@apache.org> <20091016090105.GA6977@redhat.com> <4AD83A1D.5030208@apache.org> <20091016092159.GA7404@redhat.com> <4AD87183.40601@apache.org> From: Jonathan Leffler Date: Fri, 16 Oct 2009 07:41:26 -0700 Message-ID: <844b8e1c0910160741o759daebem1de9ba7ea3d055dc@mail.gmail.com> Subject: Re: Crash in apr_file_close() (Linux) To: "Yuri V. Vishnevskiy" Cc: Mladen Turk , dev@apr.apache.org Content-Type: multipart/alternative; boundary=001636c597c3328de204760e65a1 --001636c597c3328de204760e65a1 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Oct 16, 2009 at 7:31 AM, Yuri V. Vishnevskiy < yuri.vishnevskiy@gmail.com> wrote: > This is related with another my problem. If I close stdout by > apr_file_close, then the standard printf and fprintf(stdout, ) functions are > no more working. > I've tested this on Windows and Linux. > If you close standard output, functions that write to standard output should not succeed - there is nowhere for the information to go. That is (or, IMO, should be) expected behaviour. -- Jonathan Leffler #include Guardian of DBD::Informix - v2008.0513 - http://dbi.perl.org "Blessed are we who can laugh at ourselves, for we shall never cease to be amused." --001636c597c3328de204760e65a1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Fri, Oct 16, 2009 at 7:31 AM, Yuri V. Vis= hnevskiy <yuri.vishnevskiy@gmail.com> wrote:
This is related with another my problem. If I close stdout by apr_file_clos= e, then the standard printf and fprintf(stdout, ) functions are no more wor= king.
I've tested this on Windows and Linux.

If you = close standard output, functions that write to standard output should not s= ucceed - there is nowhere for the information to go.=A0 That is (or, IMO, s= hould be) expected behaviour.

--
Jonathan Leffler <jonathan.leffler@gmail.com> =A0#include <disclaime= r.h>
Guardian of DBD::Informix - v2008.0513 - http://dbi.perl.org
"Blessed are we who can laugh at ourselves, for we shall never cease t= o be amused."
--001636c597c3328de204760e65a1--