Age | Commit message (Collapse) | Author |
|
libdatastruct still missing, library still not functional
|
|
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
|
|
The library isn't supposed to be functional yet: there are
still a lot of type mismatches.
|
|
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.
|
|
|
|
struct sigevent too)
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
- rc for 2.3.5.2
|
|
|
|
don't define kill() with only _BSD_SOURCE. That's very
disappointing from GNU.
|
|
use CMSG_LEN where required in tryancilautoclose).
Also, good news: the sys/param.h inclusion in FreeBSD isn't necessary
anymore.
|
|
|
|
Only include MSG_WAITALL when it's tested nb, then.
Also test yet another fix for the tryancilautoclose FreeBSD problem.
|
|
|
|
as well use it on architectures that support it.
|
|
already. More tentative workarounds.
|
|
|
|
until buffer full or socket shutdown on BSD, *even if the socket is
nonblocking*. So I added an "okwaitall" sysdeps, and won't set
MSG_WAITALL on retarded systems.
|
|
|