summaryrefslogtreecommitdiff
path: root/src/libstddjb
AgeCommit message (Collapse)Author
2024-04-16 Fix gol headerLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2024-04-16 Tentative support for old MacOS with no O_CLOEXECLaurent Bercot
Also add a prototype for gol, not finished yet. Signed-off-by: Laurent Bercot <ska@appnovation.com>
2024-01-30 bugfix: getlnmax must return 1 when the line just fits the out bufferLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2024-01-18 Do not free on failure to reallocate to size 0 (lol.)Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2024-01-02Fix bitarray_not when within a single byteOlivier Brunel
Notably when a=0 (i.e. start on the first bit) it would affect the entire byte (all 8 bits). Signed-off-by: Olivier Brunel <jjk@jjacky.com>
2024-01-02 cspawn can use open3() over open() for consistencyLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-12-20 env_mergen() should not fail, by policyLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-12-18 and one moreLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-12-18 Fix more small UBsLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-12-18 Don't smash 1 byte 1/8th of the timeLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-12-18 Actually add autosurf_name; fix cspawn leak in error pathLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-12-13 Try to accommodate AIX more?... maybe maybe?Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-12-11 socket_recv46 was never workingLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-11-17 Prepare for 2.14.0.1. Better ip6_scan().Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-10-26 Modify string_quote/unquote to allow encoding of space as \sLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-10-12 Add UINT??_BSWAP as constexp macro; rip off typedef uint?? bandaidLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-22 Revamp case functions, add strcasestr() fallbackLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-12 New sysdeps for st.st_atim etc., timespec_cmpLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-12 Add waitid() sysdep, and fuck OpenBSDLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-11 Add POSIX_SPAWN_SETSID_NP supportLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-11 Don't forget to uncoeLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-11 Add gcspawnLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-11 Add posix_spawn_file_actions_addchdir() supportLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-11 Fix cspawn when lack of flags or actionsLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-11 Remove deprecated *writeclose_unsafe stuffLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-10 Add POSIX_SPAWN_SETSID support to cspawnLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-09 Revamp cspawn, part 2Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-09 cspawn revamp, part 1. Prepare for 2.14.0.0.Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-09-08 Make child_spawn_workaround publicLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-08-08 Fix back slurpnLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-07-06 More jjk fixesLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-07-03 Refactor cdbmake, add cdbmake_addv, cdb_hashvLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-29 posix_spawn workaround fixesLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-28 Add workaround for bad QoI posix_spawn()Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-23 Apply fixes suggested by jjkLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-13 Fix iter_func type; add tain_earliestLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-09 Add devino, refactor openwrite(v)ncloseLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-06-01 Refactor to add hiercopy_loose (for s6-l-i)Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-05-25 Grab as many signals as possible in sig_tableLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-05-18 Add slurpn, refactor slurp, fix avltree/cdbmake bugs, add strerr_warnfLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-04-07 Add selfpipe_fd(), refactor selfpipeLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-02-12 Tables should be constLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-02-09 Add sals, several refactorsLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-01-21 QoL: subgetopt should return ? on --longLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-01-13 Remove stdarg functions from strerr, everything is __VA_ARGS__ nowLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2023-01-04 Add siovec doc, fix siovec_trunc, credit ErmineLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-12-05 bugfix: uint16_pack and uint16_pack for big-endianLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-11-30 Much better strerr revamp, with __VA_ARGS__Laurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-11-29 Prepare for 2.13.0.0, revamp strerrLaurent Bercot
Signed-off-by: Laurent Bercot <ska@appnovation.com>
2022-09-05 Better NSIG detection and fixLaurent Bercot
Incredibly enough, OpenBSD defines NSIG correctly, so our workaround was not accurate. Signed-off-by: Laurent Bercot <ska@appnovation.com>