History log of /external/toybox/toys/lsb/mktemp.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
128928f123d7192d07538d6ea6bbda2b1a75fd5b 12-Mar-2015 Rob Landley <rob@landley.net> Fix mktemp when TMPDIR is set to empty string, reported by Kylie McClain.
/external/toybox/toys/lsb/mktemp.c
67d9ea5a81c8083875ac7420d7e6a62766b48b6f 12-Feb-2015 Rob Landley <rob@landley.net> Fix bug introduced by last commit (print template instead of toybuf).

Also, xstrdup() the unmodified template because changing the environment string
could make the changed version show up in "ps".
/external/toybox/toys/lsb/mktemp.c
b2bb6e65f3461d1dfdcd3614c3c63f7a1453840b 12-Feb-2015 Rob Landley <rob@landley.net> Only apply mktemp directory to targets that aren't already paths.
/external/toybox/toys/lsb/mktemp.c
ca6a91063d241d48a5c83f9042ed370e3918b639 11-Feb-2015 Rob Landley <rob@landley.net> Fix longopts (pointed out by Hyejin Kim).
/external/toybox/toys/lsb/mktemp.c
6434acef74318e8c3f7e68f4513112b95d2979e8 08-Feb-2015 Rob Landley <rob@landley.net> Shameless meddling.
/external/toybox/toys/lsb/mktemp.c
831a085a8d36cfb4fa064bdddb6bd0a434d4b3e1 08-Feb-2015 Elliot Hughes <enh@google.com> Use $TMPDIR if set (necessary on Android, where there is no /tmp).
Include full template in error messages.
Don't report success on failure with -q.
Avoid unnecessary allocation.
Fix "xxxxxx" versus "XXXXXX" confusion.
/external/toybox/toys/lsb/mktemp.c
59d85e2bb065a3bdc27868acb7a65f89d872c7fa 16-Jan-2014 Rob Landley <rob@landley.net> Rename xmsprintf() to just xmprintf().

Partly because there's no supplied target string ala sprintf, and partly
because I can never remember what order the m and s go in.
/external/toybox/toys/lsb/mktemp.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/lsb/mktemp.c
c0e56edaf256adb6c60c5a052525a1ffbb927901 08-Oct-2012 Rob Landley <rob@landley.net> 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.
/external/toybox/toys/lsb/mktemp.c
b0e87ff287ca6938b9450a61cb6134fba6309b37 04-Sep-2012 Rob Landley <rob@landley.net> 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.
/external/toybox/toys/lsb/mktemp.c
f91b7c89bc852868692b9518185421ebb52d67b3 26-Aug-2012 Rob Landley <rob@landley.net> Regularize command headers, update links to standards documents.
/external/toybox/toys/lsb/mktemp.c
3a9241add947cb6d24b5de7a8927517426a78795 25-Aug-2012 Rob Landley <rob@landley.net> Move commands into "posix", "lsb", and "other" menus/directories.
/external/toybox/toys/lsb/mktemp.c