aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
* Big wallclock/stopwatch refactor. It was long overdue.Laurent Bercot2019-09-031-9/+14
| | | | | | | | | | | | | * --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... >.>
* Factor all the BSD complaints into one new headerLaurent Bercot2019-07-223-19/+51
|
* Rework skalibs/nonposix.h to avoid glibc squealing like a pigLaurent Bercot2019-07-222-21/+31
| | | | | Also move a conformance workaround from nonposix.h to posixishard.h This may break things on MacOS, needs testing.
* Add tryemptyregex/skalibs_regcomp, prepare for 2.8.1.0Laurent Bercot2019-05-111-0/+8
|
* Add skalibs/posixishard.hLaurent Bercot2019-02-197-26/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add DragonFly macro; remove nbwaitall and ancilautocloseLaurent Bercot2019-02-191-1/+1
|
* Remove _BSD_SOURCE from nonposix, just to try...Laurent Bercot2019-02-141-3/+0
|
* Rename mkLtemp to mkhtemp; try to make MacOS happyLaurent Bercot2019-02-062-1/+8
|
* Remove mkdir_unique, rewrite atomic_symlink with mkltempLaurent Bercot2019-01-081-1/+0
|
* Really add mkfootemp and autosurf, I guess ?Laurent Bercot2018-12-082-0/+4
|
* Add mk?temp and autosurfLaurent Bercot2018-12-073-0/+16
|
* Add env_dump()Laurent Bercot2018-11-141-0/+1
|
* Scrap avltreeb, prepare for 2.8.0.0Laurent Bercot2018-09-301-37/+13
|
* Remove avl*_deletenode() macros, document all added functionsLaurent Bercot2018-08-143-4/+0
|
* Remove protLaurent Bercot2018-08-011-6/+0
|
* Remove mininetstring, absolutepath, absolutepath_tmpLaurent Bercot2018-07-213-16/+0
|
* Add unlink_void, change dir_close, prepare for 2.7.0.0Laurent Bercot2018-07-212-1/+2
|
* Add skagetln_loose, skagetlnsep_loose, ipc_timed_sendvLaurent Bercot2018-06-242-0/+5
|
* Add genset[dyn]_deepfreeLaurent Bercot2018-04-132-0/+3
|
* Fix avltree_deletenodeOlivier Brunel2018-04-121-1/+1
| | | | Signed-off-by: Olivier Brunel <jjk@jjacky.com>
* Remove sig_scan, blehLaurent Bercot2018-03-211-1/+0
|
* Add sig_scan, sig0_scanLaurent Bercot2018-03-211-0/+3
|
* Add genqdyn_unpush, bufalloc_unputLaurent Bercot2018-03-162-0/+2
|
* Add byte_zzero, openb_readLaurent Bercot2018-03-012-0/+2
|
* Add execvep_loose, prepare for 2.6.4.0Laurent Bercot2018-02-141-0/+1
|
* C++ify more initializers >.>Laurent Bercot2018-02-144-10/+10
|
* remove viterfunc_t, add non-documentation for libposixplzLaurent Bercot2018-01-041-3/+0
|
* Add viterfunc_t to functypes.hLaurent Bercot2018-01-031-0/+3
|
* Doc updateLaurent Bercot2018-01-031-1/+0
|
* Add child_spawn3, make textclient_startf use itLaurent Bercot2018-01-031-3/+13
|
* Add genqdynLaurent Bercot2017-12-292-0/+34
|
* Deprecate env_getLaurent Bercot2017-12-221-3/+3
|
* Add textclient, fix some textmessage issuesLaurent Bercot2017-12-224-5/+121
|
* Add dirfd sysdep, because Solaris sucksLaurent Bercot2017-12-211-0/+1
|
* Undeprecate mininetstringLaurent Bercot2017-12-211-3/+2
| | | | It's actually used by s6-dns!
* Big 2.6.3.0 reorganizationLaurent Bercot2017-12-2113-35/+171
| | | | | | | - Add libposixplz, update headers - Add memmem and friends - Add textmessage to libunixonacid - Update some sysdeps tests
* Add atomic_symlink(), prepare for 2.6.3.0Laurent Bercot2017-12-031-0/+1
|
* Add access_at, because MacOSLaurent Bercot2017-11-271-0/+1
|
* Add skaclient_timed_aflush()Laurent Bercot2017-11-251-0/+2
|
* buffer_rpeek declaration clarificationLaurent Bercot2017-11-211-1/+1
|
* Make stralloc.h and tai.h suitable for inclusion in C++-compatible headersLaurent Bercot2017-11-202-11/+10
|
* Add lock_unx()Laurent Bercot2017-10-301-0/+1
|
* Rewrite openwrite(v)nclose using mkstempLaurent Bercot2017-09-272-4/+24
|
* Make cbuffer_?peek take a const; make *_init not leak when misusedLaurent Bercot2017-07-311-2/+2
|
* Add unixmessage_receiver_hasmsginbuf, fix unixmessage_handleLaurent Bercot2017-07-271-1/+3
|
* More secure setgroups functions. (thanks muh)Laurent Bercot2017-07-161-0/+1
|
* git unignore setgroups.h ...Laurent Bercot2017-07-161-0/+24
|
* Change setgroups() management, in particular add skalibs_setgroups()Laurent Bercot2017-07-162-1/+10
|
* Add egidingroups sysdeps, change fd_close() to void and saving errno, ↵Laurent Bercot2017-07-162-2/+2
| | | | propagate changes
* mitigation: bump UNIXMESSAGE_MAXREADS to something that will never be ↵Laurent Bercot2017-07-151-1/+1
| | | | reached. Real fix coming later.