]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] fix comment reference from man 7 signal to man 7 signal-safety (GH-138554...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 6 Sep 2025 19:02:33 +0000 (21:02 +0200)
committerGitHub <noreply@github.com>
Sat, 6 Sep 2025 19:02:33 +0000 (19:02 +0000)
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 daec4ad708dea46efcb7a859e88b5c6ad62f4e1f..b5326314677d62df083734c58564d596cb729e4b 100644 (file)
@@ -628,7 +628,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 e279a2a0885fc06fb375454ac8d9b5c8126fe7d9..3c7bea5d0c13d0e098b03ee03cb2ba0627179f9d 100644 (file)
@@ -1933,7 +1933,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 c79fe7a09cad66b611107efebf4936c5429ab29b..01fd36e52fc11ef50fc717e71282643a6eb055c0 100644 (file)
@@ -3599,7 +3599,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