aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstddjb
Commit message (Collapse)AuthorAgeFilesLines
* Add skalibs/posixishard.hLaurent Bercot2019-02-197-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 Bercot2019-02-127-7/+21
|
* Rename mkLtemp to mkhtemp; try to make MacOS happyLaurent Bercot2019-02-061-0/+2
|
* 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.
* bugfix: rounding error in stralloc_reverse_blocksLaurent Bercot2018-11-241-2/+3
|
* Add env_dump()Laurent Bercot2018-11-141-0/+51
|
* Better when it buildsLaurent Bercot2018-09-141-1/+1
|
* bugfix: child_spawn2 error pathLaurent Bercot2018-09-142-2/+2
|
* Remove protLaurent Bercot2018-08-013-73/+0
|
* Remove mininetstring, absolutepath, absolutepath_tmpLaurent Bercot2018-07-214-91/+1
|
* Add unlink_void, change dir_close, prepare for 2.7.0.0Laurent Bercot2018-07-211-7/+8
|
* Add skagetln_loose, skagetlnsep_loose, ipc_timed_sendvLaurent Bercot2018-06-242-0/+30
|
* Remove sig_scan, blehLaurent Bercot2018-03-212-40/+27
|
* Add sig_scan, sig0_scanLaurent Bercot2018-03-212-0/+47
|
* Add byte_zzero, openb_readLaurent Bercot2018-03-012-0/+45
|
* Fix HASSIGNEDSIGNED sysdeps macros, add localtm_from_ltm64 tolerance for ↵Laurent Bercot2018-02-021-0/+3
| | | | 64-bit time_t
* Add child_spawn3, make textclient_startf use itLaurent Bercot2018-01-032-1/+166
|
* Deprecate env_getLaurent Bercot2017-12-227-27/+25
|
* Add dirfd sysdep, because Solaris sucksLaurent Bercot2017-12-211-0/+23
|
* Big 2.6.3.0 reorganizationLaurent Bercot2017-12-2112-260/+74
| | | | | | | - Add libposixplz, update headers - Add memmem and friends - Add textmessage to libunixonacid - Update some sysdeps tests
* Finally implement sarealpath() over realpath(). Prettier atomic_symlink().Laurent Bercot2017-12-074-75/+37
|
* Add lock_unx()Laurent Bercot2017-10-301-0/+11
|
* Bugfix: getlnmax(sep) needs to include the terminating byte when foundLaurent Bercot2017-10-212-4/+4
|
* Better packing / unpacking codeLaurent Bercot2017-10-1818-86/+98
| | | | Godbolted for x86_64 with gcc and clang.
* Fix double close in openwrite*Laurent Bercot2017-10-082-2/+0
|
* Rewrite openwrite(v)nclose using mkstempLaurent Bercot2017-09-276-26/+123
|
* Comment fix (writing to /dev/urandom doesn't speed it up)Laurent Bercot2017-09-271-1/+1
|
* Catch signals with SA_RESTART unless iopause is select()Laurent Bercot2017-08-281-0/+4
|
* Change xexecvep exit codes ; add namespaces sysdepLaurent Bercot2017-08-231-1/+2
|
* Revert initializer optimization (buggy when first realloc'ing!)Laurent Bercot2017-08-141-1/+2
|
* Make cbuffer_?peek take a const; make *_init not leak when misusedLaurent Bercot2017-07-313-4/+3
|
* Fix a case where socket_deadlineconnstamp* could modify errno on success ↵Laurent Bercot2017-07-303-0/+6
| | | | (thanks jlyo)
* Typo fix in touch.cLaurent Bercot2017-07-161-1/+1
|
* More secure setgroups functions. (thanks muh)Laurent Bercot2017-07-162-4/+18
|
* Include grp.h for setgroups definitionLaurent Bercot2017-07-161-0/+1
|
* Change setgroups() management, in particular add skalibs_setgroups()Laurent Bercot2017-07-161-0/+45
|
* Add egidingroups sysdeps, change fd_close() to void and saving errno, ↵Laurent Bercot2017-07-1622-90/+26
| | | | propagate changes
* Fix openreadnclose failing if errno was nonzero before (thanks jjk)Laurent Bercot2017-05-221-1/+3
|
* Add xpathexec_* functions, prepare for 2.5.1.0Laurent Bercot2017-05-188-0/+80
|
* bugfix: error reporting in openreadcloseLaurent Bercot2017-05-121-4/+9
|
* Change SKALIBS_NSIG to SKALIBS_DEFAULT_NSIG and NSIG to SKALIBS_NSIG to ↵Laurent Bercot2017-04-283-7/+7
| | | | accommodate OpenBSD snowflakiness
* Always pair skalibs/nsig.h with skalibs/nonposix.h (and screw NSIG with a ↵Laurent Bercot2017-04-283-10/+18
| | | | chainsaw)
* Fix NSIG definition (max+1 instead of max)Laurent Bercot2017-04-283-7/+7
|
* Fix unixmessage_putv() (the normal message wasn't taken into account!)Laurent Bercot2017-03-151-1/+1
|
* Better pipe2 detection on BSD systemsLaurent Bercot2017-03-151-8/+1
|
* More fixes in lesser-explored #define pathsLaurent Bercot2017-03-141-0/+1
|
* Fix iobufferk_flush typoLaurent Bercot2017-03-141-1/+1
|
* More superflous headers cleanup and tiny fixesLaurent Bercot2017-03-13165-199/+11
|
* Cleanups - mostly removing superfluous includes in headersLaurent Bercot2017-03-133-6/+5
|