apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r617348 - /apr/apr/trunk/build/jlibtool.c
Date Fri, 01 Feb 2008 04:45:14 GMT
Author: jerenkrantz
Date: Thu Jan 31 20:45:13 2008
New Revision: 617348

URL: http://svn.apache.org/viewvc?rev=617348&view=rev
Log:
Permit linkage with up to 1024 files.

* build/jlibtool.c
  (init_count_chars): Make PATH_MAX the upper bound number of entries not
  PATH_MAX/4 implicitly.

Modified:
    apr/apr/trunk/build/jlibtool.c

Modified: apr/apr/trunk/build/jlibtool.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/jlibtool.c?rev=617348&r1=617347&r2=617348&view=diff
==============================================================================
--- apr/apr/trunk/build/jlibtool.c (original)
+++ apr/apr/trunk/build/jlibtool.c Thu Jan 31 20:45:13 2008
@@ -322,7 +322,7 @@
 
 void init_count_chars(count_chars *cc)
 {
-    cc->vals = (const char**)malloc(PATH_MAX);
+    cc->vals = (const char**)malloc(PATH_MAX*sizeof(char*));
     cc->num = 0;
 }
 



Mime
View raw message