[Toybox] [PATCH] lsb/mktemp: Add -u flag

Kylie McClain somasissounds at gmail.com
Wed Dec 23 21:26:43 PST 2015


The -u flag creates a file, and unlinks it before exiting.
This is usually known as "unsafe mode", or "dry-run" mode.

GNU mktemp has it, as does Busybox's mktemp and likely many others.

---
 toys/lsb/mktemp.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lsb-mktemp-Add-u-flag.patch
Type: application/octet-stream
Size: 1712 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20151224/e545e376/attachment-0002.obj>


More information about the Toybox mailing list