diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-12 11:51:25 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-12 11:51:25 +0000 |
commit | 2f42fcb0c2cd8c2699589848aee7b8ee07b30c4f (patch) | |
tree | ada8ea9f2ed4be699d066737eab622e87b4ba42c /sv.c | |
parent | a25ef67de93be431e21193a0e7ed5fca8bc883f7 (diff) | |
download | perl-2f42fcb0c2cd8c2699589848aee7b8ee07b30c4f.tar.gz |
Apply much of Ilya's microperl patch, but instead of
implementing the opendir()/readdir()/closedir() using
external commands give up "ANSI-pureness" and define them
in uconfig.sh, also define other stuff like rename() and putenv().
Leave out the $| emulation in my_fork() since we are
not supposed to have fork() under microperl.
p4raw-id: //depot/perl@20646
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7379,6 +7379,7 @@ Perl_sv_reset(pTHX_ register char *s, HV *stash) } if (GvHV(gv) && !HvNAME(GvHV(gv))) { hv_clear(GvHV(gv)); +#ifndef PERL_MICRO #ifdef USE_ENVIRON_ARRAY if (gv == PL_envgv # ifdef USE_ITHREADS @@ -7389,6 +7390,7 @@ Perl_sv_reset(pTHX_ register char *s, HV *stash) environ[0] = Nullch; } #endif +#endif /* !PERL_MICRO */ } } } |