Merge from gnulib
This incorporates: 2017-07-30 Don't interpret EOVERFLOW to mean nonexistence * lib/tempname.c: Copy from gnulib.
This commit is contained in:
parent
dcfcaf40d5
commit
ebce9c2440
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue