combine two calls to memset in fmemopen
authorRich Felker <dalias@aerifal.cx>
Fri, 17 Apr 2020 20:10:28 +0000 (16:10 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 17 Apr 2020 20:10:28 +0000 (16:10 -0400)
commit74fa4aac12d0d5a04ed411f2b3240f235a4475a1
tree1029fd927f96b1212ec6aa3d2179c92636d8ba74
parent086542fb5bc88f590547147365630b9a44df223b
combine two calls to memset in fmemopen

this idea came up when I thought we might need to zero the UNGET
portion of buf as well, but it seems like a useful improvement even
when that turned out not to be necessary.
src/stdio/fmemopen.c