apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r758214 - /apr/apr/trunk/build/aprenv.py
Date Wed, 25 Mar 2009 11:02:03 GMT
Author: pquerna
Date: Wed Mar 25 11:02:00 2009
New Revision: 758214

URL: http://svn.apache.org/viewvc?rev=758214&view=rev
Log:
Scons:
 less percentage signs in the format string macros means less crashes.

Modified:
    apr/apr/trunk/build/aprenv.py

Modified: apr/apr/trunk/build/aprenv.py
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/aprenv.py?rev=758214&r1=758213&r2=758214&view=diff
==============================================================================
--- apr/apr/trunk/build/aprenv.py (original)
+++ apr/apr/trunk/build/aprenv.py Wed Mar 25 11:02:00 2009
@@ -273,17 +273,17 @@
 
     if sizeof_size_t:
       subst['@size_t_value@'] = 'size_t'
-      subst['@size_t_fmt@'] = '#define APR_SIZE_T_FMT "%lu"'
+      subst['@size_t_fmt@'] = '#define APR_SIZE_T_FMT "lu"'
     else:
       subst['@size_t_value@'] = 'apr_int32_t'
-      subst['@size_t_fmt@'] = '#define APR_SIZE_T_FMT "%u"'
+      subst['@size_t_fmt@'] = '#define APR_SIZE_T_FMT "u"'
 
     if sizeof_ssize_t:
       subst['@ssize_t_value@'] = 'ssize_t'
-      subst['@ssize_t_fmt@'] = '#define APR_SSIZE_T_FMT "%ld"'
+      subst['@ssize_t_fmt@'] = '#define APR_SSIZE_T_FMT "ld"'
     else:
       subst['@ssize_t_value@'] = 'apr_int32_t'
-      subst['@ssize_t_fmt@'] = '#define APR_SSIZE_T_FMT "%d"'
+      subst['@ssize_t_fmt@'] = '#define APR_SSIZE_T_FMT "d"'
 
     if conf.Check_apr_big_endian():
       subst['@bigendian@'] = 1



Mime
View raw message