[BACK]Return to strtol.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / stdlib

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/stdlib/strtol.c between version 1.14 and 1.15

version 1.14, 1999/09/16 11:45:36 version 1.15, 1999/09/20 04:39:42
Line 68  strtol(nptr, endptr, base)
Line 68  strtol(nptr, endptr, base)
   
         _DIAGASSERT(nptr != NULL);          _DIAGASSERT(nptr != NULL);
         /* endptr may be NULL */          /* endptr may be NULL */
 #ifdef _DIAGNOSTIC  
         if (nptr == NULL) {  
                 errno = EFAULT;  
                 return (0);  
         }  
 #endif  
   
         /*          /*
          * Skip white space and pick up leading +/- sign if any.           * Skip white space and pick up leading +/- sign if any.

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

CVSweb <webmaster@jp.NetBSD.org>