projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdc2be0
)
added error strings for BADNUMBER and OVERFLOW errors
author
ewt
<devnull@localhost>
Sun, 2 Nov 1997 16:45:17 +0000
(16:45 +0000)
committer
ewt
<devnull@localhost>
Sun, 2 Nov 1997 16:45:17 +0000
(16:45 +0000)
CVS patchset: 1888
CVS date: 1997/11/02 16:45:17
popt/popt.c
patch
|
blob
|
history
diff --git
a/popt/popt.c
b/popt/popt.c
index
57b0041
..
ead28da
100644
(file)
--- a/
popt/popt.c
+++ b/
popt/popt.c
@@
-582,6
+582,10
@@
const char * poptStrerror(const int error) {
return "aliases nested too deeply";
case POPT_ERROR_BADQUOTE:
return "error in paramter quoting";
+ case POPT_ERROR_BADNUMBER:
+ return "invalid numeric value";
+ case POPT_ERROR_OVERFLOW:
+ return "number too large or too small";
case POPT_ERROR_ERRNO:
return strerror(errno);
default: