diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-08-02 01:53:46 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-08-02 01:59:32 -0700 |
commit | 5656492d04aa1a82747ff167d8063bbd7950597e (patch) | |
tree | ce972532a13d221a53596f71400876465976288f /src/filelock.c | |
parent | ae055834a99b26bf46180b6c78fe7ca24b7c8194 (diff) | |
download | emacs-5656492d04aa1a82747ff167d8063bbd7950597e.tar.gz emacs-5656492d04aa1a82747ff167d8063bbd7950597e.tar.bz2 emacs-5656492d04aa1a82747ff167d8063bbd7950597e.zip |
When creating a link, ask only if EEXIST
* src/fileio.c (Fadd_name_to_file, Fmake_symbolic_link):
Ask the user (and unlink and retry) only if link creation fails
with errno == EEXIST. This avoids the need to ask the user for
permission to do an operation that will fail anyway.
Diffstat (limited to 'src/filelock.c')
0 files changed, 0 insertions, 0 deletions