Module Name:    src
Committed By:   christos
Date:           Fri Nov 13 16:02:08 UTC 2015

Modified Files:
        src/common/lib/libc/stdlib: _strtol.h _strtoul.h

Log Message:
comment out 0{b,B} handling.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/common/lib/libc/stdlib/_strtol.h
cvs rdiff -u -r1.8 -r1.9 src/common/lib/libc/stdlib/_strtoul.h

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

Modified files:

Index: src/common/lib/libc/stdlib/_strtol.h
diff -u src/common/lib/libc/stdlib/_strtol.h:1.9 src/common/lib/libc/stdlib/_strtol.h:1.10
--- src/common/lib/libc/stdlib/_strtol.h:1.9	Thu Nov 12 12:31:43 2015
+++ src/common/lib/libc/stdlib/_strtol.h	Fri Nov 13 11:02:07 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: _strtol.h,v 1.9 2015/11/12 17:31:43 christos Exp $ */
+/* $NetBSD: _strtol.h,v 1.10 2015/11/13 16:02:07 christos Exp $ */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -105,11 +105,13 @@ INT_FUNCNAME(_int_, _FUNCNAME, _l)(const
 		c = s[1];
 		s += 2;
 		base = 16;
+#if 0
 	} else if ((base == 0 || base == 2) &&
 	    c == '0' && (*s == 'b' || *s == 'B')) {
 		c = s[1];
 		s += 2;
 		base = 2;
+#endif
 	} else if (base == 0)
 		base = (c == '0' ? 8 : 10);
 

Index: src/common/lib/libc/stdlib/_strtoul.h
diff -u src/common/lib/libc/stdlib/_strtoul.h:1.8 src/common/lib/libc/stdlib/_strtoul.h:1.9
--- src/common/lib/libc/stdlib/_strtoul.h:1.8	Thu Nov 12 12:23:51 2015
+++ src/common/lib/libc/stdlib/_strtoul.h	Fri Nov 13 11:02:07 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: _strtoul.h,v 1.8 2015/11/12 17:23:51 christos Exp $ */
+/* $NetBSD: _strtoul.h,v 1.9 2015/11/13 16:02:07 christos Exp $ */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -102,11 +102,13 @@ INT_FUNCNAME(_int_, _FUNCNAME, _l)(const
 		c = s[1];
 		s += 2;
 		base = 16;
+#if 0
 	} else if ((base == 0 || base == 2) &&
 	    c == '0' && (*s == 'b' || *s == 'B')) {
 		c = s[1];
 		s += 2;
 		base = 2;
+#endif
 	} else if (base == 0)
 		base = (c == '0' ? 8 : 10);
 

Reply via email to