| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Separate and expose ancil_recv_fd/ancil_send_fd | Laurent Bercot | 2020-10-26 | 7 | -7/+7 |
| | | | | | | | | The goal is to make late channel creation easy, as opposed to textclient which always creates a new channel at start time. This commit also moves posixishard.h inclusions as late as possible. | ||||
| * | Change new function names to openc_*; update deps.mak | Laurent Bercot | 2020-10-26 | 13 | -15/+15 |
| | | |||||
| * | Prepare for 2.9.4.0; add open*coe() functions. | Laurent Bercot | 2020-10-26 | 13 | -6/+91 |
| | | |||||
| * | Add stralloc_readyplus_tuned, fix overflow on stralloc_readyplus | Laurent Bercot | 2020-09-17 | 1 | -0/+12 |
| | | |||||
| * | Fix alloc_realloc UB | Laurent Bercot | 2020-04-29 | 3 | -4/+4 |
| | | | | | | | | | | | | | | void ** does not exist: the address of a generic pointer is not properly defined (different pointer types may have different representations). So, alloc_realloc cannot exist as is without UB. Fortunately, it's not supposed to be used in the skalibs programming style, and skalibs itself only uses it in two places (stralloc_ready_tuned and stralloc_shrink) where the pointer is a char *. So we just fix the UB by making alloc_realloc() take a char **, and it's only defined for that pointer type. Nothing to see here folks, nothing happened at all. | ||||
| * | bugfix: sigprocmask invocation on non-signalfd systems | Laurent Bercot | 2020-04-04 | 1 | -1/+1 |
| | | |||||
| * | Explicitly unblock signals when selfpiped without signalfd | Laurent Bercot | 2020-02-26 | 2 | -3/+3 |
| | | | | | | | | | | | | | | | | | This is arguably a bugfix, since selfpipe without signalfd relies on signals being actually delivered, and a process may have inherited a nonempty sigprocmask. Also use SIG_BLOCK instead of SIG_SETMASK when using selfpipe_trapset() with signalfd, because we shouldn't unblock signals that may have previously been blocked. This is also arguably a bugfix. This commit is essential for using the version of s6-linux-init that blocks SIGINT before disablecad on kernels without signalfd. Without it, SIGINT never gets unblocked, so it's never delivered to s6-svscan. | ||||
| * | bugfix: env_merge didn't correctly handle variable removal | Laurent Bercot | 2020-02-10 | 1 | -1/+2 |
| | | |||||
| * | Make sagethostname() work with all glibcs | Laurent Bercot | 2020-01-30 | 1 | -4/+11 |
| | | |||||
| * | Real fix for undefined PATH_MAX | Laurent Bercot | 2019-10-20 | 1 | -1/+13 |
| | | |||||
| * | Don't rely on the existence of PATH_MAX | Laurent Bercot | 2019-10-20 | 1 | -2/+1 |
| | | |||||
| * | Fix path_canonicalize()'s returned length when absolute | Laurent Bercot | 2019-10-10 | 1 | -1/+1 |
| | | |||||
| * | Add path_canonicalize, prepare for 2.9.1.0 | Laurent Bercot | 2019-10-09 | 1 | -0/+69 |
| | | |||||
| * | We're down to ONE rogue sysdep, boys. ONE. | Laurent Bercot | 2019-09-20 | 6 | -78/+16 |
| | | |||||
| * | Change tain_now_set_* API: also give an initial value | Laurent Bercot | 2019-09-06 | 3 | -12/+17 |
| | | |||||
| * | Also better when you actually pull the sysdeps | Laurent Bercot | 2019-09-04 | 1 | -0/+1 |
| | | |||||
| * | With the correct sysdeps macros, please | Laurent Bercot | 2019-09-04 | 1 | -2/+2 |
| | | |||||
| * | Big wallclock/stopwatch refactor. It was long overdue. | Laurent Bercot | 2019-09-03 | 9 | -112/+103 |
| | | | | | | | | | | | | | | * --enable-clock and --enable-monotonic are gone * tain_sysclock() has been renamed tain_wallclock_read() * tain_wallclock_read() reads from CLOCK_REALTIME (or gettimeofday()) * tain_clockmon[_init]() have been renamed to tain_stopwatch_[read|init]() and now accept a monotonic clock name as an extra argument * tain_now() points to the system (wall) clock by default * tain_now_set_[stopwatch|wallclock]() can be used to switch Now to make a pass on all skarnet.org programs and add a tain_now_set_stopwatch() call everywhere needed... >.> | ||||
| * | iopause_select: add protection against UB in FD_SET | Laurent Bercot | 2019-08-07 | 1 | -0/+1 |
| | | |||||
| * | bugfix: env_dump() unterminated strings | Laurent Bercot | 2019-07-31 | 1 | -1/+2 |
| | | |||||
| * | Typo fix | Laurent Bercot | 2019-07-23 | 1 | -1/+1 |
| | | |||||
| * | Factor all the BSD complaints into one new header | Laurent Bercot | 2019-07-22 | 9 | -44/+22 |
| | | |||||
| * | bits-fmtscan refactor, part two | Laurent Bercot | 2019-07-19 | 7 | -18/+39 |
| | | |||||
| * | bugfix: memcmp doesn't guarantee not touching bytes after cmp fails. | Laurent Bercot | 2019-07-11 | 1 | -2/+1 |
| | | |||||
| * | Better with the new files added >.> | Laurent Bercot | 2019-07-11 | 4 | -0/+79 |
| | | |||||
| * | bits-fmtscan refactor, part one | Laurent Bercot | 2019-07-11 | 23 | -164/+71 |
| | | |||||
| * | child_spawn*: make sure posix_spawn() doesn't clobber pipes with dup2+close | Laurent Bercot | 2019-06-16 | 4 | -22/+37 |
| | | |||||
| * | bugfix: proper sockaddr storage in socket_remote46 | Laurent Bercot | 2019-05-07 | 1 | -4/+4 |
| | | |||||
| * | Respect POSIX "Seconds since the Epoch" when hitting a leap second | Laurent Bercot | 2019-03-09 | 3 | -6/+5 |
| | | |||||
| * | bugfix: leap second table. Also add leapsec reporting in localtm. | Laurent Bercot | 2019-03-08 | 6 | -35/+37 |
| | | |||||
| * | Add skalibs/posixishard.h | Laurent Bercot | 2019-02-19 | 7 | -7/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will break things. It's a known issue. Patches to other packages will come later, to adapt them to the new API. To work around brokenness, there needs to be *two* different headers: 1. one to be used before including system headers, that maximizes visibility by enabling system-dependent feature test macros (that will be tested by system headers) 2. one to be used after including system headers, that performs preprocessor tests and defines. skalibs/nonposix.h is the first one. Previously, there was no second one, and the tests were scattered all over. There was a strnlen declaration in skalibs/posixplz.h (which serves a totally different function: declaring things that should be in POSIX, but *are not*, i.e. working around problems in the standard, instead of problems in systems failing to respect the standard), a build-time sysdep for error.h, #defines for MSG_NOSIGNAL, etc. etc. skalibs/posixishard.h now is the second one, and centralizes all the tests. As a result, the eproto sysdep is unnecessary and has been removed. skalibs/error.h is now a static header, it is not built anymore. | ||||
| * | Fix xpathexec* exit codes when execve() fails! | Laurent Bercot | 2019-02-12 | 7 | -7/+21 |
| | | |||||
| * | Rename mkLtemp to mkhtemp; try to make MacOS happy | Laurent Bercot | 2019-02-06 | 1 | -0/+2 |
| | | |||||
| * | The extra space, John! The extra space! | Laurent Bercot | 2019-02-05 | 1 | -1/+1 |
| | | |||||
| * | fix null-pointer behavior in fmt and fmtlist functions | John Regan | 2019-02-05 | 1 | -12/+11 |
| | | | | | | | This fixes a segfault when a user calls uint320_fmt(NULL,...), and makes the fmtlist functions return the correct number of characters when called with NULL. | ||||
| * | bugfix: rounding error in stralloc_reverse_blocks | Laurent Bercot | 2018-11-24 | 1 | -2/+3 |
| | | |||||
| * | Add env_dump() | Laurent Bercot | 2018-11-14 | 1 | -0/+51 |
| | | |||||
| * | Better when it builds | Laurent Bercot | 2018-09-14 | 1 | -1/+1 |
| | | |||||
| * | bugfix: child_spawn2 error path | Laurent Bercot | 2018-09-14 | 2 | -2/+2 |
| | | |||||
| * | Remove prot | Laurent Bercot | 2018-08-01 | 3 | -73/+0 |
| | | |||||
| * | Remove mininetstring, absolutepath, absolutepath_tmp | Laurent Bercot | 2018-07-21 | 4 | -91/+1 |
| | | |||||
| * | Add unlink_void, change dir_close, prepare for 2.7.0.0 | Laurent Bercot | 2018-07-21 | 1 | -7/+8 |
| | | |||||
| * | Add skagetln_loose, skagetlnsep_loose, ipc_timed_sendv | Laurent Bercot | 2018-06-24 | 2 | -0/+30 |
| | | |||||
| * | Remove sig_scan, bleh | Laurent Bercot | 2018-03-21 | 2 | -40/+27 |
| | | |||||
| * | Add sig_scan, sig0_scan | Laurent Bercot | 2018-03-21 | 2 | -0/+47 |
| | | |||||
| * | Add byte_zzero, openb_read | Laurent Bercot | 2018-03-01 | 2 | -0/+45 |
| | | |||||
| * | Fix HASSIGNEDSIGNED sysdeps macros, add localtm_from_ltm64 tolerance for ↵ | Laurent Bercot | 2018-02-02 | 1 | -0/+3 |
| | | | | | 64-bit time_t | ||||
| * | Add child_spawn3, make textclient_startf use it | Laurent Bercot | 2018-01-03 | 2 | -1/+166 |
| | | |||||
| * | Deprecate env_get | Laurent Bercot | 2017-12-22 | 7 | -27/+25 |
| | | |||||
| * | Add dirfd sysdep, because Solaris sucks | Laurent Bercot | 2017-12-21 | 1 | -0/+23 |
| | | |||||
