aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstddjb
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Types change: switch libdatastruct to uint32_tLaurent Bercot2017-02-2221-38/+35
| | | | Still needs to be reviewed.
* Types change: big pass on libstddjb and libunixonacidLaurent Bercot2017-02-21256-699/+595
| | | | libdatastruct still missing, library still not functional
* More types changesLaurent Bercot2017-02-17118-946/+475
| | | | | | | | | New disize Add size_t to the autotypes list Delete redundant and replace-libc files dev_t/ino_t pass Big size_t pass More things missing, still not operational yet
* add arc4random_addrandom sysdep; next batch of types changes.Laurent Bercot2017-02-1567-264/+211
| | | | | The library isn't supposed to be functional yet: there are still a lot of type mismatches.
* More work on the types. This commit builds but has errors.Laurent Bercot2017-01-2580-212/+409
| | | | | | | Rework src/headers entirely: build skalibs/types.h Convert skalibs/fmtscan.h types. Propagate changes until it builds. There are a lot of incompatible pointer issues remaining, those will be fixed with the buffer overhaul.
* Zero errno on EOF in allreadwrite()Laurent Bercot2016-11-271-1/+5
|
* Add the alarm library, first draft.Laurent Bercot2016-10-246-2/+230
|
* Add child_spawn2Laurent Bercot2016-10-191-0/+151
|
* bugfix: child_spawn() error path now closes the right amount of fdsLaurent Bercot2016-10-191-1/+2
|
* Clean up and modernize librandom.Laurent Bercot2016-10-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | Correct random number generation has historically been suprisingly painful to achieve. There was no standard, every system behaved in a subtly different way, and there were a few userland initiatives to get decent randomness, all incompatible of course. The situation is a bit better now, we're heading towards some standardization. The arc4random() series of functions is a good API, and available on a lot of systems - unfortunately not Linux, but on Linux the new getrandom() makes using /dev/random obsolete. So I removed the old crap in librandom, dropped EGD support, dropped dynamic backend selection, made a single API series (random_* instead of goodrandom_* and badrandom_*), added an arc4random backend and a getrandom backend, and defaulted to /dev/urandom backed up by SURF in the worst case. This should be much smaller and logical. However, it's a major API break, so the skarnet.org stack will be changed to adapt.
* add new leap second: 2016-12-31 23:59:60 UTCLaurent Bercot2016-07-171-3/+4
|
* bitarray_not: Fix skipping a byteOlivier Brunel2016-05-141-1/+1
| | | | Signed-off-by: Olivier Brunel <jjk@jjacky.com>
* Help Solaris finds its own futimens() in its own assLaurent Bercot2016-04-271-0/+1
|
* futimes() is not POSIX, so add some ftmsLaurent Bercot2016-04-271-1/+4
|
* Add new sysdeps for futimens() and futimes(), adapt touch() implementationLaurent Bercot2016-04-271-0/+37
|
* Bugfix: exec the child when not SKALIBS_HASPOSIXSPAWN in child_spawn0 ↵Laurent Bercot2016-04-221-1/+1
| | | | (thanks eto)
* Fix/clarify utilisations of 'char' (thanks Esben Haabendal)Laurent Bercot2016-01-145-10/+10
|
* Add bitarray_first{clear,set}_skip (thx jjk)Laurent Bercot2016-01-052-0/+30
| | | | version: rc for 2.3.9.0 after Makefile fix
* Fix incorrect clear/set when b&7 = 0 in bitarray_clearsetn (thx jjk)Laurent Bercot2016-01-051-1/+1
|
* Remove printing of useless nonvariable option char in sgetopt (thx Michael Zuo)Laurent Bercot2015-11-041-2/+0
|
* Fix comments in make-leapseconds_tableLaurent Bercot2015-10-211-1/+1
|
* - Remove /etc/leapsecs.datv2.3.8.0Laurent Bercot2015-10-1411-91/+59
| | | | | | - Publish tools to create the leap second table as a .c - Simplify functions using leap seconds - rc for 2.3.8.0
* - Fix double macro expansion bug in cbuffer_get* and cbuffer_put*Laurent Bercot2015-10-054-4/+12
| | | | - rc for 2.3.7.1
* Add touch, filecopy_unsafe, filecopy_suffixLaurent Bercot2015-08-254-27/+69
|
* Bugfix: wrong storage size in socket_local46 (thanks Jesse Young)v2.3.6.0Laurent Bercot2015-07-261-4/+4
|
* - fd_close fixLaurent Bercot2015-07-202-17/+23
| | | | | - add openreadnclose_nb - rc for 2.3.6.0
* Appease compiler on .sun_family in ipc_recvLaurent Bercot2015-06-251-1/+1
|
* Bugfix: remove overflow checking in tai?_add/subv2.3.5.0Laurent Bercot2015-06-035-18/+17
| | | | (because it doesn't work with relative times, duh!)
* Turn non-linear buffer macros calling str_len() into functions. >.>Laurent Bercot2015-06-026-0/+54
|
* C macros suck. Rewrote the case_diffb thing.Laurent Bercot2015-05-161-10/+1
|
* Typo fixes in case_diff*Laurent Bercot2015-05-162-3/+1
|
* - add bitarray_countLaurent Bercot2015-05-161-0/+20
| | | | | - add openwritevnclose_at - rc for 2.3.5.0
* - add stat_atLaurent Bercot2015-05-056-7/+27
| | | | | | - make case_diff* work as a function is more cases - make sig_number case-insensitive - make child signal unblocking work in child_spawn*
* - added str_nlen()Laurent Bercot2015-04-0813-31/+19
| | | | - various fixes for --enable-libc-replacements
* buffer_fill cosmetic fixLaurent Bercot2015-03-271-2/+1
|
* - added sha512 (buggy, need to commit to test somewhere else)Laurent Bercot2015-03-271-1/+1
| | | | | - version bump (not a rc yet) - bugfix: buffer_get returned -1 EPIPE on short reads w/o EOF
* Applied Roman Kimov's fixesv2.3.1.3Laurent Bercot2015-03-133-4/+4
|