Re: [U-Boot] [PATCH] Avoid using GNU basename

3 Mar
2012
3 Mar
'12
5:06 p.m.
Dear Keith,
please keep the mailing list on Cc:
In message CAHjoi4eRTxXJKwg_XsEvtELNQmDzfqHzZiRO=MY-jfVYvDUrgA@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@denx.de
Hindsight is an exact science.
4813
Age (days ago)
4813
Last active (days ago)
0 comments
1 participants
participants (1)
-
Wolfgang Denk