diff options
author | Jim Meyering <meyering@redhat.com> | 2010-06-02 16:23:41 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-06-02 17:14:10 +0200 |
commit | d5a5d8309433e8393bce62c3c5e100919cb505eb (patch) | |
tree | 31829ec875fb6fb4da2a018d1e7cdd055ef55623 /NEWS | |
parent | c0cfa0defe06fa750530f08d6e0a54521f83292d (diff) | |
download | coreutils-d5a5d8309433e8393bce62c3c5e100919cb505eb.tar.xz |
touch: remove support for --file=REF_FILE option
* src/touch.c (main): Remove support for the deprecated, long-named
--file option, which is an alternate name for --reference (-r).
That option was undocumented with the arrival of --reference, in
the 1995-10-29 commit, 8b92864e1d. Since the 2009-02-09 commit,
ed85df444a, use of --file has elicited a warning. Not only was
this code due for removal, but the long-name-use-detecting code
was buggy in that it would use a stale or uninitialized "long_idx",
as reported by Robin H. Johnson in http://bugs.gentoo.org/322421.
* NEWS (Changes in behavior): Mention it.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -14,10 +14,15 @@ GNU coreutils NEWS -*- outline -*- sort -g now uses long doubles for greater range and precision. + touch's --file option is no longer recognized. Use --reference=F (-r) + instead. --file has not been documented for 15 years, and its use has + elicited a warning since coreutils-7.1. + truncate now supports setting file sizes relative to a reference file. Also errors are no longer suppressed for unsupported file types, and relative sizes are restricted to supported file types. + * Noteworthy changes in release 8.5 (2010-04-23) [stable] ** Bug fixes |