Jeremy Allison
e99b77985d
Don't double-increment p in hash calculation. Found by valgrind.
...
Jeremy.
(This used to be commit 514d9361c7be8cb8ef1a1309773baab1d982eea6)
2003-09-08 21:33:18 +00:00
Jeremy Allison
c4b69a9ca1
Use djb-algorithm string hash - faster than the tdb one we used to use.
...
Jeremy.
(This used to be commit f094555ed9d4f72841869e79037d6ff980ebe324)
2003-09-06 21:43:23 +00:00
Andrew Bartlett
266ec4aac0
Merge doxygen, signed/unsigned, const and other small fixes from HEAD to 3.0.
...
Andrew Bartlett
(This used to be commit 9ef0d40c3f8aef52ab321dc065264c42065bc876)
2003-02-24 03:09:08 +00:00
Tim Potter
cd68afe312
Removed version number from file header.
...
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-30 06:08:46 +00:00
Tim Potter
dc1fc3ee8e
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
...
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-10-02 04:29:50 +00:00
Andrew Tridgell
666f8a09b2
fixed the really awful performance problem with the stat cache when it
...
ran out of primes and used a power of two hash modulus. It ended up
sticking all the entries in just a few buckets. Yuck!
(This used to be commit fdc9952391027e209fbd24f7794b1c2b551b1f9f)
2001-09-25 06:39:41 +00:00
Andrew Bartlett
2309cd7f64
Fix (I hope) compile on HP-UX. Found by the build farm.
...
(This used to be commit fd5c67d35a3e9eaee6c54151c5fd9381a47c7b14)
2001-09-19 04:16:35 +00:00
Simo Sorce
484a7c0341
move to SAFE_FREE()
...
(This used to be commit 60e907b7e8e1c008463a88ed2b076344278986ef)
2001-09-17 02:19:44 +00:00
Jeremy Allison
495aa4c28a
string_hash() should be static. hash_clear() should be void.
...
Jeremy.
(This used to be commit e8ab89fbc0b6cec9f3e80fe4327992b2ec7a4a40)
2001-05-12 20:15:39 +00:00
Jeremy Allison
4248374c84
Made re-init of stat cache explicit rather than being hidden.
...
Jeremy.
(This used to be commit b0c40236bb4381fec0e812c20e5f8c09ebf005f9)
2000-10-04 22:37:33 +00:00
Jeremy Allison
eab8f3c940
Fix from Elrond for hash table corruption. Should fix stat cache bug (I
...
sincerely hope :-). Thanks elrond !
Jeremy.
(This used to be commit 0d59e8c6bf49e06f11b386f9d805474771365f52)
2000-06-09 18:54:41 +00:00
Jeremy Allison
ace4006c9f
Added hash-based stat cache code from Ying Chen.
...
Jeremy.
(This used to be commit b62a1bd6328f5894ae1a2fef3ef6fc66304ade52)
2000-01-26 21:25:35 +00:00