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 /ChangeLog | |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,18 @@ 2011-08-17 Sergey Poznyakoff <gray@gnu.org.ua> + 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. + +2011-08-17 Sergey Poznyakoff <gray@gnu.org.ua> + Introduce new error code. * configure.ac, NEWS: Raise patchlevel to 90. |