#endif
break;
case '?':
- sv_setiv(sv, (IV)STATUS_CURRENT);
+ {
+ dTHR;
+ sv_setiv(sv, (IV)STATUS_CURRENT);
#ifdef COMPLEX_STATUS
- LvTARGOFF(sv) = statusvalue;
- LvTARGLEN(sv) = statusvalue_vms;
+ LvTARGOFF(sv) = statusvalue;
+ LvTARGLEN(sv) = statusvalue_vms;
#endif
+ }
break;
case '^':
s = IoTOP_NAME(GvIOp(defoutgv));
#undef cxstack
#undef cxstack_ix
#undef cxstack_max
+#undef defstash
+#undef curstash
#undef tmps_stack
#undef tmps_floor
#undef tmps_ix
#undef top_env
#undef runlevel
#undef in_eval
+#undef restartop
+#undef delaymagic
+#undef dirty
+#undef localizing
#define self (thr->Tself)
#define stack_base (thr->Tstack_base)
#endif
#define curcop (thr->Tcurcop)
#define stack (thr->Tstack)
+#define curstack (thr->Tcurstack)
#define mainstack (thr->Tmainstack)
#define markstack (thr->Tmarkstack)
#define markstack_ptr (thr->Tmarkstack_ptr)
static char *
setup_argstr(SV *really, SV **mark, SV **sp)
{
+ dTHR;
char *junk, *tmps = Nullch;
register size_t cmdlen = 0;
size_t rlen;
/*{{{time_t my_time(time_t *timep)*/
time_t my_time(time_t *timep)
{
+ dTHR;
time_t when;
if (gmtime_emulation_type == 0) {
struct tm *
my_gmtime(const time_t *timep)
{
+ dTHR;
char *p;
time_t when;
struct tm *
my_localtime(const time_t *timep)
{
+ dTHR;
time_t when;
if (timep == NULL) {
/*{{{int my_utime(char *path, struct utimbuf *utimes)*/
int my_utime(char *file, struct utimbuf *utimes)
{
+ dTHR;
register int i;
long int bintime[2], len = 2, lowbit, unixtime,
secscale = 10000000; /* seconds --> 100 ns intervals */
int
flex_fstat(int fd, struct mystat *statbufp)
{
+ dTHR;
+
if (!fstat(fd,(stat_t *) statbufp)) {
if (statbufp == (struct mystat *) &statcache) *namecache == '\0';
statbufp->st_dev = encode_dev(statbufp->st_devnam);
int
flex_stat(char *fspec, struct mystat *statbufp)
{
+ dTHR;
char fileified[NAM$C_MAXRSS+1];
int retval = -1;