Subject: ffi_prep_cif.3: Some remarks and a patch with editorial changes for this man page

From: Bjarni Ingi Gislason <[email-masked]>
Date: Fri, 4 Apr 2025 02:07:44 +0000

Package: libffi-dev
Version: 3.4.7-1
Severity: minor
Tags: patch

   * What led up to the situation?

     Checking for defects with a new version

test-[g|n]roff -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=10 -ww -z < "man page"

  [Use 

grep -e ' $' -e '\\~$' -e ' \\f.$' -e ' "$' <file>

  to find (most) trailing spaces.]

  ["test-groff" is a script in the repository for "groff"; is not shipped]
(local copy and "troff" slightly changed by me).

  [The fate of "test-nroff" was decided in groff bug #55941.]

   * What was the outcome of this action?

troff:<stdin>:25: warning: trailing space in the line

   * What outcome did you expect instead?

     No output (no warnings).

-.-

  General remarks and further material, if a diff-file exist, are in the
attachments.

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.20-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libffi-dev depends on:
ii  libffi8  3.4.7-1

libffi-dev recommends no packages.

libffi-dev suggests no packages.

-- no debconf information
--- ffi_prep_cif.3	2025-04-04 01:31:21.976690898 +0000
+++ ffi_prep_cif.3.new	2025-04-04 01:57:53.662399298 +0000
@@ -1,11 +1,12 @@
 .Dd February 15, 2008
 .Dt ffi_prep_cif 3
+.Os
 .Sh NAME
 .Nm ffi_prep_cif
 .Nd Prepare a
 .Nm ffi_cif
 structure for use with
-.Nm ffi_call 
+.Nm ffi_call
 .
 .Sh SYNOPSIS
 .In ffi.h
@@ -22,7 +23,7 @@ The
 .Nm ffi_prep_cif
 function prepares a
 .Nm ffi_cif
-structure for use with 
+structure for use with
 .Nm ffi_call
 .
 .Fa abi