]> Zhao Yanbai Git Server - minix.git/commit
stdio/fclose.c: reset _buf
authorBen Gras <ben@minix3.org>
Tue, 2 Nov 2010 22:01:47 +0000 (22:01 +0000)
committerBen Gras <ben@minix3.org>
Tue, 2 Nov 2010 22:01:47 +0000 (22:01 +0000)
commit09569d399f93acffa9b59d4bea584fabb1d497ce
tree036d22ff5b1f162f83cfbb830432ca8b4c1a2a2b
parent515e8d075fee056e169e0a2af4ec25de0466db7e
stdio/fclose.c: reset _buf

  - if the stream gets freopen()ed, avoid buffer being seen as valid
lib/libc/stdio/fclose.c