This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: middle-end/7898: [Sparc] readdir_r gives bad results with gcc-3.1 and 3.2


The following reply was made to PR middle-end/7898; it has been noted by GNATS.

From: Danny Sadinoff <danny at sadinoff dot com>
To: ehrhardt at mathematik dot uni-ulm dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org,
  nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot 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 at mathematik dot uni-ulm dot 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
 > 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]