diff options
author | Dan Hipschman <dsh@linux.ucla.edu> | 2007-01-19 23:03:18 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-01-19 23:03:18 +0100 |
commit | e175f0d5b2fe8e46409a60472a90fc9ee3ec605b (patch) | |
tree | 3f89bf46c05493200a07c258bf151f9686eb2731 /ChangeLog | |
parent | fd77348fefb4d834e6945ee11190ce7b4a9224a1 (diff) | |
download | coreutils-e175f0d5b2fe8e46409a60472a90fc9ee3ec605b.tar.xz |
* src/sort.c (cleanup): Clear temphead at the end.
(exit_cleanup): New function.
(main): Don't invoke atexit until we're ready.
Invoke it with exit_cleanup, not with cleanup and close_stdout,
to avoid a race condition with cleanup and signal handling. More
details: http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/9508
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2007-01-19 Dan Hipschman <dsh@linux.ucla.edu> + and Paul Eggert <eggert@cs.ucla.edu> + + * src/sort.c (cleanup): Clear temphead at the end. + (exit_cleanup): New function. + (main): Don't invoke atexit until we're ready. + Invoke it with exit_cleanup, not with cleanup and close_stdout, + to avoid a race condition with cleanup and signal handling. More + details: http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/9508 + 2007-01-18 Jim Meyering <jim@meyering.net> * src/c99-to-c89.diff: Adjust remove.c offsets. |