This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Update on bugzilla stuff
- From: Daniel Berlin <dan at cgsoftware dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, "Joseph S. Myers" <jsm28 at cam dot ac dot uk>, <neil at gcc dot gnu dot org>, <gcc at gcc dot gnu dot org>
- Date: Wed, 2 Jan 2002 00:00:38 -0500 (EST)
- Subject: Re: Update on bugzilla stuff
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