NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/39399: __UINT_MAX false in strtouq.c.



>Number:         39399
>Category:       lib
>Synopsis:       __UINT_MAX  false in strtouq.c.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 24 14:10:00 +0000 2008
>Originator:     Henning Petersen
>Release:        
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:
? strtouq.c.diff
Index: strtouq.c
===================================================================
RCS file: /cvsroot/src/lib/libc/stdlib/strtouq.c,v
retrieving revision 1.19
diff -u -r1.19 strtouq.c
--- strtouq.c   20 Aug 2008 12:42:26 -0000      1.19
+++ strtouq.c   24 Aug 2008 12:19:30 -0000
@@ -38,6 +38,6 @@
 
 #define        _FUNCNAME       strtouq
 #define        __UINT          u_quad_t
-#define        __UINT_MAX      QUAD_MAX
+#define        __UINT_MAX      UQUAD_MAX
 
 #include "_strtoul.h"



Home | Main Index | Thread Index | Old Index