27 Oct 2002 05:59
[PATCH] Modularizing key-test.c
Shlomi Fish <shlomif <at> vipe.technion.ac.il>
2002-10-27 04:59:16 GMT
2002-10-27 04:59:16 GMT
I noticed key-test.c contained a lot of duplicate code so I modularized it a bit by using an array of structs to process. Here is the patch. Regards, Shlomi Fish ---------------------------------------------------------------------- Shlomi Fish shlomif <at> vipe.technion.ac.il Home Page: http://t2.technion.ac.il/~shlomif/ He who re-invents the wheel, understands much better how a wheel works.
--- subversion/subversion/tests/libsvn_fs/key-test.c.orig 2002-10-27 06:23:53.000000000 +0200
+++ subversion/subversion/tests/libsvn_fs/key-test.c 2002-10-27 06:56:30.000000000 +0200
<at> <at> -28,161 +28,94 <at> <at>
-static svn_error_t *
-next_key (const char **msg,
- svn_boolean_t msg_only,
- apr_pool_t *pool)
+struct next_key_struct
{
- apr_size_t len, olen;
(Continue reading)
RSS Feed