On Wed, Jan 03, 2007 at 07:01:24PM +0100, B. Johannessen said:
> Wakko Warner wrote:
> > # perl -e 'print "Its 0\n" if "" == 0'
> > Its 0
> > Case closed =)
>
> echo 'main(){if(0=="")printf("Its 0\n");}' | gcc -w -x c - && ./a.out
>
> Case re-opened :-)
But:
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
char *p = NULL;
printf ("p is %d\n", (int)p);
exit(0);
}
> Seriously though, I think the best solution to this is to bring back the
> previous behavior. There are clearly a lot of configurations in the wild
> that depends on this (I probably have some myself), and a minor
> dot-release is not the right time for such a change. Logging a warning
> would probably also be appropriate.
Agreed, or perhaps only when debugging expansions, as others have noted.
--
--------------------------------------------------------------------------
| Stephen Gran | Everyone is in the best seat. -- John |
| [EMAIL PROTECTED] | Cage |
| http://www.lobefin.net/~steve | |
--------------------------------------------------------------------------
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/