Re: [PHP-DEV] Re: Win32 compile warnings

2002-03-15 Thread Yasuo Ohgaki
Derick Rethans wrote: > Hello, > > The _macro_ is redifined here, that has nothing to do with asert() which > works perfectly with VC++. My guess is that NDEBUG is defined by either > VC++ itself, or by another module in the PHP source. > > Derick I've posted possible fix for VC warning to ph

[PHP-DEV] Re: [PHP-CVS] Re: cvs: php4 /main php.h

2002-03-15 Thread derick
On Fri, 15 Mar 2002, Yasuo Ohgaki wrote: > According to Derick's post, VC defines NDEBUG somewhere else. > Following patch should fix "redfined" warnings. This doesn't seem like a good idea, VC++ might be using NDEBUG for very different reasons. How did you come up with the name NDEBUG? > Anyo

[PHP-DEV] CVS Account Request: lucaiacono

2002-03-15 Thread Luca Iacono
phpdoc, translation -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [PHP-CVS] Re: cvs: php4 /main php.h

2002-03-15 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: > On Fri, 15 Mar 2002, Yasuo Ohgaki wrote: > > >>According to Derick's post, VC defines NDEBUG somewhere else. >>Following patch should fix "redfined" warnings. > > > This doesn't seem like a good idea, VC++ might be using NDEBUG for very > different reasons. How did

RE: [PHP-DEV] cvs: php4 /main php.h

2002-03-15 Thread Marc Boeren
> Accoding to ISO9899(ANSI C) standard, NDEBUG is used for assert.h. > VC may define/use it some other reasons? I just don't have any idea. VC defines it for any(!) project you create as a compiler setting ( /D "NDEBUG" ) (for Release versions, for Debug versions it does /D "_DEBUG") As to the

[PHP-DEV] Fw: PHP 4.1.2 zip package [5,824Kb] - 12 March 2002

2002-03-15 Thread Gabor Hojtsy
Khm... - Original Message - From: "Preiß, Sebastian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 15, 2002 8:58 AM Subject: PHP 4.1.2 zip package [5,824Kb] - 12 March 2002 > Note: This File (PHP 4.1.2 zip package [5,824Kb] - 12 March 2002) seems to > include PHP/4.1.3

Re: [PHP-DEV] Fw: PHP 4.1.2 zip package [5,824Kb] - 12 March 2002

