httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-apreq/Request Request.xs
Date Tue, 12 Jun 2001 21:21:20 GMT
dougm       01/06/12 14:21:20

  Modified:    Request  Request.xs
  Log:
  replace TARG usage with normal SV
  
  Revision  Changes    Path
  1.20      +10 -10    httpd-apreq/Request/Request.xs
  
  Index: Request.xs
  ===================================================================
  RCS file: /home/cvs/httpd-apreq/Request/Request.xs,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- Request.xs	2001/06/12 21:17:20	1.19
  +++ Request.xs	2001/06/12 21:21:20	1.20
  @@ -184,7 +184,7 @@
   	    return -1; /* error */
   
       {
  -    	dTARG;
  +    	SV *sv;
       	dSP;
   
       	PUSHMARK(SP);
  @@ -192,17 +192,17 @@
           ENTER;
       	SAVETMPS;
   
  -    	TARG = sv_newmortal();
  -    	sv_setref_pv( TARG, "Apache::Upload", (void*)upload );
  -    	PUSHTARG;
  +    	sv = sv_newmortal();
  +    	sv_setref_pv( sv, "Apache::Upload", (void*)upload );
  +    	PUSHs(sv);
   
  -    	TARG = sv_2mortal( newSVpvn(buf,len) );
  -    	SvTAINT(TARG);
  -    	PUSHTARG;
  +    	sv = sv_2mortal( newSVpvn(buf,len) );
  +    	SvTAINT(sv);
  +    	PUSHs(sv);
   
  -    	TARG = sv_2mortal( newSViv(len) );
  -    	SvTAINT(TARG);
  -    	PUSHTARG;
  +    	sv = sv_2mortal( newSViv(len) );
  +    	SvTAINT(sv);
  +    	PUSHs(sv);
   
       	PUSHs(hook->data);
   
  
  
  

Mime
View raw message