summaryrefslogtreecommitdiff
path: root/src/libstddjb
AgeCommit message (Collapse)Author
2019-09-04 With the correct sysdeps macros, pleaseLaurent 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-08-07 iopause_select: add protection against UB in FD_SETLaurent Bercot
2019-07-31 bugfix: env_dump() unterminated stringsLaurent Bercot
2019-07-23 Typo fixLaurent Bercot
2019-07-22 Factor all the BSD complaints into one new headerLaurent Bercot
2019-07-19 bits-fmtscan refactor, part twoLaurent Bercot
2019-07-11 bugfix: memcmp doesn't guarantee not touching bytes after cmp fails.Laurent Bercot
2019-07-11 Better with the new files added >.>Laurent Bercot
2019-07-11 bits-fmtscan refactor, part oneLaurent Bercot
2019-06-16 child_spawn*: make sure posix_spawn() doesn't clobber pipes with dup2+closeLaurent Bercot
2019-05-07 bugfix: proper sockaddr storage in socket_remote46Laurent Bercot
2019-03-09 Respect POSIX "Seconds since the Epoch" when hitting a leap secondLaurent Bercot
2019-03-08 bugfix: leap second table. Also add leapsec reporting in localtm.Laurent 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-12 Fix xpathexec* exit codes when execve() fails!Laurent Bercot
2019-02-06 Rename mkLtemp to mkhtemp; try to make MacOS happyLaurent Bercot
2019-02-05 The extra space, John! The extra space!Laurent Bercot
2019-02-05fix null-pointer behavior in fmt and fmtlist functionsJohn Regan
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.
2018-11-24 bugfix: rounding error in stralloc_reverse_blocksLaurent Bercot
2018-11-14 Add env_dump()Laurent Bercot
2018-09-14 Better when it buildsLaurent Bercot
2018-09-14 bugfix: child_spawn2 error pathLaurent 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-03-21 Remove sig_scan, blehLaurent Bercot
2018-03-21 Add sig_scan, sig0_scanLaurent Bercot
2018-03-01 Add byte_zzero, openb_readLaurent Bercot
2018-02-02 Fix HASSIGNEDSIGNED sysdeps macros, add localtm_from_ltm64 tolerance for ↵Laurent Bercot
64-bit time_t
2018-01-03 Add child_spawn3, make textclient_startf use itLaurent Bercot
2017-12-22 Deprecate env_getLaurent Bercot
2017-12-21 Add dirfd sysdep, because Solaris sucksLaurent Bercot
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-07 Finally implement sarealpath() over realpath(). Prettier atomic_symlink().Laurent Bercot
2017-10-30 Add lock_unx()Laurent Bercot
2017-10-21 Bugfix: getlnmax(sep) needs to include the terminating byte when foundLaurent Bercot
2017-10-18 Better packing / unpacking codeLaurent Bercot
Godbolted for x86_64 with gcc and clang.
2017-10-08 Fix double close in openwrite*Laurent Bercot
2017-09-27 Rewrite openwrite(v)nclose using mkstempLaurent Bercot
2017-09-27 Comment fix (writing to /dev/urandom doesn't speed it up)Laurent Bercot
2017-08-28 Catch signals with SA_RESTART unless iopause is select()Laurent Bercot
2017-08-23 Change xexecvep exit codes ; add namespaces sysdepLaurent Bercot
2017-08-14 Revert initializer optimization (buggy when first realloc'ing!)Laurent Bercot
2017-07-31 Make cbuffer_?peek take a const; make *_init not leak when misusedLaurent Bercot
2017-07-30 Fix a case where socket_deadlineconnstamp* could modify errno on success ↵Laurent Bercot
(thanks jlyo)
2017-07-16 Typo fix in touch.cLaurent Bercot
2017-07-16 More secure setgroups functions. (thanks muh)Laurent Bercot
2017-07-16 Include grp.h for setgroups definitionLaurent Bercot