aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/gnulib.mk.in4
-rw-r--r--lib/tempname.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/gnulib.mk.in b/lib/gnulib.mk.in
index 3e57391372a..a385c8c8384 100644
--- a/lib/gnulib.mk.in
+++ b/lib/gnulib.mk.in
@@ -21,7 +21,7 @@
21# the same distribution terms as the rest of that program. 21# the same distribution terms as the rest of that program.
22# 22#
23# Generated by gnulib-tool. 23# Generated by gnulib-tool.
24# Reproduce by: gnulib-tool --import --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=close --avoid=dup --avoid=fchdir --avoid=fstat --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow --avoid=open --avoid=openat-die --avoid=opendir --avoid=raise --avoid=save-cwd --avoid=select --avoid=setenv --avoid=sigprocmask --avoid=stat --avoid=stdarg --avoid=stdbool --avoid=threadlib --avoid=tzset --avoid=unsetenv --avoid=utime --avoid=utime-h --gnu-make --makefile-name=gnulib.mk.in --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt binary-io byteswap c-ctype c-strcase careadlinkat close-stream count-leading-zeros count-one-bits count-trailing-zeros crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 diffseq dtoastr dtotimespec dup2 environ execinfo explicit_bzero faccessat fcntl fcntl-h fdatasync fdopendir filemode filevercmp flexmember fstatat fsync getloadavg getopt-gnu gettime gettimeofday gitlog-to-changelog ignore-value intprops largefile lstat manywarnings memrchr minmax mkostemp mktime nstrftime pipe2 pselect pthread_sigmask putenv qcopy-acl readlink readlinkat sig2str socklen stat-time std-gnu11 stdalign stddef stdio stpcpy strtoimax symlink sys_stat sys_time time time_r time_rz timegm timer-time timespec-add timespec-sub unlocked-io update-copyright utimens vla warnings 24# Reproduce by: gnulib-tool --import --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=close --avoid=dup --avoid=fchdir --avoid=fstat --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow --avoid=open --avoid=openat-die --avoid=opendir --avoid=raise --avoid=save-cwd --avoid=select --avoid=setenv --avoid=sigprocmask --avoid=stat --avoid=stdarg --avoid=stdbool --avoid=threadlib --avoid=tzset --avoid=unsetenv --avoid=utime --avoid=utime-h --gnu-make --makefile-name=gnulib.mk.in --conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files alloca-opt binary-io byteswap c-ctype c-strcase careadlinkat close-stream count-leading-zeros count-one-bits count-trailing-zeros crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 d-type diffseq dtoastr dtotimespec dup2 environ execinfo explicit_bzero faccessat fcntl fcntl-h fdatasync fdopendir filemode filevercmp flexmember fstatat fsync getloadavg getopt-gnu gettime gettimeofday gitlog-to-changelog ignore-value intprops largefile lstat manywarnings memrchr minmax mkostemp mktime nstrftime pipe2 pselect pthread_sigmask putenv qcopy-acl readlink readlinkat sig2str socklen stat-time std-gnu11 stdalign stddef stdio stpcpy strtoimax symlink sys_stat sys_time time time_r time_rz timegm timer-time timespec-add timespec-sub unlocked-io update-copyright utimens vla warnings
25 25
26 26
27MOSTLYCLEANFILES += core *.stackdump 27MOSTLYCLEANFILES += core *.stackdump
@@ -546,8 +546,6 @@ LD_SWITCH_SYSTEM_TEMACS = @LD_SWITCH_SYSTEM_TEMACS@
546LD_SWITCH_X_SITE = @LD_SWITCH_X_SITE@ 546LD_SWITCH_X_SITE = @LD_SWITCH_X_SITE@
547LD_SWITCH_X_SITE_RPATH = @LD_SWITCH_X_SITE_RPATH@ 547LD_SWITCH_X_SITE_RPATH = @LD_SWITCH_X_SITE_RPATH@
548LIBGIF = @LIBGIF@ 548LIBGIF = @LIBGIF@
549LIBGNUTLS3_CFLAGS = @LIBGNUTLS3_CFLAGS@
550LIBGNUTLS3_LIBS = @LIBGNUTLS3_LIBS@
551LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ 549LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@
552LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ 550LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@
553LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@ 551LIBGNU_LIBDEPS = @LIBGNU_LIBDEPS@
diff --git a/lib/tempname.c b/lib/tempname.c
index 2cd90328bda..9c4a3c2a54d 100644
--- a/lib/tempname.c
+++ b/lib/tempname.c
@@ -279,7 +279,7 @@ try_nocreate (char *tmpl, void *flags _GL_UNUSED)
279{ 279{
280 struct_stat64 st; 280 struct_stat64 st;
281 281
282 if (__lxstat64 (_STAT_VER, tmpl, &st) == 0) 282 if (__lxstat64 (_STAT_VER, tmpl, &st) == 0 || errno == EOVERFLOW)
283 __set_errno (EEXIST); 283 __set_errno (EEXIST);
284 return errno == ENOENT ? 0 : -1; 284 return errno == ENOENT ? 0 : -1;
285} 285}