Andrew Tridgell
320ab3c93b
r9007: fixed error code for setting delete on close on a non-empty directory
2007-10-10 13:31:06 -05:00
Andrew Tridgell
f48abaaaca
r8753: fixed directory handling on systems that do not return . and .. as the
...
first two entries in a directory. This is what caused the FC3 system
shelob in the build farm to fail the RAW-UNLINK and RAW-SEARCH tests.
2007-10-10 13:30:02 -05:00
Andrew Tridgell
2e8d154e7d
r8535: no longer rely on seekdir working after a closedir. Instead, keep
...
directories open, but close search states based on an inactivity
timer, with a default of a 5 minute timeout
2007-10-10 13:29:36 -05:00
Andrew Tridgell
ec32b22ed5
r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
...
large commit. I thought this was worthwhile to get done for
consistency.
2007-10-10 13:09:15 -05:00
Andrew Tridgell
6e7754abd0
r4591: - converted the other _p talloc functions to not need _p
...
- added #if TALLOC_DEPRECATED around the _p functions
- fixes the code that broke from the above
while doing this I fixed quite a number of places that were
incorrectly using the non type-safe talloc functions to use the type
safe ones. Some were even doing multiplies for array allocation, which
is potentially unsafe.
2007-10-10 13:08:30 -05:00
Andrew Tridgell
6d471db13a
r4165: added a 100 element name cache to cope with some amount of seeking
...
back to filenames that have been deleted. This fixes the new os/2
delete test.
2007-10-10 13:07:21 -05:00
Andrew Tridgell
ae14905d95
r4163: 2nd attempt at fixing the OS/2 "del *" problem
2007-10-10 13:07:21 -05:00
Andrew Tridgell
7dfffe4ac0
r4162: this should fix the delete/findnext problem from OS/2 clients. Thanks
...
again to kukks for the excellent and detailed bug report
2007-10-10 13:07:21 -05:00
Andrew Tridgell
264ce91810
r3447: more include/system/XXX.h include files
2007-10-10 13:05:12 -05:00
Andrew Tridgell
5352613342
r3268: - fixed wildcard handling in new dirlist code
...
- ensure that d_name from readdir is not used after closedir
2007-10-10 13:04:48 -05:00
Andrew Tridgell
0d98f7653a
r3262: - new pvfs_dirlist code that reopens the directory between search
...
calls. This is needed to allow for "new files appear during a search"
behaviour
- pvfs now passes RAW-SEARCH
2007-10-10 13:04:48 -05:00
Andrew Tridgell
692623c6c0
r3260: redid the pvfs_dirlist() interface in preparation for a "keep
...
directory open" implementation, as opposed to the "load the whole
directory" interface used now. This will be needed to pass RAW-SEARCH
2007-10-10 13:04:47 -05:00
Andrew Tridgell
ed52d69e8a
r2927: imported the hash2 name mangling code from Samba3 into Samba4, but
...
heavily modified to suit the Samba4 architecture.
Samba4 with posix backend now passes the BASE-MANGLE test
2007-10-10 12:59:49 -05:00
Andrew Tridgell
11c852170b
r2786: - match on both long and short name for search posix backend
...
- a final name component of . is illegal
2007-10-10 12:59:33 -05:00
Andrew Tridgell
9087fab0ad
r2679: fixed an uninitialised variable found with valgrind
2007-10-10 12:59:21 -05:00
Andrew Tridgell
8dc23821c9
r2671: we're getting too many errors caused by the talloc_realloc() API not
...
taking a context (so when you pass a NULL pointer you end up with
memory in a top level context). Fixed it by changing the API to take a
context. The context is only used if the pointer you are reallocing is
NULL.
2007-10-10 12:59:20 -05:00
Andrew Tridgell
9710f24b1f
r2503: the RAW-SEARCH test now mostly passes against the posix backend
2007-10-10 12:58:59 -05:00
Andrew Tridgell
40d5cae5eb
r2404: the first large lump of posix vfs stuff.
...
this is still very much a skeleton (with many limbs missing too!). I
am committing this early to get some feedback on the approach taken.
2007-10-10 12:58:48 -05:00