Looking from the initialization code in FGetC() and FWriteChars() fh_End field has...
commitab2176cfcbfddfb33abebc56f58789e06befc20f
authorsszymczy <sszymczy@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Thu, 16 Oct 2008 20:00:14 +0000 (16 20:00 +0000)
committersszymczy <sszymczy@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Thu, 16 Oct 2008 20:00:14 +0000 (16 20:00 +0000)
treea041150562b6bea3e2758da557a126907e273066
parent6dd5dcba4da6da18a4bd9330ac488fcdf6bde30d
Looking from the initialization code in FGetC() and FWriteChars() fh_End field has different meaning for handles in read mode and handles in write mode. For first it's the end of buffered data, for second it's the end of free space (end of buffer). Therefore I updated buffer initialization code in SetVBuf() to reflect that. Correct me please if it's wrong.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@29779 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/dos/setvbuf.c