I'm even more out of my area here than in win32 land, but it looks like user/netware/userinfo.c has some code that isn't actually being used. Specifically the getpwnam_safe function is statically defined, but never called (and doesn't do anything anyway), and the PWBUF_SIZE define is only used for one of the function arguments in getpwnam_safe.

Here's a patch removing the code in question.

-garrett
Index: user/netware/userinfo.c
===================================================================
--- user/netware/userinfo.c     (revision 106112)
+++ user/netware/userinfo.c     (working copy)
@@ -27,15 +27,6 @@
 #include <unistd.h> /* for _POSIX_THREAD_SAFE_FUNCTIONS */
 #endif
 
-#define PWBUF_SIZE 512
-
-static apr_status_t getpwnam_safe(const char *username,
-                                  struct passwd *pw,
-                                  char pwbuf[PWBUF_SIZE])
-{
-    return APR_ENOTIMPL;
-}
-
 APR_DECLARE(apr_status_t) apr_uid_homepath_get(char **dirname,
                                                const char *username,
                                                apr_pool_t *p)

Reply via email to