aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix envalloc_mergeJosiah Frentsos via skaware2023-10-281-2/+3
| | | | | | | Currently, envalloc_merge incorrectly passes the total number of environment entries to env_mergen as the number of modifs. Signed-off-by: Josiah Frentsos <jfrent@tilde.team>
* Modify string_quote/unquote to allow encoding of space as \sLaurent Bercot2023-10-265-22/+24
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add UINT??_BSWAP as constexp macro; rip off typedef uint?? bandaidLaurent Bercot2023-10-1212-23/+22
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add string_quotes macroLaurent Bercot2023-10-101-1/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Revamp case functions, add strcasestr() fallbackLaurent Bercot2023-09-229-46/+46
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix skalibs/stat.h commentLaurent Bercot2023-09-211-2/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Try another workaround for bad struct statLaurent Bercot2023-09-122-18/+14
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Include stat.h into posixishard.hLaurent Bercot2023-09-121-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* New sysdeps for st.st_atim etc., timespec_cmpLaurent Bercot2023-09-125-0/+65
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add waitid() sysdep, and fuck OpenBSDLaurent Bercot2023-09-122-1/+18
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add POSIX_SPAWN_SETSID_NP supportLaurent Bercot2023-09-112-2/+36
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Don't forget to uncoeLaurent Bercot2023-09-111-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add gcspawnLaurent Bercot2023-09-113-2/+55
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add posix_spawn_file_actions_addchdir() supportLaurent Bercot2023-09-114-14/+120
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix cspawn when lack of flags or actionsLaurent Bercot2023-09-111-4/+9
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Rip off more obsolete bandaidsLaurent Bercot2023-09-111-16/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove deprecated *writeclose_unsafe stuffLaurent Bercot2023-09-119-112/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add a pthread sysdepLaurent Bercot2023-09-111-0/+24
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add POSIX_SPAWN_SETSID support to cspawnLaurent Bercot2023-09-103-71/+128
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Revamp cspawn, part 2Laurent Bercot2023-09-091-55/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* cspawn revamp, part 1. Prepare for 2.14.0.0.Laurent Bercot2023-09-0919-770/+377
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Make child_spawn_workaround publicLaurent Bercot2023-09-089-43/+22
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix back slurpnLaurent Bercot2023-08-081-10/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* error message typo fixLaurent Bercot2023-07-131-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More more jjk fixesLaurent Bercot2023-07-062-2/+14
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More jjk fixesLaurent Bercot2023-07-069-19/+52
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Refactor cdbmake, add cdbmake_addv, cdb_hashvLaurent Bercot2023-07-0312-59/+154
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* posix_spawn workaround fixesLaurent Bercot2023-06-292-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add workaround for bad QoI posix_spawn()Laurent Bercot2023-06-288-268/+449
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Apply fixes suggested by jjkLaurent Bercot2023-06-234-7/+10
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Use less stack with avlnodeLaurent Bercot2023-06-232-6/+10
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix iter_func type; add tain_earliestLaurent Bercot2023-06-1310-6/+35
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Better posixishard.hLaurent Bercot2023-06-091-1/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add SKALIBS_NAME_MAXLaurent Bercot2023-06-091-0/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Typo fixesLaurent Bercot2023-06-091-3/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add devino, refactor openwrite(v)ncloseLaurent Bercot2023-06-0926-192/+310
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Still declare hiercopy_tmpLaurent Bercot2023-06-021-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Refactor to add hiercopy_loose (for s6-l-i)Laurent Bercot2023-06-016-83/+110
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Grab as many signals as possible in sig_tableLaurent Bercot2023-05-251-0/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More more avltree macro fixesLaurent Bercot2023-05-181-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More avltree macro fixesLaurent Bercot2023-05-181-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add slurpn, refactor slurp, fix avltree/cdbmake bugs, add strerr_warnfLaurent Bercot2023-05-188-34/+112
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add selfpipe_fd(), refactor selfpipeLaurent Bercot2023-04-0710-299/+188
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: typo in unix-timed.hLaurent Bercot2023-03-231-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Tables should be constLaurent Bercot2023-02-123-4/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add sals, several refactorsLaurent Bercot2023-02-096-93/+75
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Define SKALIBS_PATH_MAXLaurent Bercot2023-01-311-0/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* QoL: subgetopt should return ? on --longLaurent Bercot2023-01-211-10/+9
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove stdarg functions from strerr, everything is __VA_ARGS__ nowLaurent Bercot2023-01-135-96/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add siovec doc, fix siovec_trunc, credit ErmineLaurent Bercot2023-01-041-5/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>