2002-03-15 Thread derick
it seems that somebody screwed our nice version number :) Derick On Fri, 15 Mar 2002, Gabor Hojtsy wrote: > Khm... > > - Original Message - > From: "Preiß, Sebastian" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, March 15, 2002 8:58 AM > Subject: PHP 4.1.2 zip package [

[PHP-DEV] Release process (was: Re: [PHP-CVS] cvs: php4 / configure.in /main php_version.h)

2002-03-15 Thread Edin Kadribasic
I agree that the main issue here the release process. I don't think it's working very well now. How long ago was PHP_4_0_7 branch made? It's not that ecouraging fixing a bug or adding a new feature and telling people that the fix or feature will be released in 6 months or so. So how do we cut the

Re: [PHP-DEV] Release process (was: Re: [PHP-CVS] cvs: php4 /configure.in /main php_version.h)

2002-03-15 Thread derick
On Fri, 15 Mar 2002, Edin Kadribasic wrote: > I agree that the main issue here the release process. I don't think it's > working very well now. How long ago was PHP_4_0_7 branch made? It's not that > ecouraging fixing a bug or adding a new feature and telling people that the > fix or feature will

Re: [PHP-DEV] Release process (was: Re: [PHP-CVS] cvs: php4 / configure.in /main php_version.h)

2002-03-15 Thread Edin Kadribasic
> sounds ok to me, i'll mail a faster release schedule later this day and if > nobody objects i'll package rc1 tomorrow. Since we are trying to improve QA I think RC1 (and the rest of them) should be announced on the list and on www.php.net in order to get more people to test it. Are there any r

[PHP-DEV] HEAD broken

2002-03-15 Thread Stefan Esser
current HEAD doesn't compile due to /ext/session/session.c, /ext/standard/var.c -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Release process (was: Re: [PHP-CVS] cvs: php4 /configure.in /main php_version.h)

2002-03-15 Thread derick
On Fri, 15 Mar 2002, Edin Kadribasic wrote: > > sounds ok to me, i'll mail a faster release schedule later this day and if > > nobody objects i'll package rc1 tomorrow. > > Since we are trying to improve QA I think RC1 (and the rest of them) should > be announced on the list and on www.php.net i

Re: [PHP-DEV] HEAD broken

2002-03-15 Thread derick
On Fri, 15 Mar 2002, Stefan Esser wrote: > current HEAD doesn't compile due to /ext/session/session.c, > /ext/standard/var.c How is it broken? It compiled just fine for me... Derick -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] HEAD broken

2002-03-15 Thread Markus Fischer
On Fri, Mar 15, 2002 at 01:23:44PM +0100, [EMAIL PROTECTED] wrote : > On Fri, 15 Mar 2002, Stefan Esser wrote: > > > current HEAD doesn't compile due to /ext/session/session.c, > > /ext/standard/var.c > > How is it broken? It compiled just fine for me... For me too. What's the compile/erro

Re: [PHP-DEV] HEAD broken

2002-03-15 Thread sesser
On Fri, Mar 15, 2002 at 01:23:44PM +0100, [EMAIL PROTECTED] wrote: > > How is it broken? It compiled just fine for me... Hmmm i get stuff like: ext/session/session.lo: In function 'php_set_session_var': /ext/session/session.c:268: undefined reference to 'var_replace' ... and this happens for s

Re: [PHP-DEV] HEAD broken

2002-03-15 Thread Markus Fischer
On Fri, Mar 15, 2002 at 02:25:46PM +0100, [EMAIL PROTECTED] wrote : > On Fri, Mar 15, 2002 at 01:23:44PM +0100, [EMAIL PROTECTED] wrote: > > > > How is it broken? It compiled just fine for me... > > > Hmmm i get stuff like: > ext/session/session.lo: In function 'php_set_session_var': > /ext/se

Re: [PHP-DEV] HEAD broken

2002-03-15 Thread Ludovico Magnocavallo
same thing here, on a RedHat 6.2, compilation is broken var_unserializer.c is 0 bytes, reverting it to version 1.4 fixes compilation L. "Markus Fischer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Fri, Mar 15, 2002 at 02:25:46PM +0100, [EMAIL PROTECTED

Re: [PHP-DEV] HEAD broken

2002-03-15 Thread Ludovico Magnocavallo
sorry, reverting var_unserializer.re to 1.4 L. "Ludovico Magnocavallo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > same thing here, on a RedHat 6.2, compilation is broken > > var_unserializer.c is 0 bytes, reverting it to version 1.4 fixes compilation > >

Re: [PHP-DEV] cvs: php4 /main php.h

2002-03-15 Thread Christoph Kassen
Hey, this patch fixes the NDEBUG redefinition errors you get when building latest cvs with VC. Anyone with enough karma please apply this patch. Christoph Index: php.h === RCS file: /repository/php4/main/php.h,v retrieving revisi

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/interbase interbase.c php_interbase.h

2002-03-15 Thread Markus Fischer
On Fri, Mar 15, 2002 at 03:26:02PM -, Daniela Mariaschi wrote : > > Index: php4/ext/interbase/interbase.c > diff -u php4/ext/interbase/interbase.c:1.77 php4/ext/interbase/interbase.c:1.78 > --- php4/ext/interbase/interbase.c:1.77 Wed Mar 6 14:54:47 2002 > +++ php4/ext/interbase/inte

Re: [PHP-DEV] cvs: php4 /main php.h

2002-03-15 Thread Andi Gutmans
The question is if this will break UNIX systems. From the MSDN: --- In C/C++, you can use assertions through assert. In ANSI C, assert has the following definition: void assert(int expression) The assertion will be executed only when the macro NDEBUG is undefined. The program will be aborted if

[PHP-DEV] CVS Account Request: amtd

2002-03-15 Thread amtd
I will translate to chinese for php manual.thx. BTW:I from ShenZhen China. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] patch for sprintf() argnum

