apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r588061 - in /apr/apr/trunk/include: apr.h.in apr.hnw apr.hw
Date Wed, 24 Oct 2007 22:28:24 GMT
Author: wrowe
Date: Wed Oct 24 15:28:18 2007
New Revision: 588061

URL: http://svn.apache.org/viewvc?rev=588061&view=rev
Log:
Perhaps smaller than long, perhaps larger than long,
let's let ~ bit flipping work this out for us.

Modified:
    apr/apr/trunk/include/apr.h.in
    apr/apr/trunk/include/apr.hnw
    apr/apr/trunk/include/apr.hw

Modified: apr/apr/trunk/include/apr.h.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr.h.in?rev=588061&r1=588060&r2=588061&view=diff
==============================================================================
--- apr/apr/trunk/include/apr.h.in (original)
+++ apr/apr/trunk/include/apr.h.in Wed Oct 24 15:28:18 2007
@@ -348,6 +348,9 @@
 #define APR_UINT64_MAX  APR_UINT64_C(0xffffffffffffffff)
 #endif
 
+#define APR_SIZE_MAX    (~((apr_size_t)0))
+
+
 /* Definitions that APR programs need to work properly. */
 
 /**

Modified: apr/apr/trunk/include/apr.hnw
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr.hnw?rev=588061&r1=588060&r2=588061&view=diff
==============================================================================
--- apr/apr/trunk/include/apr.hnw (original)
+++ apr/apr/trunk/include/apr.hnw Wed Oct 24 15:28:18 2007
@@ -325,6 +325,8 @@
 #define APR_UINT64_MAX  APR_UINT64_C(0xffffffffffffffff)
 #endif
 
+#define APR_SIZE_MAX    (~((apr_size_t)0))
+
 /* PROC mutex is a GLOBAL mutex on Netware */
 #define APR_PROC_MUTEX_IS_GLOBAL      1
 

Modified: apr/apr/trunk/include/apr.hw
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr.hw?rev=588061&r1=588060&r2=588061&view=diff
==============================================================================
--- apr/apr/trunk/include/apr.hw (original)
+++ apr/apr/trunk/include/apr.hw Wed Oct 24 15:28:18 2007
@@ -430,6 +430,8 @@
 #define APR_UINT64_MAX  APR_UINT64_C(0xffffffffffffffff)
 #endif
 
+#define APR_SIZE_MAX    (~((apr_size_t)0))
+
 #if APR_HAVE_IPV6
 
 /* Appears in later flavors, not the originals. */



Mime
View raw message