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

Re: String type madness

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-07-26 17:43:53 CEST

Branko =?ISO-8859-2?Q?=C8ibej?= <brane@xbc.nu> writes:

> Instead, I decided to resurrect a config file parsing library -- which /
> should/ be in M3, IMHO -- I have lying around (It's LGPL, but I'm the
> author, got a loopohole :-). I'm banging it into shape for Subversion,

FYI -- look in the Attic of libsvn_subr:

  http://subversion.tigris.org/source/browse/subversion/subversion/libsvn_subr/Attic/

I wrote a config-file parser just like this last summer for
Subversion, but then tossed it. It's already in our tree. And it
parses config files exactly like our build.conf, exactly like win32
.ini files. And there's even a test for it in libsvn_subr/parsetest/.
It just returns a hash of hashes; the first hash key is the name of
the [section], and it's value is another hash that contains all the
key:val pairs.

I'm only pointing this out because adding a whole library for this
might be heavy-handed. It might be easier just to move svn_parse.[ch]
back into libsvn_subr. But then maybe your library does much more. :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:33 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.