[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 2f5ace780b)


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

Co-authored-by: mqudah <mohghq@gmail.com>
This commit is contained in:
Miss Islington (bot) 2025-10-07 20:34:15 +02:00 committed by GitHub
parent 0a517786af
commit 29cffb1c02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -630,7 +630,7 @@ reset_signal_handlers(const sigset_t *child_sigmask)
* (v)fork to set things up and call exec(). * (v)fork to set things up and call exec().
* *
* All of the code in this function must only use async-signal-safe functions, * 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. * http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
* *
* This restriction is documented at * This restriction is documented at

View file

@ -1940,7 +1940,7 @@ signal_install_handlers(void)
/* Restore signals that the interpreter has called SIG_IGN on to SIG_DFL. /* 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, * 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. * http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
* *
* If this function is updated, update also _posix_spawn() of subprocess.py. * If this function is updated, update also _posix_spawn() of subprocess.py.

View file

@ -3597,7 +3597,7 @@ PyOS_getsig(int sig)
/* /*
* All of the code in this function must only use async-signal-safe functions, * 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. * http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
*/ */
PyOS_sighandler_t PyOS_sighandler_t