You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2010/09/07 09:28:10 UTC

svn commit: r993253 - /subversion/trunk/subversion/libsvn_subr/win32_xlate.c

Author: rhuijben
Date: Tue Sep  7 07:28:10 2010
New Revision: 993253

URL: http://svn.apache.org/viewvc?rev=993253&view=rev
Log:
* subversion/libsvn_subr/win32_xlate.c
  (get_page_id_from_name): Revert r993183 for this function as it is
    impossible to return a svn_error_t* message via a apr status code.
    This fixes compilation of this file on Windows.

Modified:
    subversion/trunk/subversion/libsvn_subr/win32_xlate.c

Modified: subversion/trunk/subversion/libsvn_subr/win32_xlate.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/win32_xlate.c?rev=993253&r1=993252&r2=993253&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/win32_xlate.c (original)
+++ subversion/trunk/subversion/libsvn_subr/win32_xlate.c Tue Sep  7 07:28:10 2010
@@ -110,7 +110,7 @@ get_page_id_from_name(UINT *page_id_p, c
   if ((page_name[0] == 'c' || page_name[0] == 'C')
       && (page_name[1] == 'p' || page_name[1] == 'P'))
     {
-      SVN_ERR(svn_cstring_atoui(page_id_p, page_name + 2));
+      *page_id_p = atoi(page_name + 2);
       return APR_SUCCESS;
     }