Author: delphij Date: Sat Feb 20 01:23:15 2010 New Revision: 204107 URL: http://svn.freebsd.org/changeset/base/204107
Log: Treat numbers after [Ee] a positive number rather than an invalid one. Modified: head/usr.bin/seq/seq.c Modified: head/usr.bin/seq/seq.c ============================================================================== --- head/usr.bin/seq/seq.c Sat Feb 20 01:05:30 2010 (r204106) +++ head/usr.bin/seq/seq.c Sat Feb 20 01:23:15 2010 (r204107) @@ -207,7 +207,8 @@ numeric(const char *s) } if (ISEXP((unsigned char)*s)) { s++; - if (ISSIGN((unsigned char)*s)) { + if (ISSIGN((unsigned char)*s) || + isdigit((unsigned char)*s)) { s++; continue; } _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"