Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r24049: Some more 64-bit warnings | Volker Lendecke | 2007-07-25 | 1 | -2/+4 |
| | |||||
* | r23980: Fix one more use of pwrite in expand_file. | Michael Adam | 2007-07-20 | 1 | -1/+10 |
| | | | | Michael | ||||
* | r23979: Fix another occurence of (written != requested) as an | Michael Adam | 2007-07-20 | 1 | -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 Adam | 2007-07-20 | 1 | -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 Adam | 2007-07-19 | 1 | -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 Adam | 2007-07-18 | 1 | -1/+0 |
| | | | | Michael | ||||
* | r23925: Use NULL instead of 0 for a void * argument. | Michael Adam | 2007-07-17 | 1 | -1/+1 |
| | |||||
* | r23853: Fix a very misleading error message in tdbbackup. | Michael Adam | 2007-07-12 | 1 | -1/+1 |
| | | | | Michael | ||||
* | r23801: The FSF has moved around a lot. This fixes their Mass Ave address. | Andrew Tridgell | 2007-07-10 | 1 | -2/+1 |
| | |||||
* | r23799: updated old Franklin Street FSF addresses to new URL | Andrew Tridgell | 2007-07-10 | 2 | -6/+2 |
| | |||||
* | r23798: updated old Temple Place FSF addresses to new URL | Andrew Tridgell | 2007-07-10 | 13 | -26/+13 |
| | |||||
* | r23790: LGPLv3+ conversion for our LGPLv2+ library code | Andrew Tridgell | 2007-07-10 | 13 | -13/+13 |
| | |||||
* | r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text | Andrew Tridgell | 2007-07-10 | 3 | -6/+3 |
| | |||||
* | r23780: Find and fix more GPL2 -> GPL3. | Jeremy Allison | 2007-07-09 | 6 | -6/+6 |
| | | | | Jeremy. | ||||
* | r23590: Fix realloc leak on failure case from Jim Meyering <jim@meyering.net>. | Jeremy Allison | 2007-06-22 | 1 | -1/+5 |
| | | | | Jeremy. | ||||
* | r23371: Fix the misleading comment I added - it really *should* | Jeremy Allison | 2007-06-07 | 1 | -2/+2 |
| | | | | | | say "locks chain and returned record", not "and returns record" Jeremy. | ||||
* | r23370: Traverse in tdb wasn't consistently using the | Jeremy Allison | 2007-06-07 | 1 | -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 tdbtool | Volker Lendecke | 2007-05-29 | 1 | -2/+52 |
| | |||||
* | r23161: Add TDB_VOLATILE as open_flag to activate the per-hashchain dead record | Volker Lendecke | 2007-05-27 | 2 | -0/+5 |
| | | | | optimization. | ||||
* | r22948: sync lib/tdb/ with SAMBA_3_0 | Stefan Metzmacher | 2007-05-16 | 19 | -480/+3498 |
| | | | | metze | ||||
* | r22945: merge 22009 from SAMBA_3_0 + some warning fixes for new code: | Stefan Metzmacher | 2007-05-16 | 8 | -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 Metzmacher | 2007-05-15 | 31 | -0/+6993 |
move source/tdb to source/lib/tdb metze |