libbsd: Branch 'master' - 3 commits

GitLab Mirror gitlab-mirror at
Sun Feb 7 14:18:06 UTC 2021

 .gitlab-ci.yml |    4 ++--
 man/libbsd.7   |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 2 deletions(-)

New commits:
commit 18ebabf22306453f29ef63b1b1e7fb6c9ebb6ebf
Author: Guillem Jover <guillem at>
Date:   Sun Feb 7 10:56:51 2021 +0100

    man: Update libbsd(7) man page with updates in 0.11.0

diff --git a/man/libbsd.7 b/man/libbsd.7
index bfaa3ce..3eada82 100644
--- a/man/libbsd.7
+++ b/man/libbsd.7
@@ -94,11 +94,13 @@ be prefixed with
 .It In bitstring.h
 .It In err.h
 .It In getopt.h
+.It In grp.h
 .It In inttypes.h
 .It In libutil.h
 .It In md5.h
 .It In netinet/ip_icmp.h
 .It In nlist.h
+.It In pwd.h
 .It In readpassphrase.h
 .It In stdio.h
 .It In stdlib.h
@@ -107,6 +109,7 @@ be prefixed with
 .It In sys/bitstring.h
 .It In sys/cdefs.h
 .It In sys/endian.h
+.It In sys/param.h
 .It In sys/poll.h
 .It In sys/queue.h
 .It In sys/time.h
@@ -125,6 +128,45 @@ It only works in non-overlay mode.
 .Bl -tag -width 4m -compact
 .It In bsd/bsd.h
+Some functions have different prototypes depending on the BSD where they
+originated from, and these various implementations provided are selectable
+at build-time.
+This is the list of functions that provide multiple implementations:
+.Bl -tag -width 4m
+.It Fn strnvis 3
+.It Fn strnunvis 3
+.Fn strnvis 3
+.Fn strnunvis 3
+but unfortunately made it incompatible with the existing one in
+and Freedesktop's libbsd (the former having existed for over ten years).
+Despite this incompatibility being reported during development (see
+ they still shipped it.
+Even more unfortunately
+and later MacOS picked up this incompatible implementation.
+Provide both implementations and default for now to the historical one to
+avoid breakage, but we will switch to the
+one in a later release, which is internally consistent with the other
+.Xr vis 3
+functions and is now more widespread.
+to switch to the
+.Nx one now.
+to keep using the
 Some functions have been deprecated, they will emit warnings at compile time
 and possibly while being linked at run-time.
@@ -216,6 +258,7 @@ This function is provided by
 .Xr md5 3bsd ,
 .Xr nlist 3bsd ,
 .Xr pidfile 3bsd ,
+.Xr pwcache 3bsd ,
 .Xr queue 3bsd ,
 .Xr radixsort 3bsd ,
 .Xr readpassphrase 3bsd ,
commit 4ab11c7f4893684811077574c9a2c233bedf964f
Author: Guillem Jover <guillem at>
Date:   Sun Feb 7 10:37:18 2021 +0100

    build: Install libmd-dev in the gitlab CI

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e784272..21a1bc7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,7 @@ image: debian:buster
     - apt update -qq
-    - apt install -qq -y --no-install-recommends git gcc make autoconf automake libtool
+    - apt install -qq -y --no-install-recommends git gcc make autoconf automake libtool libmd-dev
     - ./autogen && ./configure
     - make check
commit 766c883e30b5f254a3352a5fd3c0540be9416b90
Author: Guillem Jover <guillem at>
Date:   Sun Feb 7 10:35:57 2021 +0100

    build: Switch gitlab CI to use a Debian buster

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3d6dbb6..e784272 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: debian:stretch
+image: debian:buster

More information about the libbsd mailing list