touch: remove support for --file=REF_FILE option
authorJim Meyering <meyering@redhat.com>
Wed, 2 Jun 2010 14:23:41 +0000 (16:23 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 2 Jun 2010 15:14:10 +0000 (17:14 +0200)
commitd5a5d8309433e8393bce62c3c5e100919cb505eb
tree31829ec875fb6fb4da2a018d1e7cdd055ef55623
parentc0cfa0defe06fa750530f08d6e0a54521f83292d
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.
NEWS
THANKS
src/touch.c