summaryrefslogtreecommitdiffstats
path: root/src/bfstd.c
Commit message (Expand)AuthorAgeFilesLines
* config: Check for pipe2()Tavian Barnes2024-04-191-1/+1
* config: Check for confstr()Tavian Barnes2024-04-191-5/+5
* config: Check for program_invocation_short_nameTavian Barnes2024-04-191-3/+3
* Rename config.h to prelude.hTavian Barnes2024-04-191-1/+1
* bfstd: Escape ASCII tildesTavian Barnes2024-03-261-1/+1
* bfstd: Add an ASCII fast path to xstrwidth()Tavian Barnes2024-03-211-1/+10
* bfstd: New asciilen() functionTavian Barnes2024-03-211-25/+43
* bfstd: Check that wcwidth() is positiveTavian Barnes2024-03-201-2/+6
* Re-run include-what-you-useTavian Barnes2024-03-111-3/+3
* stat: Use errno_is_like(ENOSYS) for EPERM kludgeTavian Barnes2024-02-281-0/+4
* bfstd: Don't shadow FreeBSD's fflags_tTavian Barnes2024-02-011-4/+4
* ioq: Use the negative errno conventionTavian Barnes2024-01-131-0/+9
* bfstd: New {error,errno}_is_like() functionsTavian Barnes2024-01-131-2/+21
* bfstd: Fix fflags type on OpenBSDTavian Barnes2024-01-021-2/+8
* bfstd: New xwcwidth() wrapperTavian Barnes2023-12-161-1/+1
* bfstd: Wrap is[w]{alpha,digit,...}()Tavian Barnes2023-12-091-31/+12
* bfstd: Work around more instances of llvm/llvm-project#65532Tavian Barnes2023-11-231-14/+19
* Initial support for Cosmopolitan LibcTavian Barnes2023-11-101-1/+1
* bfstd: Expose rlim_cmp()Tavian Barnes2023-11-061-0/+33
* bfstd: New xwaitpid() wrapperTavian Barnes2023-10-311-0/+9
* Use {0} to initialize mbstate_t rather than memset()Tavian Barnes2023-10-271-10/+5
* bfstd: Expose xmbrtowc() and use it in eval_status()Tavian Barnes2023-10-271-13/+13
* bfstd: Only free the locale if we dup'd it successfullyTavian Barnes2023-10-261-3/+3
* wordesc: Don't allow braces in bare wordsTavian Barnes2023-10-181-1/+1
* bfstd: Actually use the copied localeTavian Barnes2023-10-121-1/+1
* bfstd: Add a thread-safe wrapper for strerror()Tavian Barnes2023-10-051-0/+43
* thread: s/call_once/invoke_once/Tavian Barnes2023-10-031-1/+1
* bfstd: Work around a FreeBSD-specific msan issueTavian Barnes2023-09-061-4/+23
* bfstd: Skip a whole loop in dollar_quote() if possibleTavian Barnes2023-09-061-2/+1
* bfstd: Fix printable_len() off-by-oneTavian Barnes2023-09-061-2/+2
* bfstd: Fix an OOB string index in xmbrtowc()Tavian Barnes2023-09-061-6/+2
* bfstd: Don't label a declarationTavian Barnes2023-08-081-1/+1
* bfstd: Check multiple chars at once for isascii()Tavian Barnes2023-08-071-3/+20
* bfstd: Speed up wordesc() by caching isprint()/isspace()Tavian Barnes2023-08-071-2/+29
* bfstd: Add an ASCII fast path to wordesc()Tavian Barnes2023-07-131-59/+100
* bfstd: Support wordesc() without allocatingTavian Barnes2023-07-131-38/+54
* bfstd: Quote the whole string the same way in wordesc()Tavian Barnes2023-07-131-77/+101
* bfstd: Use $'\n' etc. over $'\x0A'Tavian Barnes2023-07-131-5/+35
* bfstd: Escape '!' in wordesc()Tavian Barnes2023-07-131-2/+2
* wordesc: Also escape non-printable charsTavian Barnes2023-07-061-30/+115
* bfstd: Add a getprogname() wrapperTavian Barnes2023-06-241-0/+15
* alloc: New header for memory allocation utilitiesTavian Barnes2023-06-201-13/+0
* bfstd: New xmemdup() functionTavian Barnes2023-06-201-0/+8
* bfstd: New wordesc() function to shell-escape stringsTavian Barnes2023-06-161-0/+46
* bfstd: Add an aligned_alloc()/posix_memalign() wrapperTavian Barnes2023-06-141-0/+14
* Switch from assert() to bfs_assert()/bfs_verify()Tavian Barnes2023-05-181-2/+1
* Use bfs_bug("...") over assert(!"...")Tavian Barnes2023-05-181-1/+2
* config: Provide <stdalign.h> and <stdbool.h>Tavian Barnes2023-05-111-1/+0
* style: Don't use tabs to indent preprocessor directivesTavian Barnes2023-05-031-3/+3
* bfstd: Fix declaration order to match the right standard headersTavian Barnes2023-04-071-74/+74