diff options
| author | Paul Eggert | 2013-07-18 22:36:50 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-07-18 22:36:50 -0700 |
| commit | ab9980cd3ba7e1cefe846610dccdc86923dcdb86 (patch) | |
| tree | db46d81037a960b07d1963cfd9166b8358b0c77d /src/coding.c | |
| parent | 1396ac86dea5fccab800e4b25fdb5319381891eb (diff) | |
| download | emacs-ab9980cd3ba7e1cefe846610dccdc86923dcdb86.tar.gz 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 'src/coding.c')
0 files changed, 0 insertions, 0 deletions