summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r10528: Add credentials.h back into includes.h as some compilers don'tJelmer Vernooij3-3/+0
seem to be able to handle incomplete enum types. (This used to be commit 540155fad3c8e3d79fb631bb3f14273f82130a73)
2007-10-10r10525: change from AC_CHECK_TYPES() to AC_CHECK_TYPE() for intptr_t, so theAndrew Tridgell2-5/+1
type is always available, which means we need less #ifdefs (This used to be commit d4af4b11ae69a63fa3b2048e6d576055d86d2bb4)
2007-10-10r10524: SAFE_FREE() in tdb does not need the discard_const_p()Andrew Tridgell1-10/+1
the discard_const_p() was causing problems on openbsd where intptr_t is not defined (This used to be commit f02a92787b179a4070227d87e37b7ac092d9e6eb)
2007-10-10r10523: fixed timegm() to not depend on get_time_zone(), so it works in ↵Andrew Tridgell1-12/+2
lib/replace/ the old timegm() replacement was also broken (it returned the wrong value) (This used to be commit 342489a1d4d5cc4b16cf2e5ff7e671326f0cb3d5)
2007-10-10r10522: finally got the locking working on solaris10. This adds a read lock onAndrew Tridgell1-0/+12
the transaction lock in tdb_traverse_read(). This prevents a pattern of locks which triggers the deadlock detection code in solaris10. I suspect solaris10 is trying to prevent lock starvation by granting locks in the order they were requested, which makes it much easier to produce deadlocks. (This used to be commit 54203aacd138c30826d54c5d9b6cc8d6e9e270f8)
2007-10-10r10521: Also check sys/socket.h for definition of socklen_t (needed for AIX)Jelmer Vernooij1-1/+10
(This used to be commit 42eb14060d53dbcbc381ecc781f121279190b08e)
2007-10-10r10517: Get rid of use of next_token() in lib/samba3/Jelmer Vernooij2-39/+19
(This used to be commit 811a6e28cca1ba09a95a89c344f4640b3d1dd74e)
2007-10-10r10516: Add seperator argument to str_list_{make,join}_shell()Jelmer Vernooij1-6/+9
(This used to be commit 0a5c9197f28e5451406d422e0a8ff84c1b20faae)
2007-10-10r10514: Add str_list_make_shell() and str_list_join_shell()Jelmer Vernooij1-0/+82
(This used to be commit 8b86a5da73d38764deb8c1f639322b2911736f97)
2007-10-10r10513: Reduce some use of pstring. The main reason some parts of the code stillJelmer Vernooij2-6/+8
use pstring is next_token() now. (This used to be commit a5b88bcd420eb7ae42283293541519e142be36e3)
2007-10-10r10510: Decrease the amount of data included by includes.h a bitJelmer Vernooij8-26/+19
(This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
2007-10-10r10509: Some more sconscript fixes. Now getting to link stage for smbclientJelmer Vernooij7-75/+79
(This used to be commit 6df956edbab7ad5e72b2f20e74ab0f0d62528932)
2007-10-10r10500: More progress to getting ldb tools building. Create a list of ldb ↵Tim Potter1-28/+48
modules to link in. There's still a whole lot of random other junk (dcerpc, gensec, ndr stuff, lp_foo - what a mess). (This used to be commit b78cf1270bd7eda1aa84d238136a83e64ff3c088)
2007-10-10r10496: - added configure test for sys/time.hAndrew Tridgell2-3/+3
- print length of failed locks (This used to be commit 11739ad31d7b3e1cf94ebf395608647e341257c4)
2007-10-10r10495: older redhat boxes need sys/time.h for select()Andrew Tridgell1-0/+3
(This used to be commit a11762e7bc139b0280e457e682722d955b81d8e5)
2007-10-10r10494: - don't generate a tdb log message for any type of failed lock probeAndrew Tridgell1-5/+2
- if the lock upgrade loop ever fails then log a warning (This used to be commit 1b03c4e6c7e89452a835ef5ff39c07f58b715a22)
2007-10-10r10493: we need sys/select.h to enable select() in the solaris workaroundAndrew Tridgell2-1/+4
(This used to be commit 144cc3da5eadf0dcb28ef722feeed813c033e08a)
2007-10-10r10492: work around a bug in solaris which cases lock upgrades to fail withAndrew Tridgell3-1/+28
EDEADLK even when progress can be made. This is not a good solution, but I can't find anything better. (This used to be commit 980dd17f7d0a622cd772afc9ba15e50007ad9c6e)
2007-10-10r10490: - allow deferred irpc replies to set the statusAndrew Tridgell2-4/+7
- add an example of deferred reply for echodata in LOCAL-IRPC (This used to be commit 858a757a6d0a614b8f13bfb6217034e8a8b69554)
2007-10-10r10489: added the ability for irpc server to defer replies instead of replyingAndrew Tridgell2-49/+86
immediately. They set m->defer_reply = True; (This used to be commit 3dcd800a5d3340d0f4855f9f08e73896ad8c3d83)
2007-10-10r10485: run autoheader before autoconfAndrew Tridgell1-1/+1
(This used to be commit 9456ed3db3b28e4a467e8685f2f1285cf57ce14b)
2007-10-10r10484: try to fix the pread/pwrite declaration problemsAndrew Tridgell3-8/+3
(This used to be commit 196995ea38414ce5a57031c4cdf61b3ed548196a)
2007-10-10r10483: fixed some uninitialised variables warningsAndrew Tridgell2-1/+3
(This used to be commit 315653cf1ecc11c435ee35b20e6cf9c73a67fa68)
2007-10-10r10479: Apply some constVolker Lendecke1-2/+4
(This used to be commit 3e10e8e6618c568f7f55348d829b433e10df472b)
2007-10-10r10478: More work on proto headers; we now generate a couple of smaller onesJelmer Vernooij2-4/+20
that are then included by include/proto.h (This used to be commit 703ffbaaaca11f3d8781cfe9e7542fcaa626d991)
2007-10-10r10477: expose transactions outside ldb and change the API once moreSimo Sorce16-94/+239
do not autostart transactions on ldb operations if a transaction is already in place test transactions on winsdb all my tests passes so far tridge please confirm this is ok for you (This used to be commit c2bb2a36bdbe0ec7519697a9a9ba7526a0defac2)
2007-10-10r10476: Move some more types to libreplace. Fix missing strndup errorsJelmer Vernooij4-15/+43
for heimdal (This used to be commit e09ffdfb1dba289b79ac7e5a638bf5322d45ddc0)
2007-10-10r10475: make sure we report failures in tdbtorture (ie. get the exit status ↵Andrew Tridgell1-1/+1
right) (This used to be commit a795fc0aa141c08af6e37af07c88164bad3db35b)
2007-10-10r10472: Check for strndupVolker Lendecke1-1/+1
(This used to be commit 8335aa056fd8a414feaffa707dc0bc20ac27388f)
2007-10-10r10471: stratos doesn't have getpagesize(), so guess 8k on systems that don'tAndrew Tridgell3-2/+6
have it. Overestimating is harmless. (This used to be commit ab953c8c72060c496876b6f39d388ad2f7e3c7e0)
2007-10-10r10470: solaris8 has a problem with tdbtorture with 3 processes. To see ifAndrew Tridgell1-1/+1
this is just a solaris issue this patch changes the default to 3, and I'll see how many build farm boxes break (This used to be commit c85836bafc9c042deac2a02ef6fddbfeaa5f47f1)
2007-10-10r10469: use the older style of structure initialisation for tdb to make itAndrew Tridgell2-12/+12
more portable. tdb is used in more than just Samba4, and I think the portability/readability balance is a bit different (This used to be commit fc692dc61f06d61cb9126d2a8ccc240cecd11da6)
2007-10-10r10468: - terminate tdbtorture quickly when an error is detectedAndrew Tridgell3-23/+49
- more workarounds for aix not handling malloc of size 0 (This used to be commit c2b1739c6389503854f55fa8407c55071781eff4)
2007-10-10r10467: aix doesn't like zero length malloc :(Andrew Tridgell1-0/+5
(This used to be commit 0177c6ca3e9baa223b5f7b29adc12d862dcb19d8)
2007-10-10r10466: work around missing pread/pwrite declaration on openbsdAndrew Tridgell3-0/+23
(This used to be commit e615f36733966f9992670e3650fbe9b20d7d218c)
2007-10-10r10465: separate out a read_only db from a read-only traversal to ensure weAndrew Tridgell6-12/+13
don't end up doing a mmap read only (This used to be commit 294ccfd46a0c4e1af9365d028acdabec03c41ad3)
2007-10-10r10463: consider it an error if tdbtorture produces any log messagesAndrew Tridgell1-1/+10
(This used to be commit d9ee0e8b59ee52ed1e41865cffe97e32b504e7e7)
2007-10-10r10462: cope better with compilers that don't put the object file in the ↵Andrew Tridgell1-0/+4
same directory as the source (This used to be commit 312491b2511039f3d6308e70c849810c35a3259c)
2007-10-10r10461: fixed tdb build on systems without stdint.hAndrew Tridgell1-2/+2
(This used to be commit 83168c7e76c7e3adcdb0eec1611827d4db09f858)
2007-10-10r10460: fixed portability of transaction code to systems with integerAndrew Tridgell1-6/+7
alignment constraints (like sparc) (This used to be commit bce35ad237a55376b6af98416eec92a7c4b422a6)
2007-10-10r10459: fixed some portability problemsAndrew Tridgell3-0/+6
(This used to be commit 03942dd54b31e7a4cf9c6270b26ccf68a3234b40)
2007-10-10r10456: More SCons fixes:Jelmer Vernooij7-12/+200
- Add framework for fallback generating code - Move pread / pwrite replacement functions to libreplace - Support pidl builds correctly - Support asn1 builds correctly - Move OS-specific checks to lib/replace/SConscript (This used to be commit fbbfad0a1f7dedbf48e835a864f8285f283d72f3)
2007-10-10r10453: Fix the buildJelmer Vernooij2-6/+1
(This used to be commit 7be3ec4dbb919752477e1d995df9f7d295b67687)
2007-10-10r10452: Couple of small scons updates - ignore .sconsign filesJelmer Vernooij3-13/+4
(This used to be commit b2d2b4f23393c727ae3feeaf4b4b65bc03a673f7)
2007-10-10r10449: remove double copyright headerStefan Metzmacher1-21/+0
metze (This used to be commit f6bd76fa154de6ed7f7ef3257be9572f13f3ec48)
2007-10-10r10444: Add LIBBASIC files to proto.hTim Potter1-1/+4
(This used to be commit 1c3748421f53f4a4e61865e1de95c53dc75d5cee)
2007-10-10r10438: Move portability functions to lib/replace/; replace now simply ensuresJelmer Vernooij12-134/+307
that a given set of (working) POSIX functions are available (without prefixes to their names, etc). See lib/replace/README for a list. Functions that behave different from their POSIX specification (such as sys_select, sys_read, etc) have kept the sys_ prefix. (This used to be commit 29919a71059b29fa27a49b1f5b84bb8881de65fc)
2007-10-10r10424: for caller convenience, automatically turn a tdb_traverse() into aAndrew Tridgell1-0/+4
tdb_traverse_read() for read only databases (This used to be commit 9b53e04377d2ff652c4a9496798d2e3aa0dccab3)
2007-10-10r10423: minor changes to the ldb test suite to allow it to work correctly withAndrew Tridgell2-7/+15
a real ldap backend (such as openldap) (This used to be commit d267f8c6231664ec86edb2ae21e8585b1b51f7a1)
2007-10-10r10422: ldb_search() can now use tdb_traverse_read() to ensure it can run inAndrew Tridgell1-1/+1
parallel with any transaction (This used to be commit ddff66298f1a668c5220e24fc47f98d7dfc3068a)