]> git.ipfire.org Git - thirdparty/samba.git/commit
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 17:28:50 +0000 (12:28 -0500)
commit146c0781f39a25a975f9dde562ecc7c913b2357c
treea385a157ca8c6dd317e1b35468eee5fd6aac2139
parente4b268b2b5c732e3d17bfbd266f4b30b56a0dc75
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 e3af95f0983e9f92c10a80ee4f15a0cd718a4728)
source3/lib/tdb/common/io.c