This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


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

Re: [PATCH, RFA] Fix basename bug in symtab.c



On Mon, 14 May 2001, Andrew Cagney wrote:

> Just to be clear on one thing, the bug occures on FreeBSD.  It isn't a 
> FreeBSD bug :-).  To quote the opengroup standard:
> 
> > #include <libgen.h>
> > char *basename(char *path);
> 
> ...
> 
> > The basename() function may modify the string pointed to by path,
> > and may return a pointer to static storage that may then be
> > overwritten by a subsequent call to basename().
> > 
> > This interface need not be reentrant.

Where can I see this standard?


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