[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: buffer write bug in mg

> >      Other vendor implementations of basename() may modify the contents of the
> >      string passed to basename(); this should be taken into account when writ-
> >      ing code which calls this function if portability is desired.
> Given that at least one vendor does implement it, maybe make the
> clause "less" conditional?  Other implementation *do* modify the
> contents ...

And you're volunteering to scan these other implementations for
changes on a regular basis, and update the manpage accordingly should
they ever wisen up?

This is the same warning text you find in POSIX. It is completely
accurate. (Doubly so since the other implementation you are speaking
of offers a choice of which implementation to use.)


Visit your host, monkey.org