]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix comment reference from man 7 signal to man 7 signal-safety (#138554)
authormqudah <mohghq@gmail.com>
Sat, 6 Sep 2025 18:40:15 +0000 (21:40 +0300)
committerGitHub <noreply@github.com>
Sat, 6 Sep 2025 18:40:15 +0000 (18:40 +0000)
docs: fix comment reference from man 7 signal to man 7 signal-safety

Modules/_posixsubprocess.c
Modules/signalmodule.c
Python/pylifecycle.c

index bd78a46c8d798fc6cb46194402713de263e382ff..0219a3360fd6b1b58b3a63ea43e438a262822b30 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 59b08e28d7b5cbf45c042cbfc48b4a70d8e35d30..02bfdab957fc5219896909e96e9c4119ef77b734 100644 (file)
@@ -1943,7 +1943,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 b6b1d2845ec2f1f97f7ae829dd0e13eccf41a5bb..51a777077d825582b68336ee1ec163a45e59d208 100644 (file)
@@ -3595,7 +3595,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