]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] fix comment reference from man 7 signal to man 7 signal-safety (GH-138554...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 7 Oct 2025 18:34:15 +0000 (20:34 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Oct 2025 18:34:15 +0000 (19:34 +0100)
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 <mohghq@gmail.com>
Modules/_posixsubprocess.c
Modules/signalmodule.c
Python/pylifecycle.c

index b542f86b6fe8da251e455564704210d2f3af6062..6ce3494e778df3b4d60308e26a022d561661e2f0 100644 (file)
@@ -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
index c1c3d7c9c055345651831ebec24c29f1b0b2d8c7..c25e695e7ff5fa4b47d0ded3fa746fce59be20a8 100644 (file)
@@ -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.
index 8d1e48aa8ad8ad74578d15eca9737cc62feed240..5b9ce617a48676dafea497c347a69baa421440e9 100644 (file)
@@ -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