From: Paul Eggert Date: Wed, 25 Oct 2006 00:35:45 +0000 (+0000) Subject: * doc/autoconf.texi (Limitations of Usual Tools): Document that rm X-Git-Tag: AUTOCONF-2.61~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=935387a0ef31db0cf4c027da982e491b5d34fab9;p=thirdparty%2Fautoconf.git * doc/autoconf.texi (Limitations of Usual Tools): Document that rm needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible. --- diff --git a/ChangeLog b/ChangeLog index cd401c955..2705995ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-24 Paul Eggert + + * doc/autoconf.texi (Limitations of Usual Tools): Document that rm + needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible. + 2006-10-24 Stepan Kasal * tools/trace.at (autoconf --trace: user macros): Test `$%'. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index fb20df0ad..f4b43a802 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -13597,6 +13597,11 @@ This problem no longer exists in Mac OS X 10.4.3. @prindex @command{rm} The @option{-f} and @option{-r} options are portable. +It is not portable to invoke @command{rm} without operands. For +example, on many systems @samp{rm -f -r} (with no other arguments) +silently succeeds without doing anything, but it fails with a diagnostic +on Net@acronym{BSD} 2.0.2. + A file might not be removed even if its parent directory is writable and searchable. Many Posix hosts cannot remove a mount point, a named stream, a working directory, or a last link to a file that is being