RE: [PECL-DEV] Account Request: perror

From: Date: Fri, 22 Sep 2006 22:31:33 +0000
Subject: RE: [PECL-DEV] Account Request: perror
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-4181@lists.php.net to get a copy of this message
Perhaps I should have just sent a patch to Rasmus for exec.h/exec.c for these? (And whomever has signal.c/signal.h or whatever) It's nice as an extension for testing/debugging though... It only took me ~5 years to get around to writing them. :-) On Fri, September 22, 2006 3:00 pm, Andi Gutmans wrote: > This shouldn't be an extension. > Maybe it can be part of ext/pcnl or some other existing extension? > >> -----Original Message----- >> From: Richard Lynch [mailto:ceo@l-i-e.com] >> Sent: Wednesday, September 20, 2006 8:39 AM >> To: pecl-dev@lists.php.net >> Subject: [PECL-DEV] Account Request: perror >> >> Account Request >> >> Extension Name: perror >> >> Synopsis: >> >> After you do exec (et al) and get an error number, you >> shouldn't have to pop out to a shell to do 'perror' to find >> out what that error number means. >> >> This extension adds a very modest function 'strerror' which >> returns the corresponding error message from the OS. >> >> >From the 'perror' man pages, it became blatantly obvious that >> 'strsignal' was the exact same formula, so I tossed that in as well. >> >> Details: >> Download and source and minimal documentation available here: >> http://www.l-i-e.com/perror/ >> >> Several folks on php-internals and php-general asked me to >> add this to PECL when I posted it a couple months ago, and >> I'm just now getting round to it, as I was buried under at >> work for awhile. >> >> I'll be using the email: lynch AT php DOT net for this project >> (which I've had for years and under-utilize) >> >> I think I already have CVS access to Docs on php.net, so I >> reckon you just need to change whatever flags I'd need to >> keep 'perror' current, rather than add a new acount. >> >> Thanks! >> >> -- >> Like Music? >> http://l-i-e.com/artists.htm >> >> -- >> PECL development discussion Mailing List >> (http://pecl.php.net/) To unsubscribe, visit: >> http://www.php.net/unsub.php >> > > -- Like Music? http://l-i-e.com/artists.htm

« previous php.pecl.dev (#4181) next »