Rob Landley
|
039d59d227
Replace various x = x declarations with QUIET macro to shut up gcc.
|
2 years ago |
Rob Landley
|
6a73e13d75
Convert more option vars to the new (single letter) coding style.
|
5 years ago |
Alistair Strachan
|
430bf37841
Fix switch_root implementation.
|
9 years ago |
Rob Landley
|
fec3fd1f8a
Move DIRTREE_COMEAGAIN second callback up to when the filehandle is still open, and add dir->again variable to distinguish second call instead of checking for -1 filehandle.
|
10 years ago |
Rob Landley
|
7aa651a6a4
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.
|
11 years ago |
Rob Landley
|
c0e56edaf2
New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
|
11 years ago |
Rob Landley
|
787eac5f1d
Add switch_root and fix infrastructure to understand name "switch_root".
|
11 years ago |