about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for 2.14.3.0; add mininetstring_read, cplz.hLaurent Bercot2024-07-054-0/+61
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: unixmessage_put, fd bits initializationLaurent Bercot2024-06-214-15/+21
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.4.2.1; align UNIXMESSAGE_MAXFDS to SCM_MAX_FDLaurent Bercot2024-06-201-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Make env_mergen a symbol again (to avoid ABI breakage)Laurent Bercot2024-05-042-1/+10
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add mkptemp3Laurent Bercot2024-05-033-17/+27
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add mspawn functions to cspawn.h; move everything to libenvexecLaurent Bercot2024-04-3022-35/+168
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More support for old MacOS fossilsLaurent Bercot2024-04-163-6/+49
| | | | 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-162-5/+7
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Tentative support for old MacOS with no O_CLOEXECLaurent Bercot2024-04-1654-59/+247
| | | | | | Also add a prototype for gol, not finished yet. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix to the fix, because I'm an idiot.Laurent Bercot2024-04-021-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Workaround for gcc 14 (and others!) incompatible-pointer-types stupidityLaurent Bercot2024-04-022-6/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Support midipixLaurent Bercot2024-04-021-1/+1
| | | | 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>
* More accurate max env size detection in env_mergenLaurent Bercot2023-12-201-2/+7
| | | | 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-182-1/+10
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add autosurf_nameLaurent Bercot2023-12-151-1/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* ok, AIX can *still* fuck offLaurent Bercot2023-12-131-7/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* hahaha noLaurent Bercot2023-12-131-2/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* maybe maybe maybeLaurent Bercot2023-12-131-0/+8
| | | | 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-116-10/+53
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.14.1.0; add socket_sendnb46_g and socket_recvnb46_gLaurent Bercot2023-12-113-0/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix trypthread.c to work with old compilersLaurent Bercot2023-11-181-1/+2
| | | | 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>
* Typo fixesLaurent Bercot2023-10-301-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* 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>