summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-seq.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-10-12 17:52:01 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-10-12 17:52:01 -0700
commitd6453ce49724b0a3bd24922ff0ad02f391d6e517 (patch)
tree655b2ca5f792dc2058ad731a4c1bb5af89163b28 /lisp/emacs-lisp/cl-seq.el
parent06485aa8215af39f9f5f999933aa39d349a2bdf9 (diff)
downloademacs-d6453ce49724b0a3bd24922ff0ad02f391d6e517.tar.gz
emacs-d6453ce49724b0a3bd24922ff0ad02f391d6e517.tar.bz2
emacs-d6453ce49724b0a3bd24922ff0ad02f391d6e517.zip
Fix some stat-related races.
* fileio.c (Fwrite_region): Avoid race condition if a file is removed or renamed by some other process immediately after Emacs writes it but before Emacs stats it. Do not assume that stat (or fstat) succeeds. * image.c (slurp_file): Resolve the file name with fopen + fstat rather than stat + fopen. (pbm_read_file) [0]: Remove unused code with stat race. * process.c (allocate_pty) [HAVE_PTYS && !PTY_ITERATION && !PTY_OPEN]: Remove ineffective code with stat race.
Diffstat (limited to 'lisp/emacs-lisp/cl-seq.el')
0 files changed, 0 insertions, 0 deletions