diff options
author | Eric Blake <ebb9@byu.net> | 2009-11-04 11:13:39 -0700 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-11-05 07:10:40 -0700 |
commit | 31a9937081dc41a5f8d28d71709204e413e09972 (patch) | |
tree | c8d994de7a8a903ec10a0b427059e6c4acebe615 /NEWS | |
parent | d431c61873753673ad9fcbac90db6db04185e307 (diff) | |
download | coreutils-31a9937081dc41a5f8d28d71709204e413e09972.tar.xz |
mktemp: add suffix handling
Now that mkstemps is supported, we might as well use it.
* src/mktemp.c (TMPDIR_OPTION): New enum value.
(longopts): Add new option.
(usage): Document it.
(count_trailing_X_s): Rename...
(count_consecutive_X_s): ...to this, and add parameter.
(mkstemp_len, mkdtemp_len): Add parameter.
(main): Implement new option.
(AUTHORS): Add myself.
* AUTHORS (mktemp): Likewise.
* tests/misc/mktemp: Test new option.
* doc/coreutils.texi (mktemp invocation): Document it.
* NEWS: Likewise.
Fixes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548316.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -70,6 +70,10 @@ GNU coreutils NEWS -*- outline -*- md5sum --check now also accepts openssl-style checksums. So do sha1sum, sha224sum, sha384sum and sha512sum. + mktemp now accepts the option --suffix to provide a known suffix + after the substitution in the template. Additionally, uses such as + "mktemp fileXXXXXX.txt" are able to infer an appropriate --suffix. + touch now accepts the option --no-dereference (-h), as a means to change symlink timestamps on platforms with enough support. |