Unix Technical Forum

Re: isspace, isdigit, isalnum, isblank, isgraph, islower, isprint usage

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:15 AM
Ted Unangst
 
Posts: n/a
Default Re: isspace, isdigit, isalnum, isblank, isgraph, islower, isprint usage

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:31 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com