This is the mail archive of the
mailing list for the glibc project.
Re: libc 2.3 and RT signals broken
At Mon, 28 Oct 2002 22:20:45 -0500,
Daniel Jacobowitz wrote:
> > This patch fixes the bug. uname(&name) changes 'struct name'. But
> > evaluation order is not defined (C99 says about in detail), so on i386
> > gcc evaluates '__strverscmp (name.release, "2.1.70") >= 0' in first
> > and name.release has no valid value. Thus this function does not work
> > well.
> > Please apply this patch.
> > Regards,
> > -- gotom
> Um, gotom, did you actually _try_ it? This function is not present in
> _my_ copy of /usr/lib/libc.a, we get the version in sysdeps/generic/
> instead. Which returns 0.
> And C99 says:
> [#1] The following are the sequence points described in
> -- The end of the first operand of the following
> operators: logical AND && (6.5.13); logical OR ||
> (6.5.14); conditional ? (6.5.15); comma , (6.5.17).
> So your patch is unnecessary.
Ah, well you're right. Please just ignore my patch...