mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-27 15:52:28 +00:00
Make fixes and improvements
- Fix handling of precision in hex float formatting - Enhance the cocmd interpreter for system() and popen() - Manually ran the Lua unit tests, which are now passing - Let stdio i/o operations happen when file is in error state - We're now saving and restoring xmm in ftrace out of paranoia
This commit is contained in:
parent
95fbdb4f76
commit
41396ff48a
43 changed files with 495 additions and 261 deletions
|
@ -31,10 +31,10 @@ TEST(fread, eofIsSticky) {
|
|||
ASSERT_TRUE(feof(fi));
|
||||
ASSERT_EQ(8, fwrite(b, 1, 8, fo));
|
||||
ASSERT_EQ(0, fflush(fo));
|
||||
ASSERT_EQ(0, fread(b, 1, 8, fi));
|
||||
ASSERT_EQ(4, fread(b, 1, 4, fi));
|
||||
ASSERT_TRUE(feof(fi));
|
||||
clearerr(fi);
|
||||
ASSERT_EQ(8, fread(b, 1, 10, fi));
|
||||
ASSERT_EQ(4, fread(b, 1, 10, fi));
|
||||
ASSERT_TRUE(feof(fi));
|
||||
ASSERT_EQ(0, fseek(fi, 0, SEEK_SET));
|
||||
ASSERT_FALSE(feof(fi));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue