From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13464 invoked by alias); 28 Apr 2003 20:26:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 13450 invoked by uid 71); 28 Apr 2003 20:26:01 -0000 Date: Mon, 28 Apr 2003 20:26:00 -0000 Message-ID: <20030428202601.13449.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Danny Sadinoff Subject: Re: middle-end/7898: [Sparc] readdir_r gives bad results with gcc-3.1 and 3.2 Reply-To: Danny Sadinoff X-SW-Source: 2003-04/txt/msg01278.txt.bz2 List-Id: The following reply was made to PR middle-end/7898; it has been noted by GNATS. From: Danny Sadinoff To: ehrhardt@mathematik.uni-ulm.de, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: middle-end/7898: [Sparc] readdir_r gives bad results with gcc-3.1 and 3.2 Date: Mon, 28 Apr 2003 16:25:16 -0400 Oh. Boy, that's egg on my face. Thanks for taking the time. On Mon, Apr 28, 2003 at 06:05:22PM -0000, ehrhardt@mathematik.uni-ulm.de wrote: > Synopsis: [Sparc] readdir_r gives bad results with gcc-3.1 and 3.2 > > State-Changed-From-To: open->closed > State-Changed-By: cae > State-Changed-When: Mon Apr 28 18:05:22 2003 > State-Changed-Why: > This is a user error. readdir_r expects a struct dirent with at least > NAME_MAX+1 characters allocated for d_name. However, declaring a normal > struct dirent will only give you only a single byte. > Besides none of this is under the control of gcc. > > regards Christian > > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7898 >