Re: realpath.3 wording
Martin Husemann <[email protected]> Mon, 20 Feb 2017 15:05:40 +0100
| Newsgroups | gmane.os.netbsd.documentation |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Feb 20, 2017 at 03:02:49PM +0100, Timo Buhrmester wrote: > > If an error occurs, realpath() returns NULL, > > and resolvedname was not allocated by realpath(), > > it will contain the pathname which caused the problem. > Had to read it thrice before it made sense. Maybe this is slightly better: > > --- lib/libc/gen/realpath.3.orig > +++ lib/libc/gen/realpath.3 > @@ -88,8 +88,8 @@ on success. > If an error occurs, > .Fn realpath > returns > -.Dv NULL , > -and > +.Dv NULL ; > +if You mean "is" ? Martin