projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* gc.h, gc-gnulib.c, gc-libgcrypt.c: Use Gc_rc for return types,
[gnulib.git]
/
lib
/
argp.h
diff --git
a/lib/argp.h
b/lib/argp.h
index
0c65a4c
..
f06542a
100644
(file)
--- a/
lib/argp.h
+++ b/
lib/argp.h
@@
-15,7
+15,7
@@
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation,
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation,
- Inc., 5
9 Temple Place - Suite 330, Boston, MA 02111-1307
, USA. */
+ Inc., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
, USA. */
#ifndef _ARGP_H
#define _ARGP_H
#ifndef _ARGP_H
#define _ARGP_H
@@
-23,6
+23,7
@@
#include <stdio.h>
#include <ctype.h>
#include <getopt.h>
#include <stdio.h>
#include <ctype.h>
#include <getopt.h>
+#include <limits.h>
#define __need_error_t
#include <errno.h>
#define __need_error_t
#include <errno.h>
@@
-579,7
+580,7
@@
__NTH (__option_is_short (__const struct argp_option *__opt))
else
{
int __key = __opt->key;
else
{
int __key = __opt->key;
- return __key > 0 && isprint (__key);
+ return __key > 0 &&
__key <= UCHAR_MAX &&
isprint (__key);
}
}
}
}