On 25 Sep 2000, Alan E. Derhaag wrote:
>
> Good try, but /dev/null is not broken on my machine.
ok, i have seen this happen at least once in the past, glad it's not a
common problem. looking back now at some other mod_ssl fixes for 'make
test', i'm reading that mod_ssl has some sort of problem with /dev/null.
i don't know the details, but maybe this patch will fix the problem for
you. however, we had switched from -e0 to /dev/null in mod_perl-1.17,
something todo with suexec/setuid, which i think will still be a problem
looking at perl.c:
if (PL_euid != PL_uid || PL_egid != PL_gid)
Perl_croak(aTHX_ "No -e allowed in setuid scripts");
--- src/modules/perl/mod_perl.c 2000/09/01 05:23:17 1.126
+++ src/modules/perl/mod_perl.c 2000/09/26 17:03:39
@@ -668,7 +668,7 @@
#ifdef WIN32
argv[argc++] = "nul";
#else
- argv[argc++] = "/dev/null";
+ argv[argc++] = "-e0";
#endif
MP_TRACE_g(fprintf(stderr, "perl_parse args: "));