> So I'm running fsvs on a Centos 4.4 (RHEL4u4) machine and I get a problem.
>
> Heres what I do
...
>
> An error occurred: Invalid argument (22)
>   in ci__nondir: : cb_open_tmp
> FSVS (licensed under the GPLv2), (C) by Ph. Marek; version fsvs-1.0.14:479

Well, you're the first one to use fsvs over http, and this seems to need
the tempfile-callback.

Does this work for you? (untested, as I don't use http)


=== racallback.c
==================================================================
--- racallback.c        (revision 860)
+++ racallback.c        (local)
@@ -22,7 +22,14 @@
                void *callback_baton,
                apr_pool_t *pool)
 {
-               return svn_error_create (EINVAL, NULL, "cb_open_tmp");
+       int status;
+       char buffer[]="fsvs.XXXXXX.tmp";
+
+       STOPIF( apr_file_mktemp(fp, buffer, 0, pool),
+                       "Cannot create a temporary file");
+ex:
+
+       RETURN_SVNERR(status);
 }

 struct svn_ra_callbacks_t cb__cb_table=


-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to