[U-Boot] [PATCH] Avoid using GNU basename
Wolfgang Denk
wd at denx.de
Sat Mar 3 17:06:46 CET 2012
Dear Keith,
please keep the mailing list on Cc:
In message <CAHjoi4eRTxXJKwg_XsEvtELNQmDzfqHzZiRO=MY-jfVYvDUrgA at mail.gmail.com> you wrote:
>
> > I'm not a windows expert (actually I'm proud of never having worked
> > with Windows in my whole life), but I think it is only the command
> > line interface that insists of using '\\' (because DOS used '/' as
> > option switch).
> So should we stick on using libgen provided basename to maximize the
> compatibility of different platforms ?
I don't think so. As the comment in "/usr/include/libgen.h" suggests,
we should use "the weird XPG version of this function" only when
really needed. And we definitely don;t need to do that on GNU/Linux
systems.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Hindsight is an exact science.
More information about the U-Boot
mailing list