diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-04-30 11:04:28 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-04-30 11:04:28 +0000 |
commit | 03e9cea004bbba72161a5323cf3b4556c94aed8e (patch) | |
tree | 041a2cb50d2285eaf58b6f95efdf75fb0d186b04 /source/locking | |
parent | cc9e007cdfdd300189f89e2a55e4234e47fa842d (diff) | |
download | samba-03e9cea004bbba72161a5323cf3b4556c94aed8e.tar.gz samba-03e9cea004bbba72161a5323cf3b4556c94aed8e.tar.xz samba-03e9cea004bbba72161a5323cf3b4556c94aed8e.zip |
- removed all our old wildcard matching code and replaced it with a
call to ms_fnmatch(). This also removes all the Win9X semantics stuff
and a bunch of other associated cruft.
- moved the stat cache code into statcache.c
- fixed the uint16 alignment requirements of ascii_to_unistr() and
unistr_to_ascii()
- trans2 SMB_FIND_FILE_BOTH_DIRECTORY_INFO returns the short name as
unicode always (at least thats what NT4 does)
- fixed some errors in the in-memory tdb code. Still ugly, but doesn't
crash as much
Diffstat (limited to 'source/locking')
-rw-r--r-- | source/locking/posix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/locking/posix.c b/source/locking/posix.c index 1117bed8daa..7b4075d5d8e 100644 --- a/source/locking/posix.c +++ b/source/locking/posix.c @@ -999,7 +999,7 @@ BOOL release_posix_lock(files_struct *fsp, SMB_BIG_UINT u_offset, SMB_BIG_UINT u ret = False; } - talloc_destroy(ul_ctx); + talloc_destroy(ul_ctx); return ret; } @@ -1020,7 +1020,7 @@ static void delete_posix_lock_entries(files_struct *fsp) Debug function. ****************************************************************************/ -void dump_entry(struct posix_lock *pl) +static void dump_entry(struct posix_lock *pl) { DEBUG(10,("entry: start=%.0f, size=%.0f, type=%d, fd=%i\n", (double)pl->start, (double)pl->size, (int)pl->lock_type, pl->fd )); |