summaryrefslogtreecommitdiff
path: root/src/include
AgeCommit message (Collapse)Author
2020-09-17 Add stralloc_readyplus_tuned, fix overflow on stralloc_readyplusLaurent Bercot
2020-04-29 Fix alloc_realloc UBLaurent Bercot
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.
2020-03-21 bugfix: do not include posixishard.h in an early header!Laurent Bercot
2019-10-25 Better bigkvLaurent Bercot
2019-10-25 Add bigkvLaurent Bercot
2019-10-18 __GNU__ is actually preferred to __gnu_hurd__, it seemsLaurent Bercot
2019-10-17 nonposix.h: define _GNU_SOURCE for Hurd, remove __GLIBC__ testLaurent Bercot
__GLIBC__ and similar ftms are not defined in the compiler, but in features.h, which isn't POSIX so cannot be included, and standard headers can't be included either because nonposix.h defines ftms that must exist *prior to* std headers inclusion. The kernel ftms, however, are defined by the compiler, so we can use them.
2019-10-09 Add path_canonicalize, prepare for 2.9.1.0Laurent Bercot
2019-09-20 We're down to ONE rogue sysdep, boys. ONE.Laurent Bercot
2019-09-06 Change tain_now_set_* API: also give an initial valueLaurent Bercot
2019-09-03 Big wallclock/stopwatch refactor. It was long overdue.Laurent Bercot
* --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... >.>
2019-07-22 Factor all the BSD complaints into one new headerLaurent Bercot
2019-07-22 Rework skalibs/nonposix.h to avoid glibc squealing like a pigLaurent Bercot
Also move a conformance workaround from nonposix.h to posixishard.h This may break things on MacOS, needs testing.
2019-05-11 Add tryemptyregex/skalibs_regcomp, prepare for 2.8.1.0Laurent Bercot
2019-02-19 Add skalibs/posixishard.hLaurent Bercot
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.
2019-02-19 Add DragonFly macro; remove nbwaitall and ancilautocloseLaurent Bercot
2019-02-14 Remove _BSD_SOURCE from nonposix, just to try...Laurent Bercot
2019-02-06 Rename mkLtemp to mkhtemp; try to make MacOS happyLaurent Bercot
2019-01-08 Remove mkdir_unique, rewrite atomic_symlink with mkltempLaurent Bercot
2018-12-08 Really add mkfootemp and autosurf, I guess ?Laurent Bercot
2018-12-07 Add mk?temp and autosurfLaurent Bercot
2018-11-14 Add env_dump()Laurent Bercot
2018-09-30 Scrap avltreeb, prepare for 2.8.0.0Laurent Bercot
2018-08-14 Remove avl*_deletenode() macros, document all added functionsLaurent Bercot
2018-08-01 Remove protLaurent Bercot
2018-07-21 Remove mininetstring, absolutepath, absolutepath_tmpLaurent Bercot
2018-07-21 Add unlink_void, change dir_close, prepare for 2.7.0.0Laurent Bercot
2018-06-24 Add skagetln_loose, skagetlnsep_loose, ipc_timed_sendvLaurent Bercot
2018-04-13 Add genset[dyn]_deepfreeLaurent Bercot
2018-04-12Fix avltree_deletenodeOlivier Brunel
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
2018-03-21 Remove sig_scan, blehLaurent Bercot
2018-03-21 Add sig_scan, sig0_scanLaurent Bercot
2018-03-16 Add genqdyn_unpush, bufalloc_unputLaurent Bercot
2018-03-01 Add byte_zzero, openb_readLaurent Bercot
2018-02-14 Add execvep_loose, prepare for 2.6.4.0Laurent Bercot
2018-02-14 C++ify more initializers >.>Laurent Bercot
2018-01-04 remove viterfunc_t, add non-documentation for libposixplzLaurent Bercot
2018-01-03 Add viterfunc_t to functypes.hLaurent Bercot
2018-01-03 Doc updateLaurent Bercot
2018-01-03 Add child_spawn3, make textclient_startf use itLaurent Bercot
2017-12-29 Add genqdynLaurent Bercot
2017-12-22 Deprecate env_getLaurent Bercot
2017-12-22 Add textclient, fix some textmessage issuesLaurent Bercot
2017-12-21 Add dirfd sysdep, because Solaris sucksLaurent Bercot
2017-12-21 Undeprecate mininetstringLaurent Bercot
It's actually used by s6-dns!
2017-12-21 Big 2.6.3.0 reorganizationLaurent Bercot
- Add libposixplz, update headers - Add memmem and friends - Add textmessage to libunixonacid - Update some sysdeps tests
2017-12-03 Add atomic_symlink(), prepare for 2.6.3.0Laurent Bercot
2017-11-27 Add access_at, because MacOSLaurent Bercot
2017-11-25 Add skaclient_timed_aflush()Laurent Bercot
2017-11-21 buffer_rpeek declaration clarificationLaurent Bercot