httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-2.0/support logresolve.c
Date Wed, 05 Nov 2003 17:21:56 GMT
jorton      2003/11/05 09:21:56

  Modified:    support  logresolve.c
  Log:
  * support/logresolve.c (strdup): Remove, APR already
  provides this if necessary.
  
  Revision  Changes    Path
  1.19      +0 -13     httpd-2.0/support/logresolve.c
  
  Index: logresolve.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/logresolve.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -u -r1.18 -r1.19
  --- logresolve.c	11 Mar 2003 19:11:17 -0000	1.18
  +++ logresolve.c	5 Nov 2003 17:21:56 -0000	1.19
  @@ -85,19 +85,6 @@
   /* number of buckets in cache hash apr_table_t */
   #define BUCKETS 256
   
  -#if !APR_HAVE_STRDUP
  -char *strdup (const char *str)
  -{
  -    char *dup;
  -
  -    if (!(dup = (char *) malloc(strlen(str) + 1)))
  -	return NULL;
  -    dup = strcpy(dup, str);
  -
  -    return dup;
  -}
  -#endif
  -
   /*
    * struct nsrec - record of nameservice for cache linked list
    * 
  
  
  

Mime
View raw message