You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@locus.apache.org on 2000/12/05 23:08:44 UTC
cvs commit: apr/misc/unix errorcodes.c canonerr.c
wrowe 00/12/05 14:08:42
Modified: . aprlib.def
include apr_compat.h apr_errno.h
misc/unix errorcodes.c
Removed: misc/unix canonerr.c
Log:
Eliminate apr_canonical_error as an apr symbol ... it still exists as
the helper to apr_os_strerror for OS2.
Revision Changes Path
1.49 +0 -1 apr/aprlib.def
Index: aprlib.def
===================================================================
RCS file: /home/cvs/apr/aprlib.def,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- aprlib.def 2000/12/04 19:14:03 1.48
+++ aprlib.def 2000/12/05 22:08:19 1.49
@@ -230,7 +230,6 @@
apr_collapse_spaces
apr_month_snames
apr_day_snames
- apr_canonical_error
apr_strerror
apr_generate_random_bytes
apr_strnatcmp
1.4 +0 -1 apr/include/apr_compat.h
Index: apr_compat.h
===================================================================
RCS file: /home/cvs/apr/include/apr_compat.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- apr_compat.h 2000/10/15 20:12:15 1.3
+++ apr_compat.h 2000/12/05 22:08:26 1.4
@@ -45,7 +45,6 @@
#define ap_os_dso_unload apr_dso_unload
#define ap_os_dso_sym apr_dso_sym
#define ap_os_dso_error apr_dso_error
-#define ap_os_error_message apr_canonical_error
#define ap_os_kill apr_kill
#define ap_overlap_tables apr_overlap_tables
#define ap_overlay_tables apr_overlay_tables
1.48 +0 -8 apr/include/apr_errno.h
Index: apr_errno.h
===================================================================
RCS file: /home/cvs/apr/include/apr_errno.h,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- apr_errno.h 2000/12/04 06:00:36 1.47
+++ apr_errno.h 2000/12/05 22:08:27 1.48
@@ -75,14 +75,6 @@
typedef int apr_status_t;
/**
- * Convert an APR error to a canonical error
- * @param err The APR error value
- * @return The canonical error value
- * @tip see apr/APRDesgin for an explanation of why this is necessary.
- */
-int apr_canonical_error(apr_status_t err);
-
-/**
* Return a human readable string describing the specified error.
* @param statcode The error code the get a string for.
* @param buf A buffer to hold the error string.
1.29 +2 -0 apr/misc/unix/errorcodes.c
Index: errorcodes.c
===================================================================
RCS file: /home/cvs/apr/misc/unix/errorcodes.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- errorcodes.c 2000/11/21 07:56:00 1.28
+++ errorcodes.c 2000/12/05 22:08:38 1.29
@@ -164,6 +164,8 @@
#include <os2.h>
#include <ctype.h>
+int apr_canonical_error(apr_status_t err);
+
static char *apr_os_strerror(char* buf, apr_size_t bufsize, int err)
{
char result[200];