X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fargp.h;h=f06542aeb576c59dff711270b3622b53557db360;hb=ecbe47ca1c551b24c8a4d7309daba56006956849;hp=0c65a4cbd309eaf21be5062dad2a4b693ca33470;hpb=f301aec3d6159f844a36ae18326d2cc86447d894;p=gnulib.git diff --git a/lib/argp.h b/lib/argp.h index 0c65a4cbd..f06542aeb 100644 --- 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, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _ARGP_H #define _ARGP_H @@ -23,6 +23,7 @@ #include #include #include +#include #define __need_error_t #include @@ -579,7 +580,7 @@ __NTH (__option_is_short (__const struct argp_option *__opt)) else { int __key = __opt->key; - return __key > 0 && isprint (__key); + return __key > 0 && __key <= UCHAR_MAX && isprint (__key); } }