From: Jim Meyering Date: Mon, 18 Oct 2004 08:59:17 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v5.3.0~519 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba57edcd43cfa90c074ba48469a609045046722d;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/ChangeLog b/ChangeLog index 4ecfcdd861..02e36626c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,15 @@ * Version 5.3.0. + Plug a leak that would cause rm or a cross-device mv to fail when + operating on too many command-line-specified nonempty directories. + * src/remove.c (remove_dir): Destroy the `struct saved_cwd' on the + top of the stack before returning. This usually closes the file + descriptor that was used to return to the original working directory. + Reported by Cyril Bouthors in + http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/3048 + * NEWS: Mention it here. + * src/pathchk.c (validate_file_name): Give a more descriptive diagnostic when pathconf fails. This also avoids an unwarranted warning from gcc-3.3.5 about a format not being a string literal.