summaryrefslogtreecommitdiff
path: root/lib/argp-namefrob.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-04-03 16:37:13 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-04-03 16:39:36 -0700
commit14a582531cef13c855c9e9638aac630c0a43ae37 (patch)
tree2f5dd4f84d1e5a1cd060f25f41e18ddf474c2e6e /lib/argp-namefrob.h
parentd95b819f463306955c4bc21f78257c07ba985ed8 (diff)
downloadgnulib-14a582531cef13c855c9e9638aac630c0a43ae37.tar.gz
argp: merge changes from glibc
Among other things, this should fix problems found by a Coverity scan and reported by Andrei Borzenkov: http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00015.html http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00016.html * lib/argp-ba.c, lib/argp-fmtstream.c, lib/argp-fmtstream.h: * lib/argp-fs-xinl.c, lib/argp-help.c, lib/argp-namefrob.h: * lib/argp-parse.c, lib/argp-pv.c, lib/argp-pvh.c, lib/argp-xinl.c: * lib/argp.h: Merge changes from glibc. * tests/test-argp-2.sh: Adjust to match new behavior.
Diffstat (limited to 'lib/argp-namefrob.h')
-rw-r--r--lib/argp-namefrob.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/argp-namefrob.h b/lib/argp-namefrob.h
index c3be636bd5..b4db71280e 100644
--- a/lib/argp-namefrob.h
+++ b/lib/argp-namefrob.h
@@ -1,5 +1,5 @@
/* Name frobnication for compiling argp outside of glibc
- Copyright (C) 1997, 2003, 2007, 2009-2016 Free Software Foundation, Inc.
+ Copyright (C) 1997-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Miles Bader <miles@gnu.ai.mit.edu>.
@@ -138,7 +138,7 @@
#endif /* !_LIBC */
#ifndef __set_errno
-# define __set_errno(e) (errno = (e))
+#define __set_errno(e) (errno = (e))
#endif
#if defined GNULIB_ARGP_DISABLE_DIRNAME