httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r442297 - /httpd/apreq/trunk/library/util.c
Date Mon, 11 Sep 2006 19:23:26 GMT
Author: pgollucci
Date: Mon Sep 11 12:23:26 2006
New Revision: 442297

URL: http://svn.apache.org/viewvc?view=rev&rev=442297
Log:
back out the Solaris change, so I can make a new commit that bumps patch level as well


Modified:
    httpd/apreq/trunk/library/util.c

Modified: httpd/apreq/trunk/library/util.c
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/library/util.c?view=diff&rev=442297&r1=442296&r2=442297
==============================================================================
--- httpd/apreq/trunk/library/util.c (original)
+++ httpd/apreq/trunk/library/util.c Mon Sep 11 12:23:26 2006
@@ -718,29 +718,7 @@
         /* see how far we've come */
         n = 0;
 
-#ifdef SOLARIS2
-# ifdef __GNUC__
-        /*
-         * iovec.iov_len is a long here
-         * which causes a comparison between 
-         * signed(long) and unsigned(apr_size_t)
-         *
-         */
-        while (n < *nelts && len >= (apr_size_t)v[n].iov_len)
-# else
-          /*
-           * Sun C however defines this as size_t which is unsigned
-           * 
-           */
         while (n < *nelts && len >= v[n].iov_len)
-# endif /* !__GNUC__ */
-#else
-          /*
-           * Hopefully everything else does this
-           * (this was the default for years)
-           */
-        while (n < *nelts && len >= v[n].iov_len)
-#endif
             len -= v[n++].iov_len;
 
         if (n == *nelts) {



Mime
View raw message