This is a discussion on Re: isspace, isdigit, isalnum, isblank, isgraph, islower, isprint usage within the mailing.openbsd.tech forums, part of the OpenBSD category; --> On 11/12/06, Charles Longeau <chl@tuxfamily.org> wrote: ================================================== ================= > RCS file: /cvs/src/usr.bin/vi/common/msg.c,v > retrieving revision 1.16 > diff -u ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On 11/12/06, Charles Longeau <chl@tuxfamily.org> wrote: ================================================== ================= > RCS file: /cvs/src/usr.bin/vi/common/msg.c,v > retrieving revision 1.16 > diff -u -p -r1.16 msg.c > --- usr.bin/vi/common/msg.c 11 Mar 2006 06:58:00 -0000 1.16 > +++ usr.bin/vi/common/msg.c 11 Nov 2006 14:17:54 -0000 > @@ -202,7 +202,7 @@ retry: FREE_SPACE(sp, bp, blen); > ++p; > continue; > } > - for (u = p; *++p != '\0' && isdigit(*p) > + for (u = p; isdigit(*p) > if (*p != '$') > continue; this loop lost its increment. i think i applied everything else. if i missed anything let me know, thanks. |
| Thread Tools | |
| Display Modes | |
|
|