Check-in Number:
|
2414 | |
Date: |
2002-Jul-29 17:07:01 (local)
2002-Jul-29 15:07:01 (UTC) |
User: | ms |
Branch: | |
Comment: |
Synchronize error and warning reporting with new return code additions. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/rc/rc_const.h 1.8 -> 1.9
--- rc_const.h 2002/06/27 15:35:58 1.8
+++ rc_const.h 2002/07/29 15:07:01 1.9
@@ -106,7 +106,13 @@
#define RC_ERRSTR_SYS "System"
#define RC_ERRSTR_IO "Input/Output"
#define RC_ERRSTR_INT "Internal"
+#define RC_ERRSTR_FNC "Funcfile"
+#define RC_ERRSTR_DIR "Location"
+#define RC_ERRSTR_RCF "Rcfile"
+#define RC_ERRSTR_TRM "Terminate"
#define RC_ERRSTR_UNK "Unrecognized"
+#define RC_WRNSTR_OWR "Overwrite"
+#define RC_WRNSTR_NUL "NULLPointer"
#define RC_GLOB_WILD "all"
|
|
ossp-pkg/rc/rc_util.c 1.4 -> 1.5
--- rc_util.c 2002/05/23 18:03:20 1.4
+++ rc_util.c 2002/07/29 15:07:01 1.5
@@ -43,6 +43,12 @@
else if (rv == RC_ERR_SYS) return RC_ERRSTR_SYS;
else if (rv == RC_ERR_IO) return RC_ERRSTR_IO;
else if (rv == RC_ERR_INT) return RC_ERRSTR_INT;
+ else if (rv == RC_ERR_FNC) return RC_ERRSTR_FNC;
+ else if (rv == RC_ERR_DIR) return RC_ERRSTR_DIR;
+ else if (rv == RC_ERR_RCF) return RC_ERRSTR_RCF;
+ else if (rv == RC_ERR_TRM) return RC_ERRSTR_TRM;
+ else if (rv == RC_WRN_OWR) return RC_WRNSTR_OWR;
+ else if (rv == RC_WRN_NUL) return RC_WRNSTR_NUL;
else return RC_ERRSTR_UNK;
}
|
|