summaryrefslogtreecommitdiffstats
path: root/source/lib/tdb
Commit message (Collapse)AuthorAgeFilesLines
* r24049: Some more 64-bit warningsVolker Lendecke2007-07-251-2/+4
|
* r23980: Fix one more use of pwrite in expand_file.Michael Adam2007-07-201-1/+10
| | | | Michael
* r23979: Fix another occurence of (written != requested) as anMichael Adam2007-07-201-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
* r23977: Im prove the pwrite-patch to tdb_expand_file of r23972:Michael Adam2007-07-201-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
* r23972: Fix a bug in pwrite error detection in tdb_expand_file():Michael Adam2007-07-191-3/+3
| | | | | | | The proper error condition is (ret == -1) instead of (ret != number_of_byte_told_to_write). Michael
* r23950: unlink before rename is superfluous.Michael Adam2007-07-181-1/+0
| | | | Michael
* r23925: Use NULL instead of 0 for a void * argument.Michael Adam2007-07-171-1/+1
|
* r23853: Fix a very misleading error message in tdbbackup.Michael Adam2007-07-121-1/+1
| | | | Michael
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-07-101-2/+1
|
* r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell2007-07-102-6/+2
|
* r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell2007-07-1013-26/+13
|
* r23790: LGPLv3+ conversion for our LGPLv2+ library codeAndrew Tridgell2007-07-1013-13/+13
|
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-07-103-6/+3
|
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-07-096-6/+6
| | | | Jeremy.
* r23590: Fix realloc leak on failure case from Jim Meyering <jim@meyering.net>.Jeremy Allison2007-06-221-1/+5
| | | | Jeremy.
* r23371: Fix the misleading comment I added - it really *should*Jeremy Allison2007-06-071-2/+2
| | | | | | say "locks chain and returned record", not "and returns record" Jeremy.
* r23370: Traverse in tdb wasn't consistently using theJeremy Allison2007-06-071-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.
* r23184: Checkin for Tridge: Add a speed test to tdbtoolVolker Lendecke2007-05-291-2/+52
|
* r23161: Add TDB_VOLATILE as open_flag to activate the per-hashchain dead recordVolker Lendecke2007-05-272-0/+5
| | | | optimization.
* r22948: sync lib/tdb/ with SAMBA_3_0Stefan Metzmacher2007-05-1619-480/+3498
| | | | metze
* r22945: merge 22009 from SAMBA_3_0 + some warning fixes for new code:Stefan Metzmacher2007-05-168-23/+23
| | | | | | | | change TDB_DATA from char * to unsigned char * and fix all compiler warnings in the users metze
* r22899: prepare merging from SAMBA_3_0:Stefan Metzmacher2007-05-1531-0/+6993
move source/tdb to source/lib/tdb metze