aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstddjb
Commit message (Collapse)AuthorAgeFilesLines
* Add prog.h and prog_pid_fillLaurent Bercot2025-06-021-0/+15
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Improve gol. Add tentative dylib support.Laurent Bercot2025-05-263-12/+21
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* gol fixes and improvementsLaurent Bercot2025-05-192-5/+11
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Typo fixLaurent Bercot2025-05-182-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Clamp setitimer to 1e8 seconds because MacOSLaurent Bercot2025-05-172-3/+15
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: alarm_timeout with infinite valueLaurent Bercot2025-05-162-4/+19
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add rpath; fix excessive ip4_scan toleranceLaurent Bercot2025-04-231-11/+9
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add tain_addmsec, millisleepLaurent Bercot2025-04-041-0/+10
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Deprioritize getexecname(), it's badLaurent Bercot2025-04-031-18/+18
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Declare main when taking its address >.>Laurent Bercot2025-04-021-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* It's mach-o, not macho-o. (Or is it?)Laurent Bercot2025-04-021-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add sagetexecname() and all the necessary infrastructureLaurent Bercot2025-04-021-0/+111
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix gol masksLaurent Bercot2025-03-111-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Better iopause_selectLaurent Bercot2024-07-301-6/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix small bugs, add autodelegation for IOPAUSE_EXCEPTLaurent Bercot2024-07-305-21/+67
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.14.3.0; add mininetstring_read, cplz.hLaurent Bercot2024-07-051-0/+45
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: unixmessage_put, fd bits initializationLaurent Bercot2024-06-211-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add mspawn functions to cspawn.h; move everything to libenvexecLaurent Bercot2024-04-3010-578/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More support for old MacOS fossilsLaurent Bercot2024-04-161-2/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Try to make the damn thing buildLaurent Bercot2024-04-162-1/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix gol headerLaurent Bercot2024-04-161-3/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Tentative support for old MacOS with no O_CLOEXECLaurent Bercot2024-04-1635-35/+162
| | | | | | Also add a prototype for gol, not finished yet. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: getlnmax must return 1 when the line just fits the out bufferLaurent Bercot2024-01-301-3/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Do not free on failure to reallocate to size 0 (lol.)Laurent Bercot2024-01-181-1/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix bitarray_not when within a single byteOlivier Brunel2024-01-021-1/+1
| | | | | | | 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>
* cspawn can use open3() over open() for consistencyLaurent Bercot2024-01-021-3/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* env_mergen() should not fail, by policyLaurent Bercot2023-12-202-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* and one moreLaurent Bercot2023-12-181-1/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix more small UBsLaurent Bercot2023-12-182-1/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Don't smash 1 byte 1/8th of the timeLaurent Bercot2023-12-181-2/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Actually add autosurf_name; fix cspawn leak in error pathLaurent Bercot2023-12-181-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Try to accommodate AIX more?... maybe maybe?Laurent Bercot2023-12-131-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* socket_recv46 was never workingLaurent Bercot2023-12-112-0/+48
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.14.0.1. Better ip6_scan().Laurent Bercot2023-11-171-22/+74
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Modify string_quote/unquote to allow encoding of space as \sLaurent Bercot2023-10-264-19/+14
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add UINT??_BSWAP as constexp macro; rip off typedef uint?? bandaidLaurent Bercot2023-10-124-20/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Revamp case functions, add strcasestr() fallbackLaurent Bercot2023-09-226-45/+17
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* New sysdeps for st.st_atim etc., timespec_cmpLaurent Bercot2023-09-121-0/+13
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add waitid() sysdep, and fuck OpenBSDLaurent Bercot2023-09-121-1/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add POSIX_SPAWN_SETSID_NP supportLaurent Bercot2023-09-111-2/+6
| | | | 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-111-0/+48
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add posix_spawn_file_actions_addchdir() supportLaurent Bercot2023-09-111-8/+46
| | | | 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>
* Remove deprecated *writeclose_unsafe stuffLaurent Bercot2023-09-118-104/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add POSIX_SPAWN_SETSID support to cspawnLaurent Bercot2023-09-101-71/+97
| | | | 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-0912-717/+290
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Make child_spawn_workaround publicLaurent Bercot2023-09-088-43/+14
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix back slurpnLaurent Bercot2023-08-081-10/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>