summaryrefslogtreecommitdiffstats
path: root/src/printf.c
AgeCommit message (Collapse)Author
9 daysReplace some switch-case lookups with arraysTavian Barnes
2024-05-27bfstd: Treat ELOOP like ENOENTTavian Barnes
GNU findutils just made the same change, so looping symlinks will be considered broken rather than a hard error. Link: https://savannah.gnu.org/bugs/?51926
2024-05-19printf: The ' ' (space) flag must be numericTavian Barnes
2024-04-24printf: Check dynamic format strings more carefullyTavian Barnes
2024-04-24printf: Refactor %y/%Y implementationTavian Barnes
2024-04-19Rename config.h to prelude.hTavian Barnes
2024-04-10printf: Implement %ZTavian Barnes
2024-03-11Re-run include-what-you-useTavian Barnes
2024-03-07xtime: Call tzset() from main() instead of lazilyTavian Barnes
POSIX specifies[1] that If a thread accesses tzname, daylight, or timezone directly while another thread is in a call to tzset(), or to any function that is required or allowed to set timezone information as if by calling tzset(), the behavior is undefined. So calling it lazily from arbitrary threads is risky. [1]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/tzset.html
2023-11-23printf: Switch from darray to RESERVE()Tavian Barnes
2023-11-09config: Remove BFS_SUPPRESS()Tavian Barnes
2023-10-05bfstd: Add a thread-safe wrapper for strerror()Tavian Barnes
2023-09-27Formatting fixesTavian Barnes
2023-09-26dstring: New dchar typedef for dynamic stringsTavian Barnes
2023-07-13color: TTY-escape filenamesTavian Barnes
2023-05-18Switch from assert() to bfs_assert()/bfs_verify()Tavian Barnes
2023-05-11config: Provide <stdalign.h> and <stdbool.h>Tavian Barnes
In anticipation of C23, since those headers won't be necessary any more.
2023-05-10config: s/BFS_FALLTHROUGH/fallthru/Tavian Barnes
2023-05-03style: Don't use tabs to indent preprocessor directivesTavian Barnes
2023-01-25Replace license boilerplate with SPDX tagsTavian Barnes
And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
2023-01-25mtab: Keep parent dirs open during fill_types()Tavian Barnes
2022-12-09Turn on more aggressive format string warningsTavian Barnes
2022-11-09pwcache: Fill the user/group caches lazilyTavian Barnes
Iterating all the users/groups can be expensive, especially with NSS. Android has so many that it doesn't even return them all from get{pw,gr}ent() for performance reasons, leading to incorrect behaviour of -user/-group/etc.
2022-11-06Fix includesTavian Barnes
2022-11-06bfstd: Rename from util and reorganize itTavian Barnes
2022-04-16Source / Include Folder (#88)トトも
Moved Source Files Into `src` Folder