Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/gdtoa/strtopxL.c,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/gdtoa/strtopxL.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- src/lib/libc/gdtoa/strtopxL.c 2006/03/15 17:35:18 1.3 +++ src/lib/libc/gdtoa/strtopxL.c 2008/03/21 23:13:48 1.4 @@ -1,4 +1,4 @@ -/* $NetBSD: strtopxL.c,v 1.3 2006/03/15 17:35:18 kleink Exp $ */ +/* $NetBSD: strtopxL.c,v 1.4 2008/03/21 23:13:48 christos Exp $ */ /**************************************************************** @@ -63,6 +63,8 @@ strtopxL(CONST char *s, char **sp, void ULong *L = (ULong*)V; k = strtodg(s, sp, &fpi, &expt, bits); + if (k == STRTOG_NoMemory) + return k; switch(k & STRTOG_Retmask) { case STRTOG_NoNumber: case STRTOG_Zero: