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

Re: svn @1621 segmentation fault in apr_pool_create_ex

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-04-05 01:03:05 CEST

> #include <stdio.h>
> #include <stdlib.h>
> #include <svn_pools.h>
> #include <svn_client.h>
>
> int main(int argc, char **argv) {
> apr_pool_t *localPool;
>
> if(argc != 2) {
> printf("Usage: %s repos_url\n", argv[0]);
> exit(1);
> }

Put an apr_initialize() in here, before you start using pools.

>
> localPool = svn_pool_create((apr_pool_t *)NULL);
> return(0);
> }
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 5 01:04:22 2002

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