apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r910419 - /apr/apr/trunk/build/gen-build.py
Date Tue, 16 Feb 2010 07:43:23 GMT
Author: rpluem
Date: Tue Feb 16 07:43:23 2010
New Revision: 910419

URL: http://svn.apache.org/viewvc?rev=910419&view=rev
Log:
* sorted requires python >= 2.4. We only require python 2.3 and do not
  have any better by default on RHEL 4.
  So sort the values by other means.

Modified:
    apr/apr/trunk/build/gen-build.py

Modified: apr/apr/trunk/build/gen-build.py
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/gen-build.py?rev=910419&r1=910418&r2=910419&view=diff
==============================================================================
--- apr/apr/trunk/build/gen-build.py (original)
+++ apr/apr/trunk/build/gen-build.py Tue Feb 16 07:43:23 2010
@@ -197,7 +197,9 @@
     for hdr in deps.keys():
       deps.update(h_deps.get(hdr, {}))
 
-    f.write('%s: %s .make.dirs %s\n' % (obj, file, string.join(sorted(deps.values()))))
+    vals = deps.values()
+    vals.sort()
+    f.write('%s: %s .make.dirs %s\n' % (obj, file, string.join(vals)))
 
   objects.sort()
 



Mime
View raw message