projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcfcaf4
)
Merge from gnulib
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 31 Jul 2017 05:46:58 +0000
(22:46 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 31 Jul 2017 05:47:24 +0000
(22:47 -0700)
This incorporates:
2017-07-30 Don't interpret EOVERFLOW to mean nonexistence
* lib/tempname.c: Copy from gnulib.
lib/tempname.c
patch
|
blob
|
history
diff --git
a/lib/tempname.c
b/lib/tempname.c
index 2cd90328bdaf35603192ea69bc63459f23bb6aa9..9c4a3c2a54dea17ff28142dafecd2133e5d870a2 100644
(file)
--- a/
lib/tempname.c
+++ b/
lib/tempname.c
@@
-279,7
+279,7
@@
try_nocreate (char *tmpl, void *flags _GL_UNUSED)
{
struct_stat64 st;
- if (__lxstat64 (_STAT_VER, tmpl, &st) == 0)
+ if (__lxstat64 (_STAT_VER, tmpl, &st) == 0
|| errno == EOVERFLOW
)
__set_errno (EEXIST);
return errno == ENOENT ? 0 : -1;
}