ladybird/Tests/LibC
Jelle Raaijmakers a44978b9b0 LibC: Fix %n conversion specifier in scanf() format
Also add a test to prevent this from happening again. There were two
bugs:

* The number of bytes just after processing the last value was written,
  instead of the number of bytes after skipping remaining whitespace.
  Confirmed by testing against GNU's `scanf()` since the man page
  leaves something to be desired.

* The number of bytes was written to the wrong variable argument; i.e.
  the first argument was overwritten.
2021-10-24 22:43:27 -07:00
..
CMakeLists.txt LibC: Implement tfind and tsearch 2021-10-15 21:50:19 -07:00
TestIo.cpp
TestLibCDirEnt.cpp
TestLibCExec.cpp
TestLibCInodeWatcher.cpp
TestLibCMkTemp.cpp
TestLibCSetjmp.cpp
TestLibCString.cpp
TestLibCTime.cpp
TestMemmem.cpp
TestQsort.cpp
TestRealpath.cpp
TestScanf.cpp LibC: Fix %n conversion specifier in scanf() format 2021-10-24 22:43:27 -07:00
TestSearch.cpp LibC: Implement twalk 2021-10-15 21:50:19 -07:00
TestSnprintf.cpp
TestStackSmash.cpp
TestStrlcpy.cpp
TestStrtodAccuracy.cpp
TestWchar.cpp LibC: Fix up mblen 2021-10-22 13:28:56 -07:00
TestWctype.cpp Tests: Only test truthiness for iswctype 2021-10-24 22:40:11 -07:00