[PATCH, RFA] Fix basename bug in symtab.c
Eli Zaretskii
eliz@is.elta.co.il
Mon May 14 23:19:00 GMT 2001
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?
More information about the Gdb-patches
mailing list