You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by pg...@apache.org on 2006/09/11 21:23:26 UTC
svn commit: r442297 - /httpd/apreq/trunk/library/util.c
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) {