r23972: Fix a bug in pwrite error detection in tdb_expand_file():
authorMichael Adam <obnox@samba.org>
Thu, 19 Jul 2007 13:46:26 +0000 (13:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:01:13 +0000 (15:01 -0500)
commitd568e2b1d3ae65d2f7a7fd2c6e7e317b396ebbcf
tree25affdf7efd9bf70c791b0c4586efdeb3474cc18
parent3a1b90ec755d89d9d7a358c0f477e51b217218ea
r23972: Fix a bug in pwrite error detection in tdb_expand_file():
The proper error condition is (ret == -1) instead of
(ret != number_of_byte_told_to_write).

Michael
(This used to be commit 4c3c6363f860ec01d3c789ef8ee2aa3eb77000dc)
source4/lib/tdb/common/io.c