Commit History

Author SHA1 Message Date
  Rob Landley 0dedd13253 Allow --tmpdir's argument to be optional. 4 years ago
  Rob Landley 1bc733dea9 Fix mktemp to pass tests. 5 years ago
  Elliott Hughes a6ec1d989b mktemp: more tests, more fixes. 5 years ago
  Elliott Hughes 87c0214c49 mktemp: fix warning with glibc 2.15. 5 years ago
  Elliott Hughes 40a09367f6 mktemp: add -t and fix behavior. 5 years ago
  Rob Landley 503e636229 Convert more GLOBALS argument vars to the new single letter code style. 5 years ago
  Rob Landley 4ff9295f46 Don't let mktemp -q /path/to/file delete arbitrary files, and don't have 8 years ago
  Kylie McClain 46ddb55207 lsb/mktemp: Add -u flag 8 years ago
  Rob Landley 128928f123 Fix mktemp when TMPDIR is set to empty string, reported by Kylie McClain. 9 years ago
  Rob Landley 67d9ea5a81 Fix bug introduced by last commit (print template instead of toybuf). 9 years ago
  Rob Landley b2bb6e65f3 Only apply mktemp directory to targets that aren't already paths. 9 years ago
  Rob Landley ca6a91063d Fix longopts (pointed out by Hyejin Kim). 9 years ago
  Rob Landley 6434acef74 Shameless meddling. 9 years ago
  Elliot Hughes 831a085a8d Use $TMPDIR if set (necessary on Android, where there is no /tmp). 9 years ago
  Rob Landley 59d85e2bb0 Rename xmsprintf() to just xmprintf(). 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 b0e87ff287 mktemp broke kernel build, so new rules: if you don't specify anything, /tmp/tmp.* Specify a file, ./file. Specify -p dir then dir/tmp.*. Specify -p dir and file, dir/file. Also implement -q which lsb wants. 12 years ago
  Rob Landley f91b7c89bc Regularize command headers, update links to standards documents. 12 years ago
  Rob Landley 3a9241add9 Move commands into "posix", "lsb", and "other" menus/directories. 12 years ago