httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/support NWGNUlogres logresolve.c
Date Tue, 11 Mar 2003 19:11:30 GMT
bnicholes    2003/03/11 11:11:30

  Modified:    support  Tag: APACHE_2_0_BRANCH NWGNUlogres logresolve.c
  Log:
  Fix up the log resolve utility to work with NetWare.  Increased the stack size
  and fixed WSAStartup to use the correct version number
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.1   +3 -3      httpd-2.0/support/NWGNUlogres
  
  Index: NWGNUlogres
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/NWGNUlogres,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- NWGNUlogres	16 Oct 2002 23:52:35 -0000	1.3
  +++ NWGNUlogres	11 Mar 2003 19:11:30 -0000	1.3.2.1
  @@ -93,7 +93,7 @@
   # This is used by the link 'name' directive to name the nlm.  If left blank
   # TARGET_nlm (see below) will be used.
   #
  -NLM_NAME		= logreslv
  +NLM_NAME		= logres
   
   #
   # This is used by the link '-desc ' directive.
  @@ -105,7 +105,7 @@
   # This is used by the '-threadname' directive.  If left blank,
   # NLM_NAME Thread will be used.
   #
  -NLM_THREAD_NAME	= logreslv
  +NLM_THREAD_NAME	= logres
   
   #
   # This is used by the '-screenname' directive.  If left blank,
  @@ -122,7 +122,7 @@
   #
   # If this is specified, it will override the default of 64K
   #
  -NLM_STACK_SIZE	= 8192
  +NLM_STACK_SIZE	= 65536
   
   
   #
  
  
  
  1.17.2.1  +3 -3      httpd-2.0/support/logresolve.c
  
  Index: logresolve.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/logresolve.c,v
  retrieving revision 1.17
  retrieving revision 1.17.2.1
  diff -u -r1.17 -r1.17.2.1
  --- logresolve.c	10 May 2002 18:20:29 -0000	1.17
  +++ logresolve.c	11 Mar 2003 19:11:30 -0000	1.17.2.1
  @@ -300,12 +300,12 @@
       char *bar, hoststring[MAXDNAME + 1], line[MAXLINE], *statfile;
       int i, check;
   
  -#ifdef WIN32
  +#if defined(WIN32) || defined(NETWARE)
       /*  If we apr'ify this code, apr_pool_create/apr_pool_destroy
        *  should perform the WSAStartup/WSACleanup for us. 
        */
       WSADATA wsaData;
  -    WSAStartup(0x101, &wsaData);
  +    WSAStartup(MAKEWORD(2, 0), &wsaData);
   #endif
   
       check = 0;
  @@ -362,7 +362,7 @@
   	    puts(hoststring);
       }
   
  -#ifdef WIN32
  +#if defined(WIN32) || defined(NETWARE)
        WSACleanup();
   #endif
   
  
  
  

Mime
View raw message