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

Eli Zaretskii
2001-05-14T23:19:00Z

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?