This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Update on bugzilla stuff


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;


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]