aboutsummaryrefslogtreecommitdiff
path: root/cbs.h
Commit message (Expand)AuthorAgeFilesLines
* Reset errno to 0Thomas Voss 2024-06-211-1/+1
* FormattingThomas Voss 2024-06-211-7/+9
* Let fmdcmp() work even when the arguments don’t existThomas Voss 2024-06-211-6/+15
* Remove unreachable conditionThomas Voss 2024-06-201-2/+0
* Remember to NULL-terminate in strszero()Thomas Voss 2024-06-091-0/+2
* Code styleThomas Voss 2024-06-091-17/+16
* Add missing ‘static’Thomas Voss 2024-06-091-1/+1
* AlignmentThomas Voss 2024-06-091-1/+1
* Massive overhaul to cbs.hThomas Voss 2024-06-081-720/+380
* Fix broken check in env_or_defaultv()Thomas Voss 2024-01-291-1/+1
* Prefer memset()Thomas Voss 2024-01-231-1/+1
* Improve next pow2 implThomas Voss 2024-01-231-7/+18
* Improve directly handlingThomas Voss 2024-01-231-42/+42
* Ignore -WparenthesesThomas Voss 2024-01-231-0/+1
* Prefer nullptrThomas Voss 2024-01-231-16/+18
* Allow for p to be null in env_or_default()Thomas Voss 2024-01-181-6/+11
* Append to sv instead of overwriting itThomas Voss 2024-01-181-14/+12
* Call wordexp() with WRDE_NOCMDThomas Voss 2024-01-181-1/+1
* Add env_or_default() and env_or_defaultv()Thomas Voss 2024-01-181-0/+45
* Simplify macrosThomas Voss 2024-01-131-6/+5
* Apple just doesn’t have .st_mtim, fmlThomas Voss 2024-01-111-2/+7
* Don’t issue ‘unused-function’ warnings on GCCThomas Voss 2024-01-041-0/+9
* Define _POSIX_C_SOURCEThomas Voss 2024-01-041-0/+3
* Make rebuild() work properly when in a different directoryThomas Voss 2023-12-311-6/+18
* Create a copy of argv in cbsinit()Thomas Voss 2023-12-311-1/+8
* Add binexists()Thomas Voss 2023-12-311-0/+30
* Use string vectors with pcquery()Thomas Voss 2023-12-311-14/+28
* Make rebuild() work from other directoriesThomas Voss 2023-12-301-5/+34
* Improve NULL safetyThomas Voss 2023-12-301-2/+8
* Properly cast to const char **Thomas Voss 2023-12-301-1/+2
* Remove usage of [[fallthrough]]Thomas Voss 2023-12-301-7/+1
* Add foutdated() and foutdatedv()Thomas Voss 2023-12-301-0/+21
* Add the _vtoa() macroThomas Voss 2023-12-301-1/+4
* Fix URLThomas Voss 2023-12-301-1/+1
* Add to header docsThomas Voss 2023-12-301-0/+9
* Use wordexp() to split pkg-config outputThomas Voss 2023-12-301-6/+31
* Null-terminate cmdexecb() out bufferThomas Voss 2023-12-301-2/+3
* Screw windowsThomas Voss 2023-12-301-1/+1
* Remove NULL checkThomas Voss 2023-12-301-2/+1
* Use clangs _NullableThomas Voss 2023-12-301-3/+13
* More constingThomas Voss 2023-12-301-2/+2
* Properly lock and unlock streams when printingThomas Voss 2023-12-291-0/+4
* Use const char *Thomas Voss 2023-12-291-6/+6
* Add threading support a-la pthread.hThomas Voss 2023-12-291-63/+257
* Assert POSIX when __has_include() is availableThomas Voss 2023-12-281-0/+13
* Add TODOThomas Voss 2023-12-281-1/+3
* Don’t call cmdput() before execvp()Thomas Voss 2023-12-281-1/+0
* Call execvp() directly in __rebuild()Thomas Voss 2023-12-281-1/+2
* Avoid macros where possibleThomas Voss 2023-12-281-13/+43
* Make cmdexec() a macroThomas Voss 2023-12-281-8/+2