On Sat, Dec 30, 2017 at 4:38 PM, Vincent Torri <vincent.to...@gmail.com> 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 linux > basename, should be "usr") > > is it a bug ?
if I strdup the path, then it is correct forget about the noise Vincent Torri ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public