On Sat, Dec 30, 2017 at 4:38 PM, Vincent Torri wrote:
> hello
>
> I tried dirname and basename with all the examples found here :
> https://linux.die.net/man/3/dirname
>
> and with "/usr/" I obtain
> * for dirname : / (wich is correct)
> * for basename : empty string (which is different from lin
On Sat, Dec 30, 2017 at 4:38 PM, Vincent Torri wrote:
> hello
>
> I tried dirname and basename with all the examples found here :
> https://linux.die.net/man/3/dirname
>
> and with "/usr/" I obtain
> * for dirname : / (wich is correct)
> * for basename : empty string (which is different from lin
also for dirname.c, line 74, maybe we should add a test like
(refpath[0]>= 'a' && refpath[0]>= 'z') || (refpath[0]>= 'A' && refpath[0]>= 'Z')
Vincent Torri
On Sat, Dec 30, 2017 at 4:38 PM, Vincent Torri wrote:
> hello
>
> I tried dirname and basename with all the examples found here :
> https:/
hello
I tried dirname and basename with all the examples found here :
https://linux.die.net/man/3/dirname
and with "/usr/" I obtain
* for dirname : / (wich is correct)
* for basename : empty string (which is different from linux
basename, should be "usr")
is it a bug ?
thank you
Vincent Torr