Hello Mike!

On Friday 27 August 2010 mike wrote:
> Ok. Thanks! Must be close now...
...
> Now I'm getting the following during make:
> Not seen: S_ISDOOR
>      CC url.c
> In file included from url.c:18:
> cache.h:140: warning: 'gnu_inline' attribute directive ignored
> url.c: In function 'url__load_list':
> url.c:807: error: storage size of 'st' isn't known
> url.c:832: warning: implicit declaration of function 'fstat64'
> url.c:807: warning: unused variable 'st'
> url.c: In function 'url__open_session':
> url.c:1103: warning: 'svn_ra_open' is deprecated (declared at
> /opt/local/include/subversion-1/svn_ra.h:632) make[1]: *** [url.o] Error 1
> make: *** [default-target] Error 2
> 
> I've seen this around the boards:"error: storage size of 'st' isn't known"
> but can't find the fix...
Is the attached patch enough to get it working?


Regards,

Phil


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

------------------------------------------------------
http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3928&dsMessageId=2652143

To unsubscribe from this discussion, e-mail: 
[[email protected]].
Index: url.c
===================================================================
--- url.c	(Revision 2438)
+++ url.c	(Arbeitskopie)
@@ -804,7 +804,7 @@
 int url__load_list(char *dir, int reserve_space)
 {
 	int status, fh, l, i;
-	struct stat64 st;
+	struct stat st;
 	char *urllist_mem;
 	int inum, cnt, new_count;
 	svn_revnum_t rev;
@@ -829,7 +829,7 @@
 
 	STOPIF_CODE_ERR(status, status, "Cannot read URL list");
 
-	STOPIF_CODE_ERR( fstat64(fh, &st) == -1, errno,
+	STOPIF_CODE_ERR( fstat(fh, &st) == -1, errno,
 			"fstat() of url-list");
 
 	/* add 1 byte to ensure \0 */

Reply via email to