aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Also better when you actually pull the sysdepsLaurent Bercot2019-09-041-0/+1
|
* With the correct sysdeps macros, pleaseLaurent Bercot2019-09-041-2/+2
|
* Big wallclock/stopwatch refactor. It was long overdue.Laurent Bercot2019-09-0311-121/+127
| | | | | | | | | | | | | * --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_SETLaurent Bercot2019-08-071-0/+1
|
* bugfix: env_dump() unterminated stringsLaurent Bercot2019-07-311-1/+2
|
* Typo fixLaurent Bercot2019-07-231-1/+1
|
* Factor all the BSD complaints into one new headerLaurent Bercot2019-07-2218-86/+81
|
* 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.
* bits-fmtscan refactor, part twoLaurent Bercot2019-07-198-18/+40
|
* bugfix: memcmp doesn't guarantee not touching bytes after cmp fails.Laurent Bercot2019-07-111-2/+1
|
* Better with the new files added >.>Laurent Bercot2019-07-117-0/+113
|
* bits-fmtscan refactor, part oneLaurent Bercot2019-07-1128-175/+120
|
* child_spawn*: make sure posix_spawn() doesn't clobber pipes with dup2+closeLaurent Bercot2019-06-164-22/+37
|
* Add tryemptyregex/skalibs_regcomp, prepare for 2.8.1.0Laurent Bercot2019-05-112-0/+24
|
* bugfix: proper sockaddr storage in socket_remote46Laurent Bercot2019-05-071-4/+4
|
* Respect POSIX "Seconds since the Epoch" when hitting a leap secondLaurent Bercot2019-03-093-6/+5
|
* bugfix: leap second table. Also add leapsec reporting in localtm.Laurent Bercot2019-03-086-35/+37
|
* Add skalibs/posixishard.hLaurent Bercot2019-02-1935-91/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-198-172/+1
|
* Get rid of tryancilautoclose testLaurent Bercot2019-02-181-108/+6
|
* Remove _BSD_SOURCE from nonposix, just to try...Laurent Bercot2019-02-141-3/+0
|
* Fix xpathexec* exit codes when execve() fails!Laurent Bercot2019-02-127-7/+21
|
* Rename mkLtemp to mkhtemp; try to make MacOS happyLaurent Bercot2019-02-064-2/+11
|
* The extra space, John! The extra space!Laurent Bercot2019-02-051-1/+1
|
* fix null-pointer behavior in fmt and fmtlist functionsJohn Regan2019-02-051-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.
* Proper use of umask for mk[bcp]tempLaurent Bercot2019-01-083-0/+6
|
* Remove mkdir_unique, rewrite atomic_symlink with mkltempLaurent Bercot2019-01-083-45/+10
|
* Really add mkfootemp and autosurf, I guess ?Laurent Bercot2018-12-0813-0/+170
|
* Add mk?temp and autosurfLaurent Bercot2018-12-075-2/+19
|
* bugfix: rounding error in stralloc_reverse_blocksLaurent Bercot2018-11-241-2/+3
|
* Add env_dump()Laurent Bercot2018-11-142-0/+52
|
* Scrap avltreeb, prepare for 2.8.0.0Laurent Bercot2018-09-301-37/+13
|
* bugfix: if HASGETPEERUCRED, getpeereid() had UBLaurent Bercot2018-09-171-1/+1
|
* Better when it buildsLaurent Bercot2018-09-141-1/+1
|
* bugfix: child_spawn2 error pathLaurent Bercot2018-09-142-2/+2
|
* Remove avl*_deletenode() macros, document all added functionsLaurent Bercot2018-08-143-4/+0
|
* Remove protLaurent Bercot2018-08-014-79/+0
|
* Remove mininetstring, absolutepath, absolutepath_tmpLaurent Bercot2018-07-217-107/+1
|
* Add unlink_void, change dir_close, prepare for 2.7.0.0Laurent Bercot2018-07-216-8/+28
|
* Add skagetln_loose, skagetlnsep_loose, ipc_timed_sendvLaurent Bercot2018-06-246-0/+79
|
* Add nullispointer sysdepLaurent Bercot2018-05-031-0/+12
|
* Add genset[dyn]_deepfreeLaurent Bercot2018-04-134-0/+36
|
* Fix avltree_deletenodeOlivier Brunel2018-04-121-1/+1
| | | | Signed-off-by: Olivier Brunel <jjk@jjacky.com>
* Remove sig_scan, blehLaurent Bercot2018-03-213-41/+27
|
* Add sig_scan, sig0_scanLaurent Bercot2018-03-213-0/+50
|
* Fix build error (typo)Laurent Bercot2018-03-161-1/+1
|
* Add genqdyn_unpush, bufalloc_unputLaurent Bercot2018-03-163-0/+14
|
* Add byte_zzero, openb_readLaurent Bercot2018-03-015-0/+77
|
* Add execvep_loose, prepare for 2.6.4.0Laurent Bercot2018-02-145-29/+63
|
* C++ify more initializers >.>Laurent Bercot2018-02-144-10/+10
|