[klibc] Re: [PATCH] Avoid using dc in git-count-objects

Herbert Xu herbert at gondor.apana.org.au
Sat Oct 29 06:51:49 PDT 2005

On Sat, Oct 29, 2005 at 10:29:53PM +1000, herbert wrote:
> Unfortunately there seems to be something fishy in parameter expansion
> as it fails three regression tests.  I need to look into it.

OK, I've found the problem.  First two failures were harmless as klibc
doesn't have getpwnam so tilde expansion always fails.  The other one
was an off-by-one bug in my stpcpy code.

However, now I'm seeing bogus signal values being passed to my signal
handler.  I'm getting a signal value that's actually my PID.

I suspect this is somehow related to the sa_restorer code in klibc's
sigaction.  What's the i386 breakage that requires this sa_restorer
code? Does glibc do it as well?

Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

More information about the klibc mailing list