From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5929 invoked by alias); 13 Mar 2014 16:30:38 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 5862 invoked by uid 48); 13 Mar 2014 16:30:34 -0000 From: "eblake at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug stdio/11216] fmemopen returns NULL when len=0 Date: Thu, 13 Mar 2014 16:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: stdio X-Bugzilla-Version: 2.10 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eblake at redhat dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-03/txt/msg00090.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=11216 --- Comment #10 from Eric Blake --- Hooray! POSIX relaxed their spec today. Unless objections are raised before the 30-day review completes, the pre-POSIX behavior of treating a 0 length buffer as a valid empty file similar to /dev/null is now permitted for Issue 7, and future directions says it will probably even be required in Issue 8. -- You are receiving this mail because: You are on the CC list for the bug.