Skip to content

Commit 837df27

Browse files
[3.13] fix comment reference from man 7 signal to man 7 signal-safety (GH-138554) (#138595)
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 afec2c7 commit 837df27

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

Modules/signalmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1933,7 +1933,7 @@ signal_install_handlers(void)
19331933
/* Restore signals that the interpreter has called SIG_IGN on to SIG_DFL.
19341934
*
19351935
* All of the code in this function must only use async-signal-safe functions,
1936-
* listed at `man 7 signal` or
1936+
* listed at `man 7 signal-safety` or
19371937
* http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html.
19381938
*
19391939
* 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
@@ -3599,7 +3599,7 @@ PyOS_getsig(int sig)
35993599

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

0 commit comments

Comments
 (0)