m4-commit
[Top][All Lists]
Advanced

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

Changes to m4/src/Attic/m4.c,v [branch]


From: Eric Blake
Subject: Changes to m4/src/Attic/m4.c,v [branch]
Date: Mon, 05 Jun 2006 12:41:31 +0000

CVSROOT:        /sources/m4
Module name:    m4
Branch:         branch
Changes by:     Eric Blake <ericb>      06/06/05 12:41:30

Index: src/m4.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/m4.c,v
retrieving revision 1.1.1.1.2.8
retrieving revision 1.1.1.1.2.9
diff -u -b -r1.1.1.1.2.8 -r1.1.1.1.2.9
--- src/m4.c    9 May 2006 11:50:29 -0000       1.1.1.1.2.8
+++ src/m4.c    5 Jun 2006 12:41:29 -0000       1.1.1.1.2.9
@@ -42,7 +42,7 @@
 int debug_level = 0;
 
 /* Hash table size (should be a prime) (-Hsize).  */
-int hash_table_size = HASHMAX;
+size_t hash_table_size = HASHMAX;
 
 /* Disable GNU extensions (-G).  */
 int no_gnu_extensions = 0;
@@ -329,8 +329,8 @@
        break;
 
       case 'H':
-       hash_table_size = atoi (optarg);
-       if (hash_table_size <= 0)
+       hash_table_size = atol (optarg);
+       if (hash_table_size == 0)
          hash_table_size = HASHMAX;
        break;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]