URL:
  <https://savannah.gnu.org/bugs/?68064>

                 Summary: .sy does not populate systat register
                   Group: GNU roff
               Submitter: cve
               Submitted: Wed 18 Feb 2026 03:59:54 PM UTC
                Category: General
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 18 Feb 2026 03:59:54 PM UTC By: cve <cve>
The documentation says:

> The writable register systat contains the return value of the system()
> function executed by the last sy request.

When executing the following document with `nroff -U filename.roff`, the
output is: `0`, eventhough it should be `1`.
```roff
.sy /usr/bin/false
\n[systat]
```

GNU groff version 1.23.0, Darwin Mac 25.3.0 Darwin Kernel Version 25.3.0: Wed
Jan 28 20:53:05 PST 2026; root:xnu-12377.81.4~5/RELEASE_ARM64_T6020 arm64







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68064>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to