Jelmer Vernooij
6c3ff9acd1
Include CFLAGS overrides in make file.
...
(This used to be commit f05d5f839e18e078a59ccd262fbffaa2eb4e3672)
2008-02-25 18:29:04 +01:00
Jelmer Vernooij
ab88018a6e
Remove more unnecessary generated code.
...
(This used to be commit 7398bc1a9f0d3cf30db3187a3849dbea6b846bb2)
2008-02-25 18:19:01 +01:00
Jelmer Vernooij
aab0ef161c
Use more GNU-make specific variables.
...
(This used to be commit 1e710575c408ca57b52d0548f2fa4ea713ded03c)
2008-02-25 18:14:03 +01:00
Jelmer Vernooij
943f61be40
Move automatic dependencies code out of perl code.
...
(This used to be commit 9e9d98d75d52846bca88ec7d12b91b140b069868)
2008-02-25 18:05:47 +01:00
Jelmer Vernooij
738fd7fd50
Fix standalone ldb build modules.
...
(This used to be commit 0b133a30a23757cf463ff22dff6372ae5e11d4c7)
2008-02-25 17:33:28 +01:00
Jelmer Vernooij
da8acdb57c
Allow absolute paths to be specified to mkproto.pl.
...
(This used to be commit 6d9fa75a9273d2622642bfe93b2fa470aa95949a)
2008-02-25 17:20:33 +01:00
Jelmer Vernooij
1025deb436
Use $@ where possible.
...
(This used to be commit 1353e3e46a699b77f04fb0e69900bec9b15e0d48)
2008-02-25 15:59:34 +01:00
Jelmer Vernooij
e001b6f1b0
Use realpath for now to work around .. tricks.
...
(This used to be commit c43b0d43cde11991723eff53fefdc38ca036a67e)
2008-02-25 15:53:38 +01:00
Jelmer Vernooij
9bcc28cdec
Remove unused include.
...
(This used to be commit 778e37480fb83c750ef76a625a5df74df276c65d)
2008-02-25 15:48:35 +01:00
Jelmer Vernooij
73a3e8443c
Remove the now unused cflags script.
...
(This used to be commit c8b00610428208266d3cad69d70f01c8f4d3a85b)
2008-02-25 15:39:46 +01:00
Jelmer Vernooij
247220e946
Use addprefix where possible rather than perl expansion of files.
...
(This used to be commit b136ee5d344b1f1b2de697afd6815b8c3cb770ba)
2008-02-25 15:28:55 +01:00
Jelmer Vernooij
46dd75b82a
Fix the build.
...
(This used to be commit 40476bce2e9b4ac6363fe27f1409eee1a3ed4157)
2008-02-25 15:06:51 +01:00
Jelmer Vernooij
d238e06ba2
Integrate asn1 compilation into asn1 compiler.
...
(This used to be commit ca8e347baf67a2f5cdffd7ea1677dab75687b037)
2008-02-25 14:02:40 +01:00
Jelmer Vernooij
584c4a518f
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
Conflicts:
source/build/smb_build/header.pm
source/build/smb_build/makefile.pm
source/lib/ldb/include/ldb_private.h
(This used to be commit 1a646af0647f021d99473a8991c35e616a423ea6)
2008-02-25 12:58:09 +01:00
Stefan Metzmacher
71943b209b
opendb: add odb_update_oplock() call
...
metze
(This used to be commit df576d69c6981a4879a0e9447069fcfacb3588db)
2008-02-25 11:51:17 +01:00
Stefan Metzmacher
6cb9c1c61d
opendb: send also the oplock break level on MSG_NTVFS_OPLOCK_BREAK
...
metze
(This used to be commit 49402007f6e9e02a29792344c088e40d1a9b7acf)
2008-02-25 11:50:39 +01:00
Stefan Metzmacher
27e322bb4d
opendb: add odb_get_key() function to get the key back from a struct odb_lock
...
metze
(This used to be commit 11f35a2a4d383b506ced35ba06120f9531bac70c)
2008-02-25 11:50:30 +01:00
Stefan Metzmacher
599901c139
pvfs_unlink: move stream logic into pvfs_unlink_one()
...
metze
(This used to be commit 438032e12f3040fbb58488ca537e4d8da39b6124)
2008-02-25 08:03:44 +01:00
Stefan Metzmacher
58745900d3
pvfs_unlink: splitup the logic into generic and file specific functions
...
metze
(This used to be commit 7572afdc2635bdf9afbe1eda3c7498d0b5201db3)
2008-02-25 08:03:43 +01:00
Stefan Metzmacher
0634c12abb
pvfs_unlink: add a fast path for the non wildcard case
...
metze
(This used to be commit 83e6c99f78990b6b1df520bdee14b9f931ad0420)
2008-02-25 08:03:42 +01:00
Stefan Metzmacher
d5414cdc63
pvfs_unlink: move !name->stream_exists into the caller
...
metze
(This used to be commit e01554e1617dc3c08a4ed6b4e016fd627f529ef9)
2008-02-25 08:03:41 +01:00
Stefan Metzmacher
a56bd4fa82
pvfs_unlink: pass down union smb_unlink completely to sub functions
...
metze
(This used to be commit 8301189e94be850494482e8c064b2400a5d11157)
2008-02-25 08:03:40 +01:00
Stefan Metzmacher
63b15441f4
pvfs_unlink: pass down a struct pvfs_filename to pvfs_unlink_one()
...
metze
(This used to be commit 43ec7fa2d898ce306557ea9092b6412bcc2f97ec)
2008-02-25 08:03:39 +01:00
Stefan Metzmacher
6f077d4017
pvfs_open: unify talloc behavior in pvfs_can_delete/rename/stat()
...
And also handle NULL for lckp in the error path
without crashing.
metze
(This used to be commit 04eb1be0c67317067ee0ca70c731fef958cd513c)
2008-02-25 08:03:04 +01:00
Stefan Metzmacher
f56ff422a5
pvfs: handle SHARING_VIOLATION and OPLOCK_NOT_GRANTED in pvfs_can_delete/rename()
...
If the caller asks for the odb_lock return it
also if we return NT_STATUS_SHARING_VIOLATION
or NT_STATUS_OPLOCK_NOT_GRANTED so that the caller
can add the pending notification.
metze
(This used to be commit daab9cb11eb540fae7ec3c024a586f5fd02cfc71)
2008-02-25 07:56:18 +01:00
Stefan Metzmacher
1cd2008aa4
pvfs: pass NULL to pvfs_can_*() when no odb_lock is needed by the caller
...
metze
(This used to be commit e585e2306334bd919f567f53d8d08903dfdfb102)
2008-02-25 07:56:06 +01:00
Stefan Metzmacher
a0a0d4a5d0
pvfs_wait: use struct pvfs_wait * instead of void *
...
metze
(This used to be commit 3b70331536d2402814db13a9f1f226a39373313a)
2008-02-25 07:55:09 +01:00
Stefan Metzmacher
fb6f52261a
pvfs_wait: 'private' -> 'private_data' and use talloc_get_type()
...
metze
(This used to be commit 16a7d0cc37614fc41245fdcdf3b5a4a4a421f31d)
2008-02-25 07:55:08 +01:00
Stefan Metzmacher
5dc8d3ed8b
RAW-OPLOCK: remove unused var
...
(This used to be commit 6820da44828172769d9fdfa161acf762e3937a88)
2008-02-25 07:54:25 +01:00
Stefan Metzmacher
a64bd41601
RAW-OPLOCK: fix typo (send oplock releases on the correct connection)
...
metze
(This used to be commit f6ecf59c7555917374fc9e5430034815fd4cd245)
2008-02-25 07:54:24 +01:00
Stefan Metzmacher
77054b42bd
selftest: we pass the BASE-DEFER_OPEN test
...
We just need to pass the same sharedelay time
to smbtorture as we use for smbd.
metze
(This used to be commit 3b78dc7ab2f8e3faffa2eb3ae2462c133e368be3)
2008-02-25 07:42:38 +01:00
Stefan Metzmacher
a622f80c65
BASE-DEFER_OPEN: add torture:sharedelays option to run this test faster
...
metze
(This used to be commit 877cc375d0523cb31324a5d611e73d666e7a9a78)
2008-02-25 07:39:23 +01:00
Volker Lendecke
bd95d6d5db
Respect the return value of asprintf
...
This removes tons of warnings
warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
for me. Lots of that kind left though :-)
(This used to be commit ba29219ea243cc217ab3522b036a82ff8dfeedc8)
2008-02-23 10:26:52 +01:00
Michael Adam
e9b0056586
libreplace: don't use socketwrapper for getifaddrs() implementations.
...
Michael
(cherry picked from commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909)
(This used to be commit a83db886e50b6ceeb71d93bf86fb5e0964b8d45f)
2008-02-22 14:33:51 +01:00
Stefan Metzmacher
3fa76092e6
Happy New Year 2008! :-)
...
metze
(This used to be commit a601ecff4e8cbf71de9f140ee2faa0b75d695559)
2008-02-22 14:08:13 +01:00
Michael Adam
bf7d3b6ef4
libreplace: Fix comment originating from old samba source.
...
Michael
(This used to be commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)
2008-02-22 10:42:22 +01:00
Michael Adam
88c919c14a
libreplace: fix creation of conftest files for getifaddrs tests.
...
Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE.
Michael
(cherry picked from commit 26e6ebc7090b5742deb67805d85d809cafb4543d)
(This used to be commit e00c6513e05afe91d4c419287283b34e931a161c)
2008-02-22 00:41:02 +01:00
Michael Adam
c2f92013c3
Fix linked list of ifaddrs in implementations of rep_getifaddrs.
...
Produce proper list instead of one-node-loop.
Michael
(cherry picked from commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b)
(This used to be commit 744d5ba7adab65a9774a18eb42b7090f49e423f2)
2008-02-22 00:40:53 +01:00
Michael Adam
f86ee1f3c6
Add missing initalizations of lastif in rep_getifaddr implementations.
...
Michael
(cherry picked from commit 65710e752f72070cb911867ff9f31f91904ca5c0)
(This used to be commit 5bd613a2cda5d287706f2ce72f4ee08a7fa45b72)
2008-02-22 00:40:33 +01:00
Michael Adam
c513546cda
libreplace: fix compile errors in getifaddrs.c
...
Michael
(cherry picked from commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637)
(This used to be commit 4da2d999a28c8fd3e93480194a153cf6a10de986)
2008-02-21 18:30:22 +01:00
Michael Adam
840933cd4e
Try and fix getifaddrs check on irix: dont't try to include config.h
...
The missing header file is judged "catastrophic" on irix.
Michael
(cherry picked from commit 5778c90819a5a5cee38be690f442c571f3a6a051)
(This used to be commit 0d4522a06d4465f6eadbdf14381c9e08cf7e1dc9)
2008-02-21 18:18:11 +01:00
Jelmer Vernooij
10e7f9f02d
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
...
(This used to be commit 52a8d06f00ab3900e2186e047902dbcbe3138a01)
2008-02-21 16:11:13 +01:00
Jelmer Vernooij
426e7fef1f
Remove extra whitespace, use public variable in IDL.
...
(This used to be commit bf08b682586f6b9a17d4ec3934836be957ef955c)
2008-02-21 16:10:07 +01:00
Jelmer Vernooij
48307b54f9
Remove more uses of global_loadparm.
...
(This used to be commit 3430cc60972b94d0d238bc39f473feed96949c5d)
2008-02-21 16:01:19 +01:00
Stefan Metzmacher
141f4b8f83
selftest: fix --socket-wrapper-pcap
...
metze
(This used to be commit f5ff4a571cdf7d00d065f4a4996880020f1f459f)
2008-02-21 15:55:06 +01:00
Stefan Metzmacher
e36b159e8c
ldb_sqlite: fix the build
...
metze
(This used to be commit 14c8e3101cc3b0138a551afdf3a94f4bb11bb21d)
2008-02-21 15:52:32 +01:00
Jelmer Vernooij
263a77c561
Remove more uses of global_loadparm.
...
(This used to be commit a1715b1f48ba44bd94844418cc9299649aaf1a5e)
2008-02-21 15:45:32 +01:00
Jelmer Vernooij
ede79ae482
Remove more uses of global_loadparm.
...
(This used to be commit 58a5b1de2b093fe642eb11d76d12db0edf60c25c)
2008-02-21 15:38:35 +01:00
Jelmer Vernooij
d9f8232c34
Remove more uses of global_loadparm.
...
(This used to be commit 230355d2e6e27918dff40823eb238904c7a1870e)
2008-02-21 15:21:45 +01:00
Jelmer Vernooij
921b176484
Remove more uses of global_loadparm.
...
(This used to be commit 47d05ecf6fef66c90994f666b8c63e2e7b5a6cd8)
2008-02-21 14:50:57 +01:00