/[inetutils]/inetutils/lib/argp.h
ViewVC logotype

Diff of /inetutils/lib/argp.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ams, Fri Jan 21 13:02:48 2005 UTC revision 1.2 by gray, Fri Jul 29 10:52:43 2005 UTC
# Line 15  Line 15 
15    
16     You should have received a copy of the GNU General Public License along     You should have received a copy of the GNU General Public License along
17     with this program; if not, write to the Free Software Foundation,     with this program; if not, write to the Free Software Foundation,
18     Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */     Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
19    
20  #ifndef _ARGP_H  #ifndef _ARGP_H
21  #define _ARGP_H  #define _ARGP_H
# Line 23  Line 23 
23  #include <stdio.h>  #include <stdio.h>
24  #include <ctype.h>  #include <ctype.h>
25  #include <getopt.h>  #include <getopt.h>
26    #include <limits.h>
27    
28  #define __need_error_t  #define __need_error_t
29  #include <errno.h>  #include <errno.h>
# Line 579  __NTH (__option_is_short (__const struct Line 580  __NTH (__option_is_short (__const struct
580    else    else
581      {      {
582        int __key = __opt->key;        int __key = __opt->key;
583        return __key > 0 && isprint (__key);        return __key > 0 && __key <= UCHAR_MAX && isprint (__key);
584      }      }
585  }  }
586    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26