aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2013-07-18 01:35:27 -0700
committerPaul Eggert2013-07-18 01:35:27 -0700
commitef30e6382ab0a40bbea9360555e73e1e7f27dc6f (patch)
tree4ce292eaafaec65ce86d6cc494fab321f6ebcd3c /src/ChangeLog
parentf4b1eb36186a2f873d84d4c089292f9fb0394d31 (diff)
downloademacs-ef30e6382ab0a40bbea9360555e73e1e7f27dc6f.tar.gz
emacs-ef30e6382ab0a40bbea9360555e73e1e7f27dc6f.zip
* term.c: Fix minor fdopen-related file descriptor leaks.
* term.c (Fresume_tty) [!MSDOS]: Close fd if fdopen (fd) fails. (init_tty) [!DOS_NT]: Likewise. Also close fd if isatty (fd) fails.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 3f667a7bcc7..6c9cfaa7412 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
12013-07-18 Paul Eggert <eggert@cs.ucla.edu> 12013-07-18 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * term.c: Fix minor fdopen-related file descriptor leaks.
4 * term.c (Fresume_tty) [!MSDOS]: Close fd if fdopen (fd) fails.
5 (init_tty) [!DOS_NT]: Likewise. Also close fd if isatty (fd) fails.
6
3 * charset.c: Fix file descriptor leaks and errno issues. 7 * charset.c: Fix file descriptor leaks and errno issues.
4 Include <errno.h>. 8 Include <errno.h>.
5 (load_charset_map_from_file): Don't leak file descriptor on error. 9 (load_charset_map_from_file): Don't leak file descriptor on error.