Skip to content

Commit fbd5158

Browse files
mohammedgqudahmiss-islington
authored andcommitted
fix comment reference from man 7 signal to man 7 signal-safety (GH-138554)
(cherry picked from commit 2f5ace7) Co-authored-by: mqudah <mohghq@gmail.com> docs: fix comment reference from man 7 signal to man 7 signal-safety
1 parent 9cc2b25 commit fbd5158

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Modules/_posixsubprocess.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ reset_signal_handlers(const sigset_t *child_sigmask)
630630
* (v)fork to set things up and call exec().
631631
*
632632
* All of the code in this function must only use async-signal-safe functions,
633-
* listed at `man 7 signal` or
633+
* listed at `man 7 signal-safety` or
634634
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
635635
*
636636
* This restriction is documented at

Modules/signalmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1940,7 +1940,7 @@ signal_install_handlers(void)
19401940
/* Restore signals that the interpreter has called SIG_IGN on to SIG_DFL.
19411941
*
19421942
* All of the code in this function must only use async-signal-safe functions,
1943-
* listed at `man 7 signal` or
1943+
* listed at `man 7 signal-safety` or
19441944
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
19451945
*
19461946
* If this function is updated, update also _posix_spawn() of subprocess.py.

Python/pylifecycle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3594,7 +3594,7 @@ PyOS_getsig(int sig)
35943594

35953595
/*
35963596
* All of the code in this function must only use async-signal-safe functions,
3597-
* listed at `man 7 signal` or
3597+
* listed at `man 7 signal-safety` or
35983598
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
35993599
*/
36003600
PyOS_sighandler_t

0 commit comments

Comments
 (0)