This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v2 0/3]
- From: Aurelien Jarno <aurelien at aurel32 dot net>
- To: libc-alpha at sourceware dot org
- Cc: Aurelien Jarno <aurelien at aurel32 dot net>
- Date: Fri, 22 Dec 2017 20:30:58 +0100
- Subject: [PATCH v2 0/3]
- Authentication-results: sourceware.org; auth=none
These 3 patches fixes the wrong assumption that a successful function
does not change errno. POSIX explicitly says that applications should
check errno only after failure (or if the function specification
provides additional scenarios where it has a defined value).
Aurelien Jarno (3):
tst-realloc: do not check for errno on success [BZ #22611]
manual: clarify errno value on success [BZ #22615]
scandir: fix wrong assumption about errno [BZ #17804]
ChangeLog | 18 ++++++++++++++++++
dirent/scandir-tail.c | 13 ++++++++-----
malloc/tst-realloc.c | 4 ----
manual/errno.texi | 28 ++++++++++++++--------------
4 files changed, 40 insertions(+), 23 deletions(-)
--
2.15.1