1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/lib
Michael Adam af8432e692 r23977: Im prove the pwrite-patch to tdb_expand_file of r23972:
* 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 7f415d1223)
2007-10-10 15:01:13 -05:00
..
appweb r23961: Allow SWAT to operate on x86_64 machines. 2007-10-10 15:01:11 -05:00
charset r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
cmdline r23912: We always accept / as a seperator, and it is far less confusing 2007-10-10 15:01:09 -05:00
compression r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 14:59:18 -05:00
crypto r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
events r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
gencache r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
json r23799: updated old Franklin Street FSF addresses to new URL 2007-10-10 14:59:16 -05:00
ldb r23809: Don't give users the fantasy that we can control choice of GENSEC 2007-10-10 14:59:21 -05:00
messaging r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
popt r22699: Reduce amount of magic required for popt detection. 2007-10-10 14:52:03 -05:00
registry r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
replace r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 14:59:18 -05:00
samba3 r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 14:59:18 -05:00
smbreadline r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
socket r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
socket_wrapper r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
stream r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
talloc r23802: fixed URL in XML 2007-10-10 14:59:19 -05:00
tdb r23977: Im prove the pwrite-patch to tdb_expand_file of r23972: 2007-10-10 15:01:13 -05:00
tdr r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
tls r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
util r23807: added hex_encode_talloc() 2007-10-10 14:59:20 -05:00
basic.mk r22762: Some ldb_map changes: 2007-10-10 14:52:15 -05:00
db_wrap.c r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
db_wrap.h r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
gendb.c r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00
version.c r23792: convert Samba4 to GPLv3 2007-10-10 14:59:12 -05:00