gbranden pushed a commit to branch master
in repository groff.
commit dc7b8d29b43897b550f8101f9e1c2a0cdeffa699
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Dec 18 10:12:16 2025 -0600
src: Update comments on shell signal handlers.
---
src/preproc/soelim/tests/space-in-argument-works.sh | 2 +-
src/roff/groff/tests/so-request-accepts-embedded-space-in-arg.sh | 2 +-
src/roff/groff/tests/write-request-handles-empty-second-arg.sh | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/preproc/soelim/tests/space-in-argument-works.sh
b/src/preproc/soelim/tests/space-in-argument-works.sh
index 0ad471c68..07213ece1 100755
--- a/src/preproc/soelim/tests/space-in-argument-works.sh
+++ b/src/preproc/soelim/tests/space-in-argument-works.sh
@@ -34,7 +34,7 @@ cleanup () {
}
# A process handling a fatal signal should:
-# 1. Mask _all_ fatal signals.
+# 1. Mask all fatal signals of interest. (GBR often excludes ABRT.)
# 2. Perform cleanup operations.
# 3. Unmask the signal (removing the handler).
# 4. Signal its own process group with the signal caught so that the
diff --git a/src/roff/groff/tests/so-request-accepts-embedded-space-in-arg.sh
b/src/roff/groff/tests/so-request-accepts-embedded-space-in-arg.sh
index 0f07f57de..9e55e68c5 100755
--- a/src/roff/groff/tests/so-request-accepts-embedded-space-in-arg.sh
+++ b/src/roff/groff/tests/so-request-accepts-embedded-space-in-arg.sh
@@ -34,7 +34,7 @@ cleanup () {
}
# A process handling a fatal signal should:
-# 1. Mask _all_ fatal signals.
+# 1. Mask all fatal signals of interest. (GBR often excludes ABRT.)
# 2. Perform cleanup operations.
# 3. Unmask the signal (removing the handler).
# 4. Signal its own process group with the signal caught so that the
diff --git a/src/roff/groff/tests/write-request-handles-empty-second-arg.sh
b/src/roff/groff/tests/write-request-handles-empty-second-arg.sh
index 7768028cd..4a1524955 100755
--- a/src/roff/groff/tests/write-request-handles-empty-second-arg.sh
+++ b/src/roff/groff/tests/write-request-handles-empty-second-arg.sh
@@ -36,7 +36,7 @@ cleanup () {
}
# A process handling a fatal signal should:
-# 1. Mask _all_ fatal signals.
+# 1. Mask all fatal signals of interest. (GBR often excludes ABRT.)
# 2. Perform cleanup operations.
# 3. Unmask the signal (removing the handler).
# 4. Signal its own process group with the signal caught so that the
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit