From: Jim Meyering Date: Sun, 27 Jun 2004 09:41:46 +0000 (+0000) Subject: Fix a bug: formerly, if d/x was a directory and x a file, "ln x X-Git-Tag: v5.3.0~1244 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=679ce113e4774501f327737679d97a26b9a0b533;p=thirdparty%2Fcoreutils.git Fix a bug: formerly, if d/x was a directory and x a file, "ln x d/" incorrectly created a link d/x/x. It also saves some system calls. Document the fix. --- diff --git a/NEWS b/NEWS index edcd3687cb..b92dc6e330 100644 --- a/NEWS +++ b/NEWS @@ -42,6 +42,9 @@ GNU coreutils NEWS -*- outline -*- when first encountering a directory, `rm -r' would mistakenly fail to remove files under that directory. + If d/x is a directory and x a file, "ln x d/" now reports an error + instead of incorrectly creating a link to d/x/x. + ptx now diagnoses invalid values for its --width=N (-w) and --gap-size=N (-g) options.