diff options
author | Jim Meyering <jim@meyering.net> | 2004-10-18 08:59:12 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-10-18 08:59:12 +0000 |
commit | e302d384211ce08aeb5f6ad0b222ec706bea4468 (patch) | |
tree | 3cf92d7c5733b4f7bd311788420e89a923337c49 /aclocal.m4 | |
parent | 35abc478c609f847a7533796d0bafc98808396d5 (diff) | |
download | coreutils-e302d384211ce08aeb5f6ad0b222ec706bea4468.tar.xz |
Plug a leak that would cause rm or a cross-device mv to fail when
operating on too many command-line-specified nonempty directories.
(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
Diffstat (limited to 'aclocal.m4')
0 files changed, 0 insertions, 0 deletions