Update on bugzilla stuff

Daniel Berlin dan@cgsoftware.com
Tue Jan 1 21:00:00 GMT 2002


On Tue, 1 Jan 2002, Richard Henderson wrote:

> On Tue, Jan 01, 2002 at 07:21:08PM -0500, Daniel Berlin wrote:
> > for (p = str; *p != ';' && *p; *p++);
> > if (!*p)
> > 	return 0;
> 
> Perhaps
> 
>   if (strchr (str, ';') == NULL)
>     return 0;
> 

To give you some idea how ugly the links code is, doing it this way would 
look *very* weird in the context, because the entire function, and in 
fact, all of links, is written  with this type of crap (WHITECHARS should 
have been isspace, instead it checks for char == 9 || char == 10 || etc).

--Dan



More information about the Gcc mailing list