diff options
author | Martin Pool <mbp@samba.org> | 2001-12-04 02:58:42 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2001-12-04 02:58:42 +0000 |
commit | 6c3163cc9715188ee8087c6dbf63776f0dc9f1f5 (patch) | |
tree | cfcadaf2ef65789212e413ae77b6635963aca95b /source3/lib/iconv.c | |
parent | c2e3d8ba018221c0a0b22a91fdb361dd740482b9 (diff) | |
download | samba-6c3163cc9715188ee8087c6dbf63776f0dc9f1f5.tar.gz samba-6c3163cc9715188ee8087c6dbf63776f0dc9f1f5.tar.bz2 samba-6c3163cc9715188ee8087c6dbf63776f0dc9f1f5.zip |
Set errno in tdb_open in cases where we detect an error in opening the
database, but no underlying system call sets errno.
The particular case I had was a mangled .tdb, but there are others.
For this one, set EIO. It's a shame Unix messages aren't more
detailed -- "bad data format" would be better.
(This used to be commit 5630a988be05c21b60aba6304d4aaadce6024817)
Diffstat (limited to 'source3/lib/iconv.c')
0 files changed, 0 insertions, 0 deletions