You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-cvs@tcl.apache.org by da...@apache.org on 2002/02/27 11:13:52 UTC

cvs commit: tcl-websh/src/generic request.c

davidw      02/02/27 02:13:52

  Modified:    src/generic request.c
  Log:
  * generic/request.c (createRequestData): Removed
    handleToSpecificReqData here and elsewhere - it's handled in other
    ways (through set/get assocdata).
  
  Simon says - he will remove web::querystring::getfromurl.
  
  Revision  Changes    Path
  1.7       +8 -9      tcl-websh/src/generic/request.c
  
  Index: request.c
  ===================================================================
  RCS file: /home/cvs/tcl-websh/src/generic/request.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- request.c	3 Dec 2001 15:43:39 -0000	1.6
  +++ request.c	27 Feb 2002 10:13:52 -0000	1.7
  @@ -9,7 +9,7 @@
    * See the file "license.terms" for information on usage and
    * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
    *
  - * @(#) $Id: request.c,v 1.6 2001/12/03 15:43:39 davidw Exp $
  + * @(#) $Id: request.c,v 1.7 2002/02/27 10:13:52 davidw Exp $
    *
    */
   #include <tcl.h>
  @@ -24,9 +24,6 @@
   #  include <time.h>
   #endif
   
  -/* fixme: why prototype here? */
  -void dRequestData(ClientData clientData);
  -
   void dRequestData(ClientData clientData)
   {
   
  @@ -66,7 +63,7 @@
       Tcl_CreateObjCommand(interp, "web::formvar",
   			 Web_FormVar, (ClientData) requestData, NULL);
   
  -    /*fixme: needed? */
  +    /*fixme: needed? Simon will deal with this. */
       Tcl_CreateObjCommand(interp, "web::querystring::getfromurl",
   			 Web_GetQueryStringFromUrl,
   			 (ClientData) requestData, NULL);
  @@ -127,8 +124,6 @@
   	HashUtlAllocInit(requestData->tmpFnList, TCL_STRING_KEYS);
   	HashUtlAllocInit(requestData->staticList, TCL_STRING_KEYS);
   	requestData->requestIsInitialized = 0;
  -	/* fixme: this is ap/cgi specific */
  -	requestData->handleToSpecificReqData = NULL;
       }
   
       return requestData;
  @@ -213,7 +208,9 @@
   		    "removeTempFiles", WEBLOG_INFO,
   		    "removing temporary file ", Tcl_GetString(tclo), ".",
   		    NULL);
  -	    /* fixme: check for result of remove() --> log message */
  +	    /* fixme: check for result of remove() --> log message
  +	       Use PosixError
  +	    */
   	    remove(Tcl_GetString(tclo));
   	    Tcl_DecrRefCount(tclo);
   	}
  @@ -421,7 +418,9 @@
   
       Tcl_IncrRefCount(tclo);
   
  -    /* fixme: should I check for for TMP_MAX filenames per app ? */
  +    /* fixme: should I check for for TMP_MAX filenames per app ?
  +       fixme - later
  +    */
       return tclo;
   }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-cvs-help@tcl.apache.org