From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 03 Mar 2012 17:06:46 +0100 Subject: [U-Boot] [PATCH] Avoid using GNU basename In-Reply-To: References: <20120302071610.820A8185B4B9@gemini.denx.de> <20120302164219.CEE7D14BC60D@gemini.denx.de> Message-ID: <20120303160646.9A30D126F3B0@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Keith, please keep the mailing list on Cc: In message 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.