You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by pq...@apache.org on 2009/03/25 12:02:03 UTC
svn commit: r758214 - /apr/apr/trunk/build/aprenv.py
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