From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1019 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.linux.lib.musl.general Subject: Re: printf POSIX compliance Date: Fri, 8 Jun 2012 17:46:10 +0100 Message-ID: References: <20120608144423.GN163@brightrain.aerifal.cx> <20120608145519.GP163@brightrain.aerifal.cx> <20120608150618.GB17860@port70.net> <4FD22C6C.5040704@barfooze.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1339173988 7634 80.91.229.3 (8 Jun 2012 16:46:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2012 16:46:28 +0000 (UTC) Cc: musl@lists.openwall.com, Szabolcs Nagy To: John Spencer Original-X-From: musl-return-1020-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jun 08 18:46:27 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Sd2KN-00028o-NM for gllmg-musl@plane.gmane.org; Fri, 08 Jun 2012 18:46:23 +0200 Original-Received: (qmail 15910 invoked by uid 550); 8 Jun 2012 16:46:23 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 15902 invoked from network); 8 Jun 2012 16:46:23 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=coIKpRgjCZb00SGakVID5TLAPzq6Hc/sidO3LPjVa58=; b=PGXtuSCJoT1YVmmAgAR5wvFO2+iNrRk/MU8FBTzbdVu6gTvgS7cvj7tr8G+5hDTLjO Bk6EcNglpPuXzvwP+Bkbe/2VKHGimaM0xLaoGM1szflJqXv48dzVTl+Ixysx+xpxWJ6R 9T8yHxktwD9i4pr70dYSZtBLjdSr+zwAr4YlWB172N9AIyoMhD0xYsKns/tbGURuOY9A RDBG6takPT5tYHpfyDrswIpM6ntOm/1ynhyDH1Mj2AxNH5uXRTd0bcsJCsK9QjKVfNqq pkvYxMRaqTMcmp4RJO8MSy72AS6DpMnaQHMdvNiLIIa042ff15TPzR8309dgTIOJzrRE 546g== In-Reply-To: <4FD22C6C.5040704@barfooze.de> X-Gm-Message-State: ALoCoQmZilx6tgx5wBDQy3JT//w4m8AfOYC+2BQjXzYCLXe1oxijG9YyXgKz9BXjAcLibcVKcDZK Xref: news.gmane.org gmane.linux.lib.musl.general:1019 Archived-At: On 8 June 2012 17:46, John Spencer wrote: > > this is bogus, according to Rich: > "all files are closed when a process terminates normally/calls exit. > =A0if you want to report write failures, just fflush(stdout) before exit = and > check the return value" Jim Meyering has an analysis of the problem here: http://www.gnu.org/ghm/2011/paris/#sec-2-1 > gnulib is simply a huge pile of junk... Like the stdout problem, it's not that simple! gnulib has many enthusiastic users, myself included, because it solves many portability problems and adds much useful functionality. Thanks to gnulib I was able to remove a total of about 1,000 lines of code from GNU Zile. I have not heard a single complaint from users, so I guess no-one tried to build it with musl. However, I have had success stories from users building on far-out platforms like DOS, and I've had far fewer bug reports on platforms I don't use since I started using gnulib. So, please file bug reports rather than insults! gnulib has receptive and active maintainers, and we'll all benefit much more from fixed software than from merely venting frustration. As regards the particular problem with freadahead, looking at the code suggests a workaround of -DSLOW_BUT_NO_HACKS to avoid trying to build the FILE-fiddling code. --=20 http://rrt.sc3d.org