=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/expand/expand.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/expand/expand.c 2009/10/27 23:59:37 1.11 --- src/usr.bin/expand/expand.c 2013/11/26 13:18:55 1.12 *************** *** 1,4 **** ! /* $OpenBSD: expand.c,v 1.11 2009/10/27 23:59:37 deraadt Exp $ */ /* $NetBSD: expand.c,v 1.5 1995/09/02 06:19:46 jtc Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: expand.c,v 1.12 2013/11/26 13:18:55 deraadt Exp $ */ /* $NetBSD: expand.c,v 1.5 1995/09/02 06:19:46 jtc Exp $ */ /* *************** *** 52,58 **** int n; /* handle obsolete syntax */ ! while (argc > 1 && argv[1][0] == '-' && isdigit(argv[1][1])) { getstops(&argv[1][1]); argc--; argv++; } --- 52,59 ---- int n; /* handle obsolete syntax */ ! while (argc > 1 && argv[1][0] == '-' && ! isdigit((unsigned char)argv[1][1])) { getstops(&argv[1][1]); argc--; argv++; }