apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: apr/user/unix homedir.c
Date Sun, 31 Dec 2000 14:19:10 GMT
ben         00/12/31 06:19:10

  Modified:    user/unix homedir.c
  Log:
  Fix a warning.
  
  Revision  Changes    Path
  1.3       +1 -1      apr/user/unix/homedir.c
  
  Index: homedir.c
  ===================================================================
  RCS file: /home/cvs/apr/user/unix/homedir.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- homedir.c	2000/12/30 20:56:35	1.2
  +++ homedir.c	2000/12/31 14:19:09	1.3
  @@ -66,7 +66,7 @@
   apr_status_t apr_get_home_directory(char **dirname, const char *userid, apr_pool_t *p)
   {
       struct passwd *pw;
  -#if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS)
  +#if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && defined(HAVE_GETPWNAM_R)
       struct passwd pwd;
       char pwbuf[512];
   #endif
  
  
  

Mime
View raw message