diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1998-10-20 11:47:21 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1998-10-20 11:47:21 +0000 |
commit | 7a66b2869e0f357e64667c2db4e33691b36245f8 (patch) | |
tree | 4d9de1f2d71c4830ab2be321fdfca58abe9c16f9 /vmesa | |
parent | 03145268c493df27841633bdf17d753920794b8c (diff) | |
download | perl-7a66b2869e0f357e64667c2db4e33691b36245f8.tar.gz |
VM/ESA update.
p4raw-id: //depot/cfgperl@2026
Diffstat (limited to 'vmesa')
-rw-r--r-- | vmesa/vmesa.c | 31 | ||||
-rw-r--r-- | vmesa/vmesaish.h | 1 |
2 files changed, 3 insertions, 29 deletions
diff --git a/vmesa/vmesa.c b/vmesa/vmesa.c index 0e9baf302f..6169e70d78 100644 --- a/vmesa/vmesa.c +++ b/vmesa/vmesa.c @@ -126,7 +126,7 @@ do_aspawn(SV* really, SV **mark, SV **sp) while (++mark <= sp) { if (*mark) - *a++ = SvPVx(*mark, na); + *a++ = SvPVx(*mark, PL_na); else *a++ = ""; } @@ -142,7 +142,7 @@ do_aspawn(SV* really, SV **mark, SV **sp) /*-----------------------------------------------------*/ if (*PL_Argv[0] != '/') TAINT_ENV(); - if (really && *(tmps = SvPV(really, na))) + if (really && *(tmps = SvPV(really, PL_na))) pid = spawnp(tmps, nFd, fdMap, &inherit, (const char **) PL_Argv, (const char **) environ); @@ -477,33 +477,6 @@ my_pclose(FILE *fp) } -/*===================== End of my_pclose ===================*/ - -/************************************************************/ -/* */ -/* Name - getTHR. */ -/* */ -/* Function - Use pclose to terminate a piped command */ -/* file stream. */ -/* */ -/* On Exit - Thread specific data returned. */ -/* */ -/************************************************************/ - -struct perl_thread * -getTHR() -{ - int status; - struct perl_thread *pThread; - - status = pthread_getspecific(PL_thr_key, (void **) &pThread); - if (status != 0) - pThread = NULL; - return (pThread); -} - -/*===================== End of getTHR ======================*/ - /************************************************************/ /* */ /* Name - dlopen. */ diff --git a/vmesa/vmesaish.h b/vmesa/vmesaish.h index f4f87a93cc..379d5b4c4e 100644 --- a/vmesa/vmesaish.h +++ b/vmesa/vmesaish.h @@ -12,4 +12,5 @@ # define YIELD pthread_yield(NULL) # define pthread_mutexattr_default NULL # define pthread_condattr_default NULL + typedef void * pthread_addr_t; #endif |