diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-08-17 18:20:48 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-08-17 18:20:48 +0000 |
commit | 9fd45622e2cda584e13bf1d3f08960d4fead3c0d (patch) | |
tree | 31ce33c0642a9fde9c9c47514bbdf2022eded831 /po/.cvsignore | |
parent | e22604d840c4db32fed14e59f56c5e4f419692d8 (diff) | |
download | gdbm-9fd45622e2cda584e13bf1d3f08960d4fead3c0d.tar.gz gdbm-9fd45622e2cda584e13bf1d3f08960d4fead3c0d.tar.bz2 |
Make sure errno is preserved, if it can contain details about the gdbm error.
* src/gdbmdefs.h (SAVE_ERRNO): New macro.
* src/gdbmopen.c: Use SAVE_ERRNO where it is important to
preserve system errno.
* src/mmap.c: Likewise.
* doc/gdbm.texinfo: Document which gdbm errors can
be detailed by inspecting the system errno.
Diffstat (limited to 'po/.cvsignore')
0 files changed, 0 insertions, 0 deletions