Skip to content

Commit 29cffb1

Browse files
[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 2f5ace7) docs: fix comment reference from man 7 signal to man 7 signal-safety Co-authored-by: mqudah <[email protected]>
1 parent 0a51778 commit 29cffb1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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
@@ -3597,7 +3597,7 @@ PyOS_getsig(int sig)
35973597

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

0 commit comments

Comments
 (0)