apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reid" <dr...@jetnet.co.uk>
Subject [PATCH] Homedir.c
Date Thu, 16 Nov 2000 13:34:01 GMT
FreeBSD doesn't use this piece of code, but shouldn't it be a pointer...

Index: user/unix/homedir.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/user/unix/homedir.c,v
retrieving revision 1.1
diff -u -r1.1 homedir.c
--- user/unix/homedir.c 2000/11/13 03:18:18     1.1
+++ user/unix/homedir.c 2000/11/16 13:32:00
@@ -67,7 +67,7 @@
 {
     struct passwd *pw;
 #if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS)
-    struct passwd pwd;
+    struct passwd *pwd;
     char pwbuf[512];
 #endif




Mime
View raw message