summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2014-06-11 11:28:03 +0200
committerBernhard Voelker <mail@bernhard-voelker.de>2014-06-11 15:48:39 +0200
commit15d092f94a3abd4ba328a9c9ac4531320ec381ec (patch)
treeb8576eca8ea89b2286402fb1123da2130b2ba1a4 /NEWS
parent696f539e62557984f303e790df9a463d41ebf22a (diff)
downloadcoreutils-15d092f94a3abd4ba328a9c9ac4531320ec381ec.tar.xz
install: allow options -D and -t to be used together
* src/install.c (install_file_in_file_parents): Factor out the creation of any parent directories into ... (mkancesdirs_safe_wd): ... this new function. (install_file_in_dir): Add the parameter 'mkdir_and_install', and call the above new function if it evaluates to true. (main): During parsing of the -t option, move the check whether the target_directory exists down after the option parsing loop, and do not complain about stat(optarg,...) failing if -D was given. Pass 'mkdir_and_install' to install_file_in_dir(). * doc/coreutils.texi (install invocation): Remove the (false) restriction that -D would be ignored together with -t. Instead, clarify install's new bahavior. Fix the node's reference in the top-level @direntry for consistency. * src/install/basic-1.sh: Add tests for the now-allowed combination of the -D and -t options. * NEWS: Mention the improvement.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index fa1aab8d5..2f43da60c 100644
--- a/NEWS
+++ b/NEWS
@@ -104,6 +104,8 @@ GNU coreutils NEWS -*- outline -*-
causing name look-up errors. Also look-ups are first done outside the chroot,
in case the look-up within the chroot fails due to library conflicts etc.
+ install now allows the combination of the -D and -t options.
+
numfmt supports zero padding of numbers using the standard printf
syntax of a leading zero, for example --format="%010f".
Also throughput was improved by up to 800% by avoiding redundant processing.