NetBSD-Docs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: realpath.3 wording
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
Home |
Main Index |
Thread Index |
Old Index