summaryrefslogtreecommitdiff
path: root/Libraries/LibC/stdlib.cpp
AgeCommit message (Collapse)Author
2019-08-24LibC: Fix strtol() handling of invalid charactersAndreas Kling
Rewrite this function to go from left-to-right instead of right-to-left since this allows us to accumulate valid characters before encountering any invalid ones. This fixes parsing of strings emitted by GCC, like "1, %0|%0, %1}". :^)
2019-08-17LibC: Fix strtol() not populating `endptr' for valid stringsAndreas Kling
We were not writing anything out to the `endptr` pointer if a number was successfully parsed from the input string. Fixes #460.
2019-07-04Libraries: Create top level directory for libraries.Andreas Kling
Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.