You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2008/01/04 18:21:26 UTC
svn commit: r608928 - /apr/apr/trunk/include/apr_strings.h
Author: wrowe
Date: Fri Jan 4 09:21:25 2008
New Revision: 608928
URL: http://svn.apache.org/viewvc?rev=608928&view=rev
Log:
A buggered declare that we need to fix in APR 2
Modified:
apr/apr/trunk/include/apr_strings.h
Modified: apr/apr/trunk/include/apr_strings.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_strings.h?rev=608928&r1=608927&r2=608928&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_strings.h (original)
+++ apr/apr/trunk/include/apr_strings.h Fri Jan 4 09:21:25 2008
@@ -311,6 +311,8 @@
* or 0. If base is zero, buf will be treated as base ten unless its
* digits are prefixed with '0x', in which case it will be treated as
* base 16.
+ * @bug *end breaks type safety; where *buf is const, *end needs to be
+ * declared as const in APR 2.0
*/
APR_DECLARE(apr_status_t) apr_strtoff(apr_off_t *offset, const char *buf,
char **end, int base);