Dear KRONSTORFER Horst, In message <[email protected]> you wrote: > > > > + /* Parse program basename */ > > > + prg = strrchr(argv[0], '/'); > > > + prg = (prg) ? prg + 1 : argv[0]; > > > > Any reason for not using basename() here? > > i'm just used to not using basename() ... do you want an updated patch?
Yes, please. Using available standard functions is always better than reinventing the wheel. 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: [email protected] Unix is supported by IBM, like a hanging man is supported by rope. - Don Libes & Sandy Ressler: _Life With Unix_ _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

