468f155ecefec275e6d2299470d35bd912f69a94 |
|
18-Jan-2015 |
Rob Landley <rob@landley.net> |
Lift the basename/libgen.h shenanigans back out of portability.c and make it a static inline in portability.h, and prototype dirname() while we're at it.
/external/toybox/toys/posix/dirname.c
|
de699accf6804e8b1d8042b46c85500ee8c672c6 |
|
31-Dec-2014 |
Rob Landley <rob@landley.net> |
When you include the posix header libgen.h, glibc #defines basename to some random other symbol name (because gnu) and this screws up nontrivial macro expansions of NEWTOY(basename), so work around it in portability.h.
/external/toybox/toys/posix/dirname.c
|
7aa651a6a4496d848f86de9b1e6b3a003256a01f |
|
14-Nov-2012 |
Rob Landley <rob@landley.net> |
Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. The actual code should be the same afterward, this is just cosmetic refactoring.
/external/toybox/toys/posix/dirname.c
|
3a9241add947cb6d24b5de7a8927517426a78795 |
|
25-Aug-2012 |
Rob Landley <rob@landley.net> |
Move commands into "posix", "lsb", and "other" menus/directories.
/external/toybox/toys/posix/dirname.c
|