summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-07-18 22:36:50 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2013-07-18 22:36:50 -0700
commitab9980cd3ba7e1cefe846610dccdc86923dcdb86 (patch)
treedb46d81037a960b07d1963cfd9166b8358b0c77d /lisp/emacs-lisp
parent1396ac86dea5fccab800e4b25fdb5319381891eb (diff)
downloademacs-ab9980cd3ba7e1cefe846610dccdc86923dcdb86.tar.gz
emacs-ab9980cd3ba7e1cefe846610dccdc86923dcdb86.tar.bz2
emacs-ab9980cd3ba7e1cefe846610dccdc86923dcdb86.zip
* sysdep.c [GNU_LINUX]: Fix fd and memory leaks and similar issues.
(procfs_ttyname): Don't use uninitialized storage if emacs_fopen or fscanf fails. (system_process_attributes): Prefer plain char to unsigned char when either will do. Clean up properly if interrupted or if memory allocations fail. Don't assume sscanf succeeds. Remove no-longer-needed workaround to stop GCC from whining. Read command-line once, instead of multiple times. Check read status a bit more carefully.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions