[PATCH] BZ# 18125: setcontext: Call exit, not _exit, after last linked context executes.

Andreas Schwab schwab@linux-m68k.org
Sat Mar 14 08:22:00 GMT 2015


"Carlos O'Donell" <carlos@redhat.com> writes:

> +  makecontext (&ctx, (void (*) (void)) cf, 0);

Pointless cast.

> +  if ((ret = setcontext (&ctx)) != 0)

No assignment inside condition.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-alpha mailing list