[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r27700 - in trunk/subversion: svnadmin svndumpfilter

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-11-08 19:35:02 CET

Blair Zajac wrote:

> I reverted r27700 in r27714. Let me know that should put things back
> the way they were, except for using the correct C function pointer syntax.

With the attached patch, I can compile svnadmin again.

I now only get one warning:
                                [cl] Compiling 1 files to
'D:\Development\SVN\TortoiseSVN\ext\subversion\debug_win32\svnadmin'.
                                [cl] main.c
                                [cl]
D:\Development\SVN\TortoiseSVN\ext\subversion\subversion\svnadmin\main.c(88)
: warning C4042: 'open_fn' : has bad storage class

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Index: subversion/svnadmin/main.c
===================================================================
--- subversion/svnadmin/main.c (revision 27718)
+++ subversion/svnadmin/main.c (working copy)
@@ -84,8 +84,8 @@
 /* Helper to open stdio streams */
 static svn_error_t *
 create_stdio_stream(svn_stream_t **stream,
- APR_DECLARE(apr_status_t) (*open_fn)(apr_file_t **,
- apr_pool_t *),
+ APR_DECLARE(apr_status_t) open_fn(apr_file_t **,
+ apr_pool_t *),
                     apr_pool_t *pool)
 {
   apr_file_t *stdio_file;

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 8 20:33:33 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.