skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit ef6a7da72a1273380197ef5bff0969f974e15466
parent 9bc164fb17451337952eadea7de8e54b3ffaaefd
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Fri, 28 Oct 2016 15:18:30 +0000

 version: 2.4.0.0

Diffstat:
Mdoc/libskarnet.html | 13++++++++++---
Mdoc/upgrade.html | 5++++-
2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/doc/libskarnet.html b/doc/libskarnet.html @@ -63,12 +63,19 @@ it <tt>$sysdeps</tt>. </li> <li> Link with <tt>-lskarnet</tt>. If you are using socket functions, you will also need to link with <tt>`cat $sysdeps/socket.lib`</tt>. If you are using time functions such as <tt>tain_now()</tt>, you will also need to link with -<tt>`cat $sysdeps/tainnow.lib`</tt>. </li> +<tt>`cat $sysdeps/tainnow.lib`</tt>. Also +<tt>`cat $sysdeps/spawn.lib`</tt>` for <tt>posix_spawn()</tt> functions, +<tt>timer.lib</tt> for <tt>timer_create</tt> functions, and so on. This +is, unfortunately, the only way to work with all the idiosyncrasies and +whimsies of various libcs; only +<a href="http://www.musl-libc.org/">musl</a> does the sensible thing and +exports all its functions from <tt>libc.a</tt> and <tt>libc.so</tt>, +without requiring any additional linker command line flags. </li> </ul> <p> - The <em>skarnet</em> library as a whole is big (826k for libskarnet.a and -233k for libskarnet.so.2.0.0.0 on x86_64-linux), but the utmost care has been + The <em>skarnet</em> library as a whole is big (945k for libskarnet.a and +179k for libskarnet.so.2.4.0.0 on x86_64-linux), but the utmost care has been given to separate functions so that linkers never pull in any more than they need. Linking against the static version of libskarnet actually produces very small executables, and if your libc is suited for that, since skalibs diff --git a/doc/upgrade.html b/doc/upgrade.html @@ -23,7 +23,10 @@ <ul> <li> More support for advanced fd callbacks in <tt>unixmessage_sender</tt> and <tt>unixconnection</tt>. </li> <li> <tt>ipc_timed_send()</tt>, <tt>ipc_timed_recv()</tt> </li> - <li> rt.lib sysdep removed; spawn.lib sysdep added </li> + <li> rt.lib sysdep removed; spawn.lib and timer.lib sysdeps added </li> + <li> Leap second for 2016-12-31 23:59:60 UTC added </li> + <li> Complete <a href="librandom/">librandom</a> rewrite </li> + <li> <a href="libstddjb/alarm.html">skalibs/alarm.h</a> added </li> </ul> <h2> in 2.3.10.0 </h2>