2002-03-15 Thread Morten Poulsen
Hi, I discovered a bug in sprintf()'s argument swapping code. It accepts an argument number of zero, which is invalid. It is handled in different ways in different libcs, but i figured the best way to handle it in PHP was to make the functioncall fail. Patch is attached. Best regards, Morten PS

Re: [PHP-DEV] HEADS UP! Streams are coming

2002-03-15 Thread Wez Furlong
This is another reminder that the new streams based file io layer is coming this weekend. I'm in the process of running tests right now - it's looking good! --Wez. On 13/03/02, "Wez Furlong" <[EMAIL PROTECTED]> wrote: > Hi all, > > I've decided to drop the old ISSOCK style code from my streams

[PHP-DEV] Important: "make test"/run-tests.php broken?

2002-03-15 Thread Wez Furlong
Hey, Am I the only one that has every single test fail when running make test?? (I've tried with 2 separate working checkouts). It appears that the expected output and the actual output differ by a newline at the end... Can someone else verify, because my first suspcicion was my streams code,

[PHP-DEV] Re: cvs: php4 /main php.h

2002-03-15 Thread Joseph Tate
Ok. From the MSDN (Which is available for free perusal from msdn.microsoft.com): --Begin M$ Technobabble-- The ANSI assert macro is typically used to identify logic errors during program development, by implementing the expression argument to evaluate to false only when the program is operating

Re: [PHP-DEV] Re: cvs: php4 /main php.h

2002-03-15 Thread Andi Gutmans
At 11:38 AM 3/15/2002 -0500, Joseph Tate wrote: >I personally don't care which assert is used under Windows. I don't really >have time to test the VC++ build right now either, however, please remember >that while that whole discussion was going on the majority of the American >continents were asl

Re: [PHP-DEV] Important: "make test"/run-tests.php broken?

2002-03-15 Thread Wez Furlong
Damn - sapi/cgi is being run and the http headers are confusing the test suite... --Wez. On 16/03/02, "Wez Furlong" <[EMAIL PROTECTED]> wrote: > Hey, > > Am I the only one that has every single test fail when running > make test?? > > (I've tried with 2 separate working checkouts). > > It app

[PHP-DEV] php_copy_file

2002-03-15 Thread Wez Furlong
Any objections to stream enabling the php_copy_file function; this will allow copying to/from anything that can be accessed by the stream "fopen" wrappers? --Wez. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: php_copy_file

2002-03-15 Thread l0t3k
+1 i need this for stuff im doing anyway... "Wez Furlong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Any objections to stream enabling the php_copy_file function; > this will allow copying to/from anything that can be accessed > by the stream "fopen" wrapp

Re: [PHP-DEV] php_copy_file

2002-03-15 Thread Markus Fischer
On Fri, Mar 15, 2002 at 05:51:35PM +, Wez Furlong wrote : > Any objections to stream enabling the php_copy_file function; > this will allow copying to/from anything that can be accessed > by the stream "fopen" wrappers? Any reson not to do it? I mean, this sounds like an Überkewl f

[PHP-DEV] Re: php_copy_file

2002-03-15 Thread l0t3k
Wez, i keep forgetting to ask you to add a "standard" stream copy function (perhaps using a configurable buffer). that way, i can write me a simple streamer by fopening my favorite MP3 and copying it to a socket "Wez Furlong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMA

[PHP-DEV] debugging httpd and php

2002-03-15 Thread David Ford
There was some recent talk on the list about debugging apache. I have current HEAD code for both httpd-2.0 and php42. If I try to start apache with the php module, it silently crashes on startup. So I pop it into gdb and here's what I get. (gdb) r -X Starting program: /src/cvs/httpd-2.0/http

[PHP-DEV] FW: AW: agh - Compile w/php

2002-03-15 Thread Alex Black
hi all, I received this from a guy at SAP regarding a SAPDB compile with php: As you might have guessed, I am still unable to compile --with-sapdb I've entered a bug report with all of the details: http://bugs.php.net/bug.php?id=16100 If anyone has successfully compiled SAPDB with PHP on any m

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/interbase interbase.c php_interbase.h

2002-03-15 Thread Marcus Börger
At 16:36 15.03.2002, Markus Fischer wrote: > I think it's a good idea for every extension to display it's > revision. > > Any objections to standardize this for all extension to > displau their revision for those who don't have it yet ? > > So far only five extension seem to h

Re: [PHP-DEV] Re: php_copy_file

2002-03-15 Thread Wez Furlong
Well, we have this: php_stream_copy_to_stream(srcstream, deststream, maxlen) that does that kind of thing :-) If maxlen is 0 it copies until EOF. It has some sense to use mmap when the source is a plain file too. Howzat? --Wez. On 16/03/02, "l0t3k" <[EMAIL PROTECTED]> wrote: > Wez, > i k

[PHP-DEV] Big streams patch due to commit within an hour

2002-03-15 Thread Wez Furlong
I'm just bringing my tree in sync with todays CVS and reviewing the diff. I plan to commit the streams code within an hour or so. I don't anticipate problems, but would be grateful if you could give me (constructive!) feedback from your experiences with it, particularly if you are using ftp://, h

Re: [PHP-DEV] Re: php_copy_file

2002-03-15 Thread l0t3k
> Howzat? you da man ! i owe you a beer if ever we meet.. "Wez Furlong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Well, we have this: > > php_stream_copy_to_stream(srcstream, deststream, maxlen) > > that does that kind of thing :-) > If maxlen is 0 it c

[PHP-DEV] SAPDB Compile Marathon Continues

2002-03-15 Thread Alex Black
Gotta love this, Turns out that a couple things in combination seem to work for sapdb, but now apache is broken. Anyway this works for SAPDB: -ensure that --with-odbc is specified before --with-sapdb -copy the contents of /opt/sapdb/depends/lib to /opt/sapdb/interfaces/odbc/lib (yes that

[PHP-DEV] Streams are here!

2002-03-15 Thread Wez Furlong
Well, PHP finally supports fopen("https://...";) :-) Please please please test the following things in particular as I can't compile them or verify them here: hyperwave: hw_new_document_from_file gd: functions that create images from files. In particular, try creating from "wrapped" files over

Re: [PHP-DEV] Re: php_copy_file

2002-03-15 Thread Marcus Börger
At 20:55 15.03.2002, you wrote: >Well, we have this: > >php_stream_copy_to_stream(srcstream, deststream, maxlen) > >that does that kind of thing :-) >If maxlen is 0 it copies until EOF. >It has some sense to use mmap when the source is a plain file too. Should react on -1 otherwise you cannot cal

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Stefan Roehrich
Hello! On 2002-03-15 21:12:36, Wez Furlong wrote: > Please please please test the following things in particular > as I can't compile them or verify them here: I can't compile, because it complains about `ptrdiff_t' undeclared in main/network.c. I think stddef.h or similar is needed in this file

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
on cygwin (but i cannot finr any definition for them) ?! ext/standard/http_fopen_wrapper.o(.text+0x17f):http_fopen_wrapper.c: undefined reference to `SOCK_FCLOSE' ext/standard/http_fopen_wrapper.o(.text+0x280):http_fopen_wrapper.c: undefined reference to `SOCK_WRITE' ext/standard/http_fopen_wra

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
SORRY, had to reconfigure with --enable-php-streams now it compiles and works but getimagesize is broken for jpegs i will fix that tomorrow - think it's a problem of the latest features (argh) marcus At 22:53 15.03.2002, Marcus Börger wrote: >on cygwin (but i cannot finr any definition for th

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Philip Olson
> > Please please please test the following things in particular > > as I can't compile them or verify them here: > > I can't compile, because it complains about `ptrdiff_t' undeclared in > main/network.c. I think stddef.h or similar is needed in this file. this also affects --enable-sockets, p

Re: [PHP-DEV] the dl() issue

2002-03-15 Thread Stig S. Bakken
On Wed, 2002-03-13 at 22:08, Zeev Suraski wrote: > At 21:36 13/03/2002, Shane Caraveo wrote: > > > I thought we weren't wasting any more time with this? :) > > > >Yeah, I'm getting realy tired of having to argue for something that should > >be a base part of the language. > > Kodus on the tactics

Re: [PHP-DEV] setup.stub files

2002-03-15 Thread Stig S. Bakken
On Tue, 2002-03-12 at 03:07, Jim Winstead wrote: > do these files serve any purpose any more, or are they just leftover > remnants from the old setup script? We deprecated "setup" ages ago. - Stig -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] HEADS UP! Streams are coming

2002-03-15 Thread Stig S. Bakken
On Wed, 2002-03-13 at 00:21, Wez Furlong wrote: > Hi all, > > I've decided to drop the old ISSOCK style code from my streams-enabled > PHP tree, since supporting both that and streams in the code makes the > code worse than it was originally (and the point is to make the code nicer). > > But! Wh

Re: [PHP-DEV] the dl() issue

2002-03-15 Thread Andi Gutmans
At 01:08 AM 3/16/2002 +0100, Stig S. Bakken wrote: >On Wed, 2002-03-13 at 22:08, Zeev Suraski wrote: > > At 21:36 13/03/2002, Shane Caraveo wrote: > > > > I thought we weren't wasting any more time with this? :) > > > > > >Yeah, I'm getting realy tired of having to argue for something that should

Re: [PHP-DEV] the dl() issue

2002-03-15 Thread Zeev Suraski
I never said it's not possible, I always said that it's going to be inefficient and less stable in MT. Of course I have no plans to implement it, but I also don't think it should be implemented at all; It requires far reaching changes to the infrastructure which would destabilize the MT vers

Re: [PHP-DEV] the dl() issue

2002-03-15 Thread Markus Fischer
On Sat, Mar 16, 2002 at 02:28:52AM +0200, Zeev Suraski wrote : > I never said it's not possible, I always said that it's going to be > inefficient and less stable in MT. Of course I have no plans to implement > it, but I also don't think it should be implemented at all; It requires > far rea

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Wez Furlong
Hmmm, There is no configure option any longer; but a make clean followed by a reconfigure and rebuild should fix most problems like that. I think you might need to look at the php_stream_seek stuff in image.c in particular. --Wez. On 16/03/02, "Marcus Börger" <[EMAIL PROTECTED]> wrote: > SOR

Re: [PHP-DEV] HEADS UP! Streams are coming

2002-03-15 Thread Wez Furlong
On 16/03/02, "Stig S. Bakken" <[EMAIL PROTECTED]> wrote: > Is there a cpp macro that may be used to detect whether the PHP version > an extension is build built for has the new streams? Where would be the best place to define it? I did have something in configure.in, but that doesn't seem approp

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Wez Furlong
Can you tell me which include files are needed to correct the build on your system? Then I can fix it :-) --Wez. On 16/03/02, "Stefan Roehrich" <[EMAIL PROTECTED]> wrote: > Hello! > > On 2002-03-15 21:12:36, Wez Furlong wrote: > > Please please please test the following things in particular > >

Re: [PHP-DEV] Re: php_copy_file

2002-03-15 Thread Wez Furlong
I'm not quite sure I know what you mean... Do you mean that if maxlen is -1, the function should not do anything? --Wez. On 16/03/02, "Marcus Börger" <[EMAIL PROTECTED]> wrote: > At 20:55 15.03.2002, you wrote: > >php_stream_copy_to_stream(srcstream, deststream, maxlen) > >If maxlen is 0 it cop

[PHP-DEV] Additional warning for mail()

2002-03-15 Thread Markus Fischer
Hi, If no one objects I'ld like to commit the following patch which raises an extra warning message when using mail() on unix systems and the shell required for popen() can't be executed (tested on linux/freebsd). - Markus -- Please always Cc to me when replying to me o

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
To have image.c work i had to correct the php_stream_seek and php_stream_getc calls. Seek caals had wrong parameter arragement - but nowhere else in code... getc see below... I changed both functions later. in php_stream_getc i return buf & 0xFF because otherwise i get 0xFFxx in return. in

Re: [PHP-DEV] Re: php_copy_file

2002-03-15 Thread Marcus Börger
At 02:53 16.03.2002, Wez Furlong wrote: >I'm not quite sure I know what you mean... >Do you mean that if maxlen is -1, the function should not do anything? No it should copy until EOF on -1 but do nothing on 0 because zero means zero. marcus >--Wez. > >On 16/03/02, "Marcus Börger" <[EMAIL PRO

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
What do you think about havin php_stream_seek emulate other methods than forward seeking? We could do this by opening the stream again if something before current position has to be read... That would allow using streams in every file based function! Of cause we should have flags that we are abo

Re: [PHP-DEV] Re: php_copy_file

2002-03-15 Thread Wez Furlong
Good point; fix going in now... --Wez. On 16/03/02, "Marcus Börger" <[EMAIL PROTECTED]> wrote: > At 02:53 16.03.2002, Wez Furlong wrote: > >I'm not quite sure I know what you mean... > >Do you mean that if maxlen is -1, the function should not do anything? > > No it should copy until EOF on -1

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Wez Furlong
I had thought about it, but it's making the streams abstraction do too much; it will have to remember too much information, and what if the data changes each time the stream is opened? If you really need to seek around in a stream that might not support it, you should open a temporary stream (php

[PHP-DEV] Can anyone compile CVS?

2002-03-15 Thread mlwmohawk
I am trying to compile PHP CVS. I had a working development environment. I download re2c, got all new source, and am trying to get my patches working. Alas I get the messeges included below. Is this a common problem what is very pedestrian solution, or is this something I have to slog through

Re: [PHP-DEV] Streams are here!

2002-03-15 Thread Marcus Börger
At 03:56 16.03.2002, Wez Furlong wrote: >I had thought about it, but it's making the streams abstraction do >too much; it will have to remember too much information, and what if >the data changes each time the stream is opened? YES it has to remember much and YES streams may change on next open -

Re: [PHP-DEV] Can anyone compile CVS?

2002-03-15 Thread Wez Furlong
Try deleting the var_serializer.{c,re} and checking them out again, then buildconf etc. etc. I hope you have better luck with the streams changes than the others :-) --Wez. On 16/03/02, [EMAIL PROTECTED] wrote: > I am trying to compile PHP CVS. I had a working development environment. I > down

[PHP-DEV] Re: Can anyone compile CVS?

2002-03-15 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: > I am trying to compile PHP CVS. I had a working development environment. I > download re2c, got all new source, and am trying to get my patches > working. > Alas I get the messeges included below. > > Is this a common problem what is very pedestrian solution, or is t

Re: [PHP-DEV] Additional warning for mail()

2002-03-15 Thread Jon Parise
On Sat, Mar 16, 2002 at 03:15:07AM +0100, Markus Fischer wrote: > If no one objects I'ld like to commit the following patch > which raises an extra warning message when using mail() on > unix systems and the shell required for popen() can't be > executed (tested on linux/freebsd).