Michael McConville <[email protected]> writes:

> ok?

Sure.

>
> Index: usr.bin/uniq/uniq.c
> ===================================================================
> RCS file: /cvs/src/usr.bin/uniq/uniq.c,v
> retrieving revision 1.22
> diff -u -p -r1.22 uniq.c
> --- usr.bin/uniq/uniq.c       9 Oct 2015 01:37:09 -0000       1.22
> +++ usr.bin/uniq/uniq.c       2 Nov 2015 17:17:13 -0000
> @@ -214,7 +214,7 @@ obsolete(char *argv[])
>                               return;
>               } else if (ap[1] == '-')
>                       return;
> -             if (!isdigit(ap[1]))
> +             if (!isdigit((unsigned char)ap[1]))
>                       continue;
>               /*
>                * Digit signifies an old-style option.  Malloc space for dash,
>


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to