dreid 01/12/13 16:15:50
Modified: . STATUS
misc/unix errorcodes.c
Log:
This correct error reporting on BeOS. The problem is autoconf, but
despite a bit of time I can't isolate it. Added a note to STATUS to
remind myself to get round to it and remove the hack this patch adds.
Revision Changes Path
1.82 +7 -1 apr/STATUS
Index: STATUS
===================================================================
RCS file: /home/cvs/apr/STATUS,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- STATUS 2001/12/13 09:27:35 1.81
+++ STATUS 2001/12/14 00:15:50 1.82
@@ -1,5 +1,5 @@
APACHE PORTABLE RUNTIME (APR) LIBRARY STATUS:
-*-text-*-
-Last modified at [$Date: 2001/12/13 09:27:35 $]
+Last modified at [$Date: 2001/12/14 00:15:50 $]
Release:
@@ -32,6 +32,8 @@
not yet complete on all platforms. Components that are incomplete
or missing include:
Beos: apr_thread_cond_*()
+ Initial code committed. Aaron has some concerns, David agrees
+ and will find time to address the issues.
Netware: apr_proc_mutex_*() (Is proc_mutex unnecessary on Netware?)
OS/2: apr_thread_cond_*(), apr_proc_mutex_*()
@@ -277,6 +279,10 @@
partition when you call fcntl(F_SETLKW). It may be good if we
can somehow detect this and error out when creating the lock
rather than waiting for the error to occur when acquiring lock.
+
+ * Fix autoconf tests for strerror_r on BeOS and remove the hack in
+ misc/unix/errorcodes.c to get error reporting working. Committed as
+ the solution is elusive at present.
Documentation that needs writing:
1.46 +1 -1 apr/misc/unix/errorcodes.c
Index: errorcodes.c
===================================================================
RCS file: /home/cvs/apr/misc/unix/errorcodes.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- errorcodes.c 2001/12/07 15:48:06 1.45
+++ errorcodes.c 2001/12/14 00:15:50 1.46
@@ -357,7 +357,7 @@
}
#endif
-#if defined(HAVE_STRERROR_R) && defined(STRERROR_R_RC_INT)
+#if defined(HAVE_STRERROR_R) && defined(STRERROR_R_RC_INT) && !defined(BEOS)
/* AIX and Tru64 style */
static char *native_strerror(apr_status_t statcode, char *buf,
apr_size_t bufsize)