os_getcwd(): do not realloc if there was no malloc(). exim-4_89_RC5
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Sun, 12 Feb 2017 21:50:18 +0000 (16:50 -0500)
committerPhil Pennock <pdp@exim.org>
Sun, 12 Feb 2017 21:50:18 +0000 (16:50 -0500)
commitbb33d92ccb5a2aed3219a99e2fd3f3df48fb00de
treefb57cf96173c378cbf96d58b0bbd1a1e59ba6878
parentd195b66d38fd2ef7407705eba04bb8b6953cd41d
os_getcwd(): do not realloc if there was no malloc().

(cherry picked from commit 4a5ee04fd186cb7d86a4f70821dacc55f8cce98d)
(changelog added)
Signed-off-by: Phil Pennock <pdp@exim.org>
doc/doc-txt/ChangeLog
src/src/os.c