allow fmemopen with zero size
authorRich Felker <dalias@aerifal.cx>
Tue, 25 Jun 2019 21:47:12 +0000 (17:47 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 25 Jun 2019 21:47:12 +0000 (17:47 -0400)
commit95dfa3dd12108f42b23a1083e7b32266246a3590
treec67a8bdd122491008d5b84d1037d941c033c39e6
parenta48ccc159a5fa061a18419296100ee48a1cd6cc9
allow fmemopen with zero size

previously, POSIX erroneously required this to fail with EINVAL
despite the traditional glibc implementation, on which the POSIX
interface was based, allowing it. the resolution of Austin Group issue
818 removes the requirement to fail.
src/stdio/fmemopen.c