1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

7459 Commits

Author SHA1 Message Date
Jelmer Vernooij
fcce58cc61 Add extra argument free_on_fail to realloc_array() in Samba 4, as used by Samba 3. 2008-10-18 14:12:56 +02:00
Jelmer Vernooij
3189d14152 Use the new memory macro file from Samba 3. 2008-10-18 14:07:51 +02:00
Jelmer Vernooij
dc5dc3b469 Move some of the memory utility macros to a separate header (for now). 2008-10-18 13:59:21 +02:00
Jelmer Vernooij
0132423a09 Share libndr.h between Samba 3 and Samba 4. 2008-10-15 00:35:13 +02:00
Jelmer Vernooij
3bd73c926e Define inttypes macros if not provided by system. 2008-10-14 04:12:53 +02:00
Jelmer Vernooij
b96329f4f9 Define __STDC_FORMAT_MACROS, required for PRIu64 define (among others)
from inttypes.h.
2008-10-14 03:42:54 +02:00
Jelmer Vernooij
fd443f819e Use common fusage implementation. 2008-10-14 02:16:27 +02:00
Tim Prouty
abe443a65e Remove extraneous comment from 0a33d8bd31 2008-10-13 15:10:23 -07:00
Tim Prouty
0a33d8bd31 Check for f_frsize when using statvfs
Add a configure test for the availability of f_frsize in struct
statvfs (for broken platforms that define statvfs but still have
f_bsize/f_iosize). Ported from source3's fsusage:
commit 472519eb69
2008-10-13 14:24:08 -07:00
Jelmer Vernooij
65d5b1e7b4 Test maxsize parameter to file_load() as used in Samba 3. 2008-10-13 16:40:27 +02:00
Jelmer Vernooij
eaba778416 Add test for data_blob_string_const_null. 2008-10-13 16:29:19 +02:00
Jelmer Vernooij
aa982895e5 Add data_blob_string_const_null() function that includes the terminating
null byte and use it in Samba 3.

This matches the behaviour prior to my data_blob changes.
2008-10-13 05:20:26 +02:00
Günther Deschner
d5a11f9679 fix build warnings.
Guenther
2008-10-13 00:40:57 +02:00
Jelmer Vernooij
3994c42f19 Fix number of arguments for file_load() functions. 2008-10-12 19:46:38 +02:00
Jelmer Vernooij
cbe4f1b4fa Move zlib to top-level root. 2008-10-12 18:29:36 +02:00
Jelmer Vernooij
3b0a1b0363 Make util_tdb.h static since it is now used by Samba3. 2008-10-12 17:50:41 +02:00
Jelmer Vernooij
1b99d8fbb5 Use common util_file code. 2008-10-12 17:34:43 +02:00
Jelmer Vernooij
7d371c684d Sync util_tdb implementations. 2008-10-12 16:53:17 +02:00
Jelmer Vernooij
a52e729f30 Move rbtree.[ch] to lib/util. 2008-10-12 16:27:00 +02:00
Jelmer Vernooij
a19929dac1 Add more tests to datablob testsuite. 2008-10-12 05:59:50 +02:00
Jelmer Vernooij
c4d3dc849f Add extra const. 2008-10-12 02:27:38 +02:00
Jelmer Vernooij
d7371dae24 Add one-test testsuite for datablob. 2008-10-12 01:56:11 +02:00
Jelmer Vernooij
771e25b63b Avoid problems with paranoid malloc checker. 2008-10-12 01:48:22 +02:00
Jelmer Vernooij
348be5f1e4 Share data_blob implementation. 2008-10-12 01:46:15 +02:00
Jelmer Vernooij
218f482fbf Use common strlist implementation in Samba 3 and Samba 4. 2008-10-12 00:56:56 +02:00
Jelmer Vernooij
cb78d4593b Cope with changed signature of http_timestring(). 2008-10-11 23:57:44 +02:00
Jelmer Vernooij
75a36a9a54 Add some simple tests for lib/util/time.c 2008-10-11 23:25:35 +02:00
Jelmer Vernooij
bb33097fb7 Make sure x_fdup compiles on Samba 4. 2008-10-11 22:23:07 +02:00
Jelmer Vernooij
e439b3e7ab Use xfile from common lib/util in Samba 3.
Conflicts:

	source3/Makefile.in
2008-10-11 21:52:55 +02:00
Jelmer Vernooij
7a27c07a27 Remove duplicate copy of dlinklist.h. 2008-10-11 21:48:00 +02:00
Jelmer Vernooij
5c44ed6954 Clean up properly. 2008-10-11 21:33:15 +02:00
Jelmer Vernooij
9565999755 Fix include paths to new location of libutil. 2008-10-11 21:31:42 +02:00
Jelmer Vernooij
caa4e42860 Move lib/util from source4 to top-level libutil.
Conflicts:

	source4/Makefile
2008-10-11 21:05:38 +02:00
Jelmer Vernooij
621cf3c9bf Use data_blob() for now, since it seems to be the only function available in both Samba 3 and Samba 4. 2008-10-11 21:02:13 +02:00
Jelmer Vernooij
a85f663485 Make sure to allocate copy for arc4 data, to avoid problems freeing
later.
2008-10-11 20:26:40 +02:00
Jelmer Vernooij
033bc4682b Prevent errors with data_blob() being a macro in s4 and function in s3. 2008-10-11 16:17:14 +02:00
Jelmer Vernooij
f8a02a1a80 Fix subunit files location after cherrypicks. 2008-10-08 03:33:38 +02:00
Jelmer Vernooij
df4e9c7066 Fix path apparently gone wrong by cherrypick. 2008-10-08 02:23:51 +02:00
Jelmer Vernooij
f9facb5120 Move all subunit files to lib directory. 2008-10-08 02:22:39 +02:00
Jelmer Vernooij
99b2089752 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-10-08 02:21:49 +02:00
Jelmer Vernooij
8da78b7325 Move subunit helper utility to specific subunit directory. 2008-10-08 02:19:59 +02:00
Tim Prouty
abf00f710d Changed variable name from f19086872e to match v3-[23]-test 2008-10-07 11:00:54 -07:00
Tim Prouty
f19086872e Fixed "declaration shadows global declaration" warnings.
The patch simply uses a more descriptive variable name for tcp_seq.

../lib/socket_wrapper/socket_wrapper.c:753: warning: declaration of 'tcp_seq' shadows a global declaration
/usr/include/netinet/tcp.h:40: warning: shadowed declaration is here
../lib/socket_wrapper/socket_wrapper.c: In function `swrap_marshall_packet':
../lib/socket_wrapper/socket_wrapper.c:919: warning: declaration of 'tcp_seq' shadows a global declaration
/usr/include/netinet/tcp.h:40: warning: shadowed declaration is here
2008-10-06 17:13:28 -07:00
Jelmer Vernooij
ca44340891 Fix some syntax errors for use with ReST. 2008-10-01 18:06:55 +02:00
Stefan Metzmacher
8b7199e7b2 lib/tdb: increase the version number after some critial changes
The tdb_transaction/traverse interaction fixes are critical.

metze
2008-09-29 04:15:11 +02:00
Jelmer Vernooij
f10d8b8415 Add separate header file for arcfour. 2008-09-24 18:49:58 +02:00
Jelmer Vernooij
e3ef8803ee Fix include paths. 2008-09-24 16:10:53 +02:00
Jelmer Vernooij
2413a72006 Use shared copy of hmac5 implementation. 2008-09-24 15:44:34 +02:00
Jelmer Vernooij
6925202bde Move source4/lib/crypto to lib/crypto. 2008-09-24 15:30:23 +02:00
Stefan Metzmacher
2019a98e46 lib/talloc: move main() out of testsuite.c
metze
2008-09-22 00:20:39 +02:00
Stefan Metzmacher
05525071e0 libreplace: move main() out of testsuite.c
metze
2008-09-22 00:09:12 +02:00
Simo Sorce
3235e25425 Add shared-build target to tdb.
Useful to build multiple standalone libraries that depend on each other
without having to install them to the final install dir during the build.
2008-09-19 18:07:53 -04:00
Simo Sorce
e07400525f Add shared-build target to talloc.
Useful to build multiple standalone libraries that depend on each other
without having to install them to the final install dir during the build.
2008-09-19 18:07:37 -04:00
Simo Sorce
49b89633f1 Fix standalone builds adjusting to new relative path.
Add shared-build target to libreplace.
Useful to build multiple standalone libraries that depend on each other
without having to install them to the final install dir during the build.
2008-09-19 18:06:46 -04:00
Jelmer Vernooij
186d2d83cb Provide tdb.open and ldb.open python functions. 2008-09-19 12:47:52 +02:00
Jelmer Vernooij
a07239ba03 Fix finding of popt sources for systems that don't have popt. 2008-09-17 15:44:16 +02:00
Jelmer Vernooij
7106cd9fd5 Fix merged build. 2008-09-17 14:25:25 +02:00
Jelmer Vernooij
d6983b2e45 Add simple README file. 2008-09-17 14:20:56 +02:00
Jelmer Vernooij
94855cd692 Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00