Module Name:    src
Committed By:   christos
Date:           Thu May  7 20:31:44 UTC 2009

Modified Files:
        src/lib/libc/gdtoa: gdtoaimp.h

Log Message:
Change Kmax so we allocate enough freelist entries to handle large field
numbers. Reported by Maksymilian Arciemowicz


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/gdtoa/gdtoaimp.h

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

Modified files:

Index: src/lib/libc/gdtoa/gdtoaimp.h
diff -u src/lib/libc/gdtoa/gdtoaimp.h:1.6 src/lib/libc/gdtoa/gdtoaimp.h:1.7
--- src/lib/libc/gdtoa/gdtoaimp.h:1.6	Sat Feb  3 11:44:02 2007
+++ src/lib/libc/gdtoa/gdtoaimp.h	Thu May  7 16:31:44 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: gdtoaimp.h,v 1.6 2007/02/03 16:44:02 christos Exp $ */
+/* $NetBSD: gdtoaimp.h,v 1.7 2009/05/07 20:31:44 christos Exp $ */
 
 /****************************************************************
 
@@ -489,7 +489,7 @@
 	} while (/* CONSTCOND */ 0)
 #endif
 
-#define Kmax 15
+#define Kmax (sizeof(size_t) << 3)
 
  struct
 Bigint {

Reply via email to