https://github.com/python/cpython/commit/29cffb1c02759348c66f3deba4934e2c2b0b467c
commit: 29cffb1c02759348c66f3deba4934e2c2b0b467c
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: AA-Turner <[email protected]>
date: 2025-10-07T19:34:15+01:00
summary:

[3.14] fix comment reference from man 7 signal to man 7 signal-safety 
(GH-138554) (#138594)

fix comment reference from man 7 signal to man 7 signal-safety (GH-138554)
(cherry picked from commit 2f5ace780ba3880ce07c4aacbda08ebba36e3b4d)


docs: fix comment reference from man 7 signal to man 7 signal-safety

Co-authored-by: mqudah <[email protected]>

files:
M Modules/_posixsubprocess.c
M Modules/signalmodule.c
M Python/pylifecycle.c

diff --git a/Modules/_posixsubprocess.c b/Modules/_posixsubprocess.c
index b542f86b6fe8da..6ce3494e778df3 100644
--- a/Modules/_posixsubprocess.c
+++ b/Modules/_posixsubprocess.c
@@ -630,7 +630,7 @@ reset_signal_handlers(const sigset_t *child_sigmask)
  * (v)fork to set things up and call exec().
  *
  * All of the code in this function must only use async-signal-safe functions,
- * listed at `man 7 signal` or
+ * listed at `man 7 signal-safety` or
  * http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
  *
  * This restriction is documented at
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index c1c3d7c9c05534..c25e695e7ff5fa 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -1940,7 +1940,7 @@ signal_install_handlers(void)
 /* Restore signals that the interpreter has called SIG_IGN on to SIG_DFL.
  *
  * All of the code in this function must only use async-signal-safe functions,
- * listed at `man 7 signal` or
+ * listed at `man 7 signal-safety` or
  * http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
  *
  * If this function is updated, update also _posix_spawn() of subprocess.py.
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index 8d1e48aa8ad8ad..5b9ce617a48676 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -3597,7 +3597,7 @@ PyOS_getsig(int sig)
 
 /*
  * All of the code in this function must only use async-signal-safe functions,
- * listed at `man 7 signal` or
+ * listed at `man 7 signal-safety` or
  * http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
  */
 PyOS_sighandler_t

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to