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

Re: svn commit: r12676 - branches/locking/subversion/libsvn_fs_fs

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-01-12 05:01:46 CET

On Jan 11, 2005, at 2:15 PM, fitz@tigris.org wrote:

> Author: fitz
> Date: Tue Jan 11 14:15:26 2005
> New Revision: 12676
>
> Modified:
> branches/locking/subversion/libsvn_fs_fs/lock.c
> Log:
> Rework the lock storage mechanism for fsfs so that it uses a flat
> directory of files to hold locks. Directories are represented as
> entries files, and both entries files and lock files are named using
> an MD5 hash of their corresponding path name.
>

I'm getting a zillion warnings from this. These *can't* be good.

subversion/libsvn_fs_fs/lock.c: In function `read_entries_file':
subversion/libsvn_fs_fs/lock.c:259: warning: declaration of `buf'
shadows a previous local
subversion/libsvn_fs_fs/lock.c:234: warning: shadowed declaration is
here
subversion/libsvn_fs_fs/lock.c:260: warning: declaration of `nbytes'
shadows a previous local
subversion/libsvn_fs_fs/lock.c:233: warning: shadowed declaration is
here
subversion/libsvn_fs_fs/lock.c: In function `add_hash_to_entries_file':
subversion/libsvn_fs_fs/lock.c:297: warning: declaration of `status'
shadows a previous local
subversion/libsvn_fs_fs/lock.c:288: warning: shadowed declaration is
here
subversion/libsvn_fs_fs/lock.c:322: warning: declaration of `status'
shadows a previous local
subversion/libsvn_fs_fs/lock.c:288: warning: shadowed declaration is
here
subversion/libsvn_fs_fs/lock.c: In function `write_lock_to_file':
subversion/libsvn_fs_fs/lock.c:355: warning: initialization discards
qualifiers from pointer target type
subversion/libsvn_fs_fs/lock.c:374: warning: initialization discards
qualifiers from pointer target type
subversion/libsvn_fs_fs/lock.c: In function `merge_array_components':
subversion/libsvn_fs_fs/lock.c:483: warning: assignment discards
qualifiers from pointer target type
subversion/libsvn_fs_fs/lock.c: In function `get_locks_under_path':
subversion/libsvn_fs_fs/lock.c:817: warning: passing arg 3 of
`apr_file_read' from incompatible pointer type

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 12 05:03:06 2005

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.