< C TAP Harness 3.2 | Russ Allbery > Eagle's Path > December 2014 | pam-krb5 4.7 > |
rra-c-util is my personal collection of infrastructure for C and Perl packages. This release has a quite-large accumulation of small fixes, mostly from work Julien ÉLIE has done on merging it into INN and testing INN's portability on a wide variety of platforms.
The highlights:
Add a new module-version.t test and helper script for Perl modules that checks that all modules included in a distribution have the correct version.
Add a new portable/socket-unix.h portability layer that includes sys/un.h and defines SUN_LEN if the implementation does not do so. (Use in combination with the RRA_MACRO_SUN_LEN Autoconf macro.)
Check for interview overflow in vector_join and vector_cjoin.
Avoid strlcpy in the getnameinfo and setenv replacements. I'm slowly trying to eliminate strlcpy and strlcat in my code in favor of asprintf and other cleaner replacements following an extensive discussion on the glibc mailing lists.
Fix network_addr_match with the empty string on AIX 7.1, whose inet_aton accepts the empty string.
network_connect, network_connect_host, and network_client_create all accept "any" as a synonym for "all" as a source, for parallelism with other functions.
Add PIPE_READ and PIPE_WRITE macros to util/macros.h to name the elements of the array passed to pipe.
Fix Windows portability for socket functions that, on UNIX, want to return an error code of EINVAL.
Fix visibility of some of the utility and portability functions.
You can get the latest version from the rra-c-util distribution page.
Posted: 2014-12-25 16:28 — Why no comments?
< C TAP Harness 3.2 | Russ Allbery > Eagle's Path > December 2014 | pam-krb5 4.7 > |