summaryrefslogtreecommitdiff
path: root/source3/lib/tdb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24049: Some more 64-bit warningsVolker Lendecke1-2/+4
(This used to be commit eabe796e464e5fe10d0f4cca1362985c529f5a5b)
2007-10-10r23980: Fix one more use of pwrite in expand_file.Michael Adam1-1/+10
Michael (This used to be commit de0ef9134650e3e7cc5b5cfec9e8dd8510bd6677)
2007-10-10r23979: Fix another occurence of (written != requested) as anMichael Adam1-5/+22
error condition to write. This is in tdb_new_database. Fix one call to tdb_new_database in tdb_open_ex to not overwrite the newly propagated errno (typically ENOSPC). Michael (This used to be commit 24fed55d72a4922bfd3ddba61449fbae01365feb)
2007-10-10r23977: Im prove the pwrite-patch to tdb_expand_file of r23972:Michael Adam1-7/+20
* prevent infinite loops due to 0 bytes written: try once more. if we still get 0 as return, set errno to ENOSPC and return -1 (error) * replace int by correct types (ssize_t and size_t). * print a warning log message in case "written < requested to write" usually this means, that the next call to pwrite will fail with return value -1 and set errno accordingly. Note that the former error condition "written != requested to write" is not a correct error condition of write/pwrite. If this is due to an error, a subsequent call to (p)write will reveal the cause (typically "no space left on device" - ENOSPC). Michael (This used to be commit 5b8d53dfe1872621bf28c8351d87bfc53ef6e66b)
2007-10-10r23972: Fix a bug in pwrite error detection in tdb_expand_file():Michael Adam1-3/+3
The proper error condition is (ret == -1) instead of (ret != number_of_byte_told_to_write). Michael (This used to be commit e3af95f0983e9f92c10a80ee4f15a0cd718a4728)
2007-10-10r23950: unlink before rename is superfluous.Michael Adam1-1/+0
Michael (This used to be commit 63c4c40cf7055ab7cf413a23e306cf209a1dd0a1)
2007-10-10r23925: Use NULL instead of 0 for a void * argument.Michael Adam1-1/+1
(This used to be commit 864b3d260f3b099b1f24edf4ed0a7ed52b05f6cc)
2007-10-10r23853: Fix a very misleading error message in tdbbackup.Michael Adam1-1/+1
Michael (This used to be commit 3a2a032a44502eebdb61faf9cfdb3e54f5072514)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell2-6/+2
(This used to be commit 43cd589773148fe3d243892768ce187604dd0c33)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell13-26/+13
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
2007-10-10r23790: LGPLv3+ conversion for our LGPLv2+ library codeAndrew Tridgell13-13/+13
(This used to be commit 1b78cace504f60c0f525765fbf59d9cc6506cd4d)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell3-6/+3
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison3-3/+3
Jeremy. (This used to be commit c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison3-3/+3
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23590: Fix realloc leak on failure case from Jim Meyering <jim@meyering.net>.Jeremy Allison1-1/+5
Jeremy. (This used to be commit d7b39e4534d85c84e8b24668ab7d7a93d5647c23)
2007-10-10r23371: Fix the misleading comment I added - it really *should*Jeremy Allison1-2/+2
say "locks chain and returned record", not "and returns record" Jeremy. (This used to be commit bf951e3d7f0310cc624abab11a7fb04c50770425)
2007-10-10r23370: Traverse in tdb wasn't consistently using theJeremy Allison1-8/+10
travlocks.lock_rw for lock read/write types, it was sometimes using it (tdb_next_lock) and sometimes explicitly using F_WRLCK instead. Change this to consistently use travlocks.lock_rw only. I'm pretty sure about this fix (else I woudn't be checking this in :-) but tridge and Volker please review. Jeremy. (This used to be commit d0b64567630ec02eb437aa713847bb23a8be8a60)
2007-10-10r23184: Checkin for Tridge: Add a speed test to tdbtoolVolker Lendecke1-2/+52
(This used to be commit a343521439f68c76c9939f04eea96c6e6d6b01e4)
2007-10-10r23161: Add TDB_VOLATILE as open_flag to activate the per-hashchain dead recordVolker Lendecke2-0/+5
optimization. (This used to be commit 945f73fa39ba6f2b637379ac20d52b4d0306d77f)
2007-10-10r22641: Install tdbdump and tdbbackup.Jelmer Vernooij2-3/+3
(This used to be commit 232c5c65578e3cddffe7e6ed996de7fc42b32f48)
2007-10-10r22364: sync lib/tdb/ with samba4Stefan Metzmacher10-82/+3300
there's no code change here... metze (This used to be commit 562a9ce019af802b4a71c210b69bc8b93ebcd76f)
2007-10-10r22363: merge from samba4:Stefan Metzmacher1-1/+1
fix compiler warning metze (This used to be commit e9200b4475bcae4fd5eaaf94905c8a9beccd635a)
2007-10-10r22317: add tdb_ prefix to non static functionStefan Metzmacher3-8/+8
metze (This used to be commit 56e31d60c672689e934fbed2794c7c54cf874b11)
2007-10-10r22316: merge from samba4:Stefan Metzmacher1-2/+2
this function should be static metze (This used to be commit f722fd32da56aabca2fffe243e89177bc23e2be7)
2007-10-10r22315: move tdbback.c content into tdbbackup.cStefan Metzmacher3-273/+169
and make the functions static. also use libreplace headers in tdbbackup.c metze (This used to be commit 1ca12b1c9e7e8267fa13a40ebeb2bdcd199237de)
2007-10-10r22314: use libreplace headersStefan Metzmacher1-12/+4
metze (This used to be commit d757cdc092b07972c110208717f13fdc0656f55f)
2007-10-10r22249: move tdb code to lib/tdb/ as in samba4Stefan Metzmacher31-0/+6905
metze (This used to be commit c7def92a9c2e17c90061ef17bc14e36250574e85)