Fixed processing of empty data in fbuffer class.

This commit is contained in:
Kenta Kabashima
2025-07-21 22:48:28 +09:00
parent 9b801f087a
commit 6bd9a571f2
2 changed files with 2 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ BOOST_AUTO_TEST_CASE(fbuffer)
fbuf.write("a", 1);
fbuf.write("a", 1);
fbuf.write("a", 1);
fbuf.write("", 0);
fflush(file);
rewind(file);