added error strings for BADNUMBER and OVERFLOW errors
authorewt <devnull@localhost>
Sun, 2 Nov 1997 16:45:17 +0000 (16:45 +0000)
committerewt <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

index 57b0041..ead28da 100644 (file)
@@ -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: