From 679ce113e4774501f327737679d97a26b9a0b533 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 27 Jun 2004 09:41:46 +0000 Subject: [PATCH] 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. --- NEWS | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.47.3