On Fri, Mar 08, 2019 at 06:19:50PM +0100, Sebastian Benoit wrote:
> possibly this sentence comes from a time when dirname and basename shared a
> manpage? basename.3 does not have that sentence.

yes, see rev 1.1 of dirname.3 and rev 1.4 of basename.4 from 1998.

> 
> ok?

OK

> 
> Index: dirname.3
> ===================================================================
> RCS file: /cvs/src/lib/libc/gen/dirname.3,v
> retrieving revision 1.22
> diff -u -p -r1.22 dirname.3
> --- dirname.3 25 Jan 2019 00:19:25 -0000      1.22
> +++ dirname.3 8 Mar 2019 17:18:30 -0000
> @@ -83,7 +83,7 @@ function first appeared in
>  .Sh CAVEATS
>  .Fn dirname
>  returns a pointer to internal static storage space that will be overwritten
> -by subsequent calls (each function has its own separate storage).
> +by subsequent calls.
>  .Pp
>  Other vendor implementations of
>  .Fn dirname
> 

-- 
I'm not entirely sure you are real.

Reply via email to