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 ro...@apache.org on 2005/09/09 10:17:08 UTC

cvs commit: tcl-websh/src/generic log.c log.h

ronnie      2005/09/09 01:17:08

  Modified:    src/generic log.c log.h
  Log:
  - all created files with configurable permissions
  - added RequestData to LogData to support that
  
  Revision  Changes    Path
  1.11      +2 -2      tcl-websh/src/generic/log.c
  
  Index: log.c
  ===================================================================
  RCS file: /home/cvs/tcl-websh/src/generic/log.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- log.c	11 Sep 2002 13:54:01 -0000	1.10
  +++ log.c	9 Sep 2005 08:17:08 -0000	1.11
  @@ -512,7 +512,7 @@
   	     * --------------------------------------------------------------------- */
   	    if ((logPlugInData =
   		 logPlugIn->constructor(interp,
  -					NULL, objc - (iCurArg + 1),
  +					clientData, objc - (iCurArg + 1),
   					&(objv[iCurArg + 1]))) == NULL) {
   		destroyLogLevel(logLevel, NULL);
   		WebFreeIfNotNull(name);
  
  
  
  1.5       +4 -1      tcl-websh/src/generic/log.h
  
  Index: log.h
  ===================================================================
  RCS file: /home/cvs/tcl-websh/src/generic/log.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- log.h	13 Feb 2002 17:44:22 -0000	1.4
  +++ log.h	9 Sep 2005 08:17:08 -0000	1.5
  @@ -35,6 +35,7 @@
   #include "macros.h"
   #include "tcl.h"
   #include "webutl.h"
  +#include "request.h"
   
   
   #ifndef WEBLOG_H
  @@ -161,6 +162,8 @@
       int destCnt;
       Tcl_HashTable *listOfPlugIns;
       int logSubst;		/* 1: subst log message, 0: don't (default 1) */
  +    /* needed so that global settings can be accessed */
  +    RequestData * requestData;
   }
   LogData;
   
  
  
  

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