From 21f4052c5b376800c4251462e10fa4b9630c6c69 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 13 Jun 2019 23:36:09 +0200 Subject: [PATCH] man: Add doc-str-Lb-libbsd aliases for str-Lb-libbsd groff(1) has changed the internal layout for the .Lb doc strings, but to preserve backwards compatibility we cannot simply rename them, we need to create new aliases so that these will work with old and new macros. Signed-off-by: Guillem Jover --- man/arc4random.3bsd | 1 + man/closefrom.3bsd | 1 + man/errc.3bsd | 1 + man/expand_number.3bsd | 1 + man/explicit_bzero.3bsd | 1 + man/fgetln.3bsd | 1 + man/fgetwln.3bsd | 1 + man/flopen.3bsd | 1 + man/fmtcheck.3bsd | 1 + man/fparseln.3bsd | 1 + man/fpurge.3bsd | 1 + man/funopen.3bsd | 1 + man/getbsize.3bsd | 1 + man/getpeereid.3bsd | 1 + man/getprogname.3bsd | 1 + man/heapsort.3bsd | 1 + man/humanize_number.3bsd | 1 + man/mdX.3bsd | 1 + man/nlist.3bsd | 1 + man/pidfile.3bsd | 1 + man/radixsort.3bsd | 1 + man/readpassphrase.3bsd | 1 + man/reallocarray.3bsd | 1 + man/reallocf.3bsd | 1 + man/setmode.3bsd | 1 + man/setproctitle.3bsd | 1 + man/stringlist.3bsd | 1 + man/strlcpy.3bsd | 1 + man/strmode.3bsd | 1 + man/strnstr.3bsd | 1 + man/strtoi.3bsd | 1 + man/strtonum.3bsd | 1 + man/strtou.3bsd | 1 + man/timeradd.3bsd | 1 + man/timeval.3bsd | 1 + man/unvis.3bsd | 1 + man/vis.3bsd | 1 + man/wcslcpy.3bsd | 1 + 38 files changed, 38 insertions(+) diff --git a/man/arc4random.3bsd b/man/arc4random.3bsd index 1de6508..c509a8e 100644 --- a/man/arc4random.3bsd +++ b/man/arc4random.3bsd @@ -42,6 +42,7 @@ .Nd arc4 random number generator .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In stdlib.h diff --git a/man/closefrom.3bsd b/man/closefrom.3bsd index d3a08c3..b2d3853 100644 --- a/man/closefrom.3bsd +++ b/man/closefrom.3bsd @@ -33,6 +33,7 @@ .Nd delete open file descriptors .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In unistd.h diff --git a/man/errc.3bsd b/man/errc.3bsd index 954dfae..0fa61a8 100644 --- a/man/errc.3bsd +++ b/man/errc.3bsd @@ -38,6 +38,7 @@ .Nd formatted error messages .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In err.h diff --git a/man/expand_number.3bsd b/man/expand_number.3bsd index 14327fa..e0ba501 100644 --- a/man/expand_number.3bsd +++ b/man/expand_number.3bsd @@ -33,6 +33,7 @@ .Nd format a number from human readable form .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In libutil.h diff --git a/man/explicit_bzero.3bsd b/man/explicit_bzero.3bsd index cf67c56..ca077b3 100644 --- a/man/explicit_bzero.3bsd +++ b/man/explicit_bzero.3bsd @@ -37,6 +37,7 @@ .Nd write zeroes to a byte string .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In string.h diff --git a/man/fgetln.3bsd b/man/fgetln.3bsd index dae47e7..c9f7059 100644 --- a/man/fgetln.3bsd +++ b/man/fgetln.3bsd @@ -36,6 +36,7 @@ .Nd get a line from a stream .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In stdio.h diff --git a/man/fgetwln.3bsd b/man/fgetwln.3bsd index 71bc167..21b8695 100644 --- a/man/fgetwln.3bsd +++ b/man/fgetwln.3bsd @@ -36,6 +36,7 @@ .Nd get a line of wide characters from a stream .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In stdio.h diff --git a/man/flopen.3bsd b/man/flopen.3bsd index b3cd8c9..6ee153c 100644 --- a/man/flopen.3bsd +++ b/man/flopen.3bsd @@ -34,6 +34,7 @@ .Nd "Reliably open and lock a file" .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In sys/fcntl.h diff --git a/man/fmtcheck.3bsd b/man/fmtcheck.3bsd index 886ecb9..93e7673 100644 --- a/man/fmtcheck.3bsd +++ b/man/fmtcheck.3bsd @@ -34,6 +34,7 @@ .Nd sanitizes user-supplied printf(3)-style format string .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In stdio.h diff --git a/man/fparseln.3bsd b/man/fparseln.3bsd index ab1039b..0f9ebc8 100644 --- a/man/fparseln.3bsd +++ b/man/fparseln.3bsd @@ -30,6 +30,7 @@ .Nd return the next logical line from a stream .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In stdio.h diff --git a/man/fpurge.3bsd b/man/fpurge.3bsd index 435dd39..eb3fc95 100644 --- a/man/fpurge.3bsd +++ b/man/fpurge.3bsd @@ -39,6 +39,7 @@ .Nd flush a stream .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In stdio.h diff --git a/man/funopen.3bsd b/man/funopen.3bsd index cc73cc1..b322525 100644 --- a/man/funopen.3bsd +++ b/man/funopen.3bsd @@ -40,6 +40,7 @@ .Nd open a stream .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In stdio.h diff --git a/man/getbsize.3bsd b/man/getbsize.3bsd index d9e9e8c..d091db3 100644 --- a/man/getbsize.3bsd +++ b/man/getbsize.3bsd @@ -36,6 +36,7 @@ .Nd get preferred block size .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In stdlib.h diff --git a/man/getpeereid.3bsd b/man/getpeereid.3bsd index f1d2609..cce3909 100644 --- a/man/getpeereid.3bsd +++ b/man/getpeereid.3bsd @@ -33,6 +33,7 @@ .Nd get the effective credentials of a UNIX-domain peer .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In sys/types.h diff --git a/man/getprogname.3bsd b/man/getprogname.3bsd index 013935f..d2a3e34 100644 --- a/man/getprogname.3bsd +++ b/man/getprogname.3bsd @@ -40,6 +40,7 @@ .Nd get or set the program name .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In stdlib.h diff --git a/man/heapsort.3bsd b/man/heapsort.3bsd index 8ec4a6d..106de56 100644 --- a/man/heapsort.3bsd +++ b/man/heapsort.3bsd @@ -40,6 +40,7 @@ .Nd sort functions .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In stdlib.h diff --git a/man/humanize_number.3bsd b/man/humanize_number.3bsd index d5e484c..ff1db2b 100644 --- a/man/humanize_number.3bsd +++ b/man/humanize_number.3bsd @@ -36,6 +36,7 @@ .Nd format a number into a human readable form and viceversa .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In stdlib.h diff --git a/man/mdX.3bsd b/man/mdX.3bsd index 248b90a..c36308a 100644 --- a/man/mdX.3bsd +++ b/man/mdX.3bsd @@ -25,6 +25,7 @@ .Nd calculate the RSA Data Security, Inc., ``MDX'' message digest .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In sys/types.h diff --git a/man/nlist.3bsd b/man/nlist.3bsd index f837000..7903ea7 100644 --- a/man/nlist.3bsd +++ b/man/nlist.3bsd @@ -36,6 +36,7 @@ .Nd retrieve symbol table name list from an executable file .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In nlist.h diff --git a/man/pidfile.3bsd b/man/pidfile.3bsd index e8974ae..489419b 100644 --- a/man/pidfile.3bsd +++ b/man/pidfile.3bsd @@ -36,6 +36,7 @@ .Nd "library for PID files handling" .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In libutil.h diff --git a/man/radixsort.3bsd b/man/radixsort.3bsd index 29a90c7..306a311 100644 --- a/man/radixsort.3bsd +++ b/man/radixsort.3bsd @@ -38,6 +38,7 @@ .Nd radix sort .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In limits.h diff --git a/man/readpassphrase.3bsd b/man/readpassphrase.3bsd index 53ad52d..9887eb9 100644 --- a/man/readpassphrase.3bsd +++ b/man/readpassphrase.3bsd @@ -26,6 +26,7 @@ .Nd get a passphrase from the user .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In readpassphrase.h diff --git a/man/reallocarray.3bsd b/man/reallocarray.3bsd index 96563ea..1a37d33 100644 --- a/man/reallocarray.3bsd +++ b/man/reallocarray.3bsd @@ -40,6 +40,7 @@ .Nd memory allocation and deallocation .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In stdlib.h diff --git a/man/reallocf.3bsd b/man/reallocf.3bsd index 57d6033..5d8b66d 100644 --- a/man/reallocf.3bsd +++ b/man/reallocf.3bsd @@ -40,6 +40,7 @@ .Nd general purpose memory allocation functions .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In stdlib.h diff --git a/man/setmode.3bsd b/man/setmode.3bsd index eb8f770..0710f2a 100644 --- a/man/setmode.3bsd +++ b/man/setmode.3bsd @@ -39,6 +39,7 @@ .Nd modify mode bits .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In unistd.h diff --git a/man/setproctitle.3bsd b/man/setproctitle.3bsd index 7425b77..ad1f44f 100644 --- a/man/setproctitle.3bsd +++ b/man/setproctitle.3bsd @@ -28,6 +28,7 @@ .Nd set process title .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In sys/types.h diff --git a/man/stringlist.3bsd b/man/stringlist.3bsd index 804aa6a..d5c0756 100644 --- a/man/stringlist.3bsd +++ b/man/stringlist.3bsd @@ -39,6 +39,7 @@ .Nd stringlist manipulation functions .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In stringlist.h diff --git a/man/strlcpy.3bsd b/man/strlcpy.3bsd index 54a3eed..fd5d71d 100644 --- a/man/strlcpy.3bsd +++ b/man/strlcpy.3bsd @@ -23,6 +23,7 @@ .Nd size-bounded string copying and concatenation .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In string.h diff --git a/man/strmode.3bsd b/man/strmode.3bsd index ad4a11c..224e099 100644 --- a/man/strmode.3bsd +++ b/man/strmode.3bsd @@ -36,6 +36,7 @@ .Nd convert inode status information into a symbolic string .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In string.h diff --git a/man/strnstr.3bsd b/man/strnstr.3bsd index 0e1f5b5..e7a116d 100644 --- a/man/strnstr.3bsd +++ b/man/strnstr.3bsd @@ -41,6 +41,7 @@ .Nd locate a substring in a string .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In string.h diff --git a/man/strtoi.3bsd b/man/strtoi.3bsd index 273d336..62c441e 100644 --- a/man/strtoi.3bsd +++ b/man/strtoi.3bsd @@ -44,6 +44,7 @@ .Nd convert string value to an intmax_t integer .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In inttypes.h diff --git a/man/strtonum.3bsd b/man/strtonum.3bsd index 7d82fc8..e06347b 100644 --- a/man/strtonum.3bsd +++ b/man/strtonum.3bsd @@ -23,6 +23,7 @@ .Nd reliably convert string value to an integer .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In limits.h diff --git a/man/strtou.3bsd b/man/strtou.3bsd index fc0f901..6bdc284 100644 --- a/man/strtou.3bsd +++ b/man/strtou.3bsd @@ -44,6 +44,7 @@ .Nd convert a string to an uintmax_t integer .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In inttypes.h diff --git a/man/timeradd.3bsd b/man/timeradd.3bsd index 607383a..e9e78e9 100644 --- a/man/timeradd.3bsd +++ b/man/timeradd.3bsd @@ -47,6 +47,7 @@ .Nd operations on time structure .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In sys/time.h diff --git a/man/timeval.3bsd b/man/timeval.3bsd index 39c4c65..31431a3 100644 --- a/man/timeval.3bsd +++ b/man/timeval.3bsd @@ -36,6 +36,7 @@ .Nd time structures .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In sys/time.h diff --git a/man/unvis.3bsd b/man/unvis.3bsd index 693fbda..22ed7c9 100644 --- a/man/unvis.3bsd +++ b/man/unvis.3bsd @@ -41,6 +41,7 @@ .Nd decode a visual representation of characters .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In vis.h diff --git a/man/vis.3bsd b/man/vis.3bsd index 25280a8..00d9ebe 100644 --- a/man/vis.3bsd +++ b/man/vis.3bsd @@ -51,6 +51,7 @@ .Nd visually encode characters .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In vis.h diff --git a/man/wcslcpy.3bsd b/man/wcslcpy.3bsd index 4195581..c112ff3 100644 --- a/man/wcslcpy.3bsd +++ b/man/wcslcpy.3bsd @@ -44,6 +44,7 @@ .Nd wide character string manipulation operations .Sh LIBRARY .ds str-Lb-libbsd Utility functions from BSD systems (libbsd, \-lbsd) +.ds doc-str-Lb-libbsd \*[str-Lb-libbsd] .Lb libbsd .Sh SYNOPSIS .In wchar.h