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

Re: svnauthz-validate.c: Tool to validate authz files

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-02-17 20:30:08 CET

On 2/17/06, Lieven Govaerts <lgo@mobsol.be> wrote:
> A new version of svnauthz-validate.c is attached.
>
> Changes:
> - changed return values ( 0 when ok, 1 if not ok, 2 if any error )
> - added collabnet license
> - fixed linux build statement for build started in tools folder, changed
> it to:
> cc svnauthz-validate.c -o svnauthz-validate -I../subversion/include
> -I../apr/include -I../apr-util/include -L/usr/local/lib -lsvn_repos-1
> -lsvn_subr-1
> - cleanup of pool and apr
> - pass app.name to svn_cmdline_init

Committed in r18504. Thanks.

For the record, I made a few tweaks. First, you don't need to
explicitly call apr_terminate, we set up an atexit handler for it in
svn_cmdline_init. Second, I added a call to svn_handle_error2, since
it's useful to be able to tell the user what the actual error is. I
also cleaned up some formatting stuff, but nothing bug.

Thanks again!

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 17 20:31:19 2006

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.