public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: middle-end/7898: [Sparc] readdir_r gives bad results with gcc-3.1 and 3.2
@ 2003-04-28 20:26 Danny Sadinoff
0 siblings, 0 replies; 2+ messages in thread
From: Danny Sadinoff @ 2003-04-28 20:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR middle-end/7898; it has been noted by GNATS.
From: Danny Sadinoff <danny@sadinoff.com>
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: middle-end/7898: [Sparc] readdir_r gives bad results with gcc-3.1 and 3.2
@ 2003-04-28 18:05 ehrhardt
0 siblings, 0 replies; 2+ messages in thread
From: ehrhardt @ 2003-04-28 18:05 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, sadinoff
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-28 20:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-28 20:26 middle-end/7898: [Sparc] readdir_r gives bad results with gcc-3.1 and 3.2 Danny Sadinoff
-- strict thread matches above, loose matches on Subject: below --
2003-04-28 18:05 ehrhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).