system() not mapped in syscall-soft mode

2002-10-15 Thread Jonathan Schilling
The Pth 1.4.1 manual states that system() is supported in the Soft System Call Mapping, but in fact it is omitted (as an oversight, I think). Build Pth with --enable-syscall-soft, then compile this test program with -E to show the preprocessed code: #include pthread.h #include stdlib.h

Re: dlsym(RTLD_NEXT) alternative to syscall() for hard wrappers

2002-10-15 Thread Ralf S. Engelschall
On Tue, Oct 15, 2002, Jonathan Schilling wrote: [...] First, thanks for this brilliant idea. I'll to incorporate it into the mainline for release in Pth 1.5.0. Note that for this to work you have to use the dynamically linked Pth libpthread, so that the real definition can be found in a

Re: Pth Manual versions out of synch

2002-10-15 Thread Ralf S. Engelschall
On Tue, Oct 15, 2002, Jonathan Schilling wrote: I believe the Pth Manual versions available at http://www.gnu.org/software/pth/ are out of synch. The pth-manual.html HTML version there appears to be newer than the pth-manual.ps Postscript version there. For example, the HTML has the fix

Re: dlsym(RTLD_NEXT) alternative to syscall() for hard wrappers

2002-10-15 Thread Jonathan Schilling
Date: Tue, 15 Oct 2002 20:43:48 +0200 From: Ralf S. Engelschall [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: dlsym(RTLD_NEXT) alternative to syscall() for hard wrappers On Tue, Oct 15, 2002, Jonathan Schilling wrote: Note that for this to work you have to use the dynamically