You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rb...@locus.apache.org on 2000/12/21 15:51:35 UTC

cvs commit: apr/strings apr_strings.c

rbb         00/12/21 06:51:35

  Modified:    .        CHANGES
               i18n/unix xlate.c
               misc/unix getuuid.c
               passwd   apr_getpass.c
               strings  apr_strings.c
  Log:
  Cleanup a group of apr compil warnings on Solaris
  Submitted by:   Dale Ghent <da...@elemental.org>
  
  Revision  Changes    Path
  1.28      +4 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- CHANGES	2000/12/18 20:17:46	1.27
  +++ CHANGES	2000/12/21 14:51:19	1.28
  @@ -1,4 +1,8 @@
   Changes with APR b1
  +
  +  *) Cleanup some compiler warnings on Solaris
  +     [Dale Ghent <da...@elemental.org>
  +
     *) apr_getaddrinfo() can now return multiple addresses for a host
        via the next field in apr_sockaddr_t.  [Jeff Trawick]
   
  
  
  
  1.15      +3 -0      apr/i18n/unix/xlate.c
  
  Index: xlate.c
  ===================================================================
  RCS file: /home/cvs/apr/i18n/unix/xlate.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- xlate.c	2000/11/30 19:19:32	1.14
  +++ xlate.c	2000/12/21 14:51:22	1.15
  @@ -67,6 +67,9 @@
   #ifdef HAVE_STDDEF_H
   #include <stddef.h> /* for NULL */
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   #ifdef HAVE_LANGINFO_H
   #include <langinfo.h>
   #endif
  
  
  
  1.5       +3 -0      apr/misc/unix/getuuid.c
  
  Index: getuuid.c
  ===================================================================
  RCS file: /home/cvs/apr/misc/unix/getuuid.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- getuuid.c	2000/10/09 19:03:20	1.4
  +++ getuuid.c	2000/12/21 14:51:26	1.5
  @@ -66,6 +66,9 @@
   #include "apr_uuid.h"
   #include "apr_md5.h"
   #include "apr_general.h"
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   #ifdef HAVE_NETDB_H
   #include <netdb.h>
   #endif
  
  
  
  1.7       +3 -0      apr/passwd/apr_getpass.c
  
  Index: apr_getpass.c
  ===================================================================
  RCS file: /home/cvs/apr/passwd/apr_getpass.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- apr_getpass.c	2000/12/20 16:20:18	1.6
  +++ apr_getpass.c	2000/12/21 14:51:33	1.7
  @@ -73,6 +73,9 @@
   #if HAVE_STDLIB_H
   #include <stdlib.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   #if defined(HAVE_TERMIOS_H) && !defined(HAVE_GETPASS)
   #include <termios.h>
  
  
  
  1.5       +3 -0      apr/strings/apr_strings.c
  
  Index: apr_strings.c
  ===================================================================
  RCS file: /home/cvs/apr/strings/apr_strings.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- apr_strings.c	2000/11/27 19:13:10	1.4
  +++ apr_strings.c	2000/12/21 14:51:34	1.5
  @@ -59,6 +59,9 @@
   #ifdef HAVE_STDDEF_H
   #include <stddef.h> /* NULL */
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   APR_DECLARE(char *) apr_pstrdup(apr_pool_t *a, const char *s)
   {