File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ class ApplicationAsyncSafeFunction extends AsyncSafeFunction {
8686}
8787
8888/**
89- * Call to function `raise` withing a signal handler with mismatching signals
89+ * Call to function `raise` within a signal handler with mismatching signals
9090 * ```
9191 * void int_handler(int signum) {
9292 * raise(SIGTERM);
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ void handler1(int signum) {
1313}
1414
1515int f1 (void ) {
16- if (signal (SIGINT , handler1 ) == SIG_ERR ) // COMPLIANT
16+ if (signal (SIGINT , handler1 ) == SIG_ERR )
1717 {
1818 //...
1919 }
2020
21- log_local_unsafe (); // COMPLIANT
21+ log_local_unsafe ();
2222
2323 return 0 ;
2424}
@@ -33,7 +33,7 @@ int f2(void) {
3333 }
3434
3535 while (!eflag ) {
36- log_local_unsafe (); // COMPLIANT
36+ log_local_unsafe ();
3737 }
3838
3939 return 0 ;
@@ -113,7 +113,7 @@ int f6(void) {
113113 // ...
114114 }
115115
116- if (raise (SIGINT ) != 0 ) // COMPLIANT
116+ if (raise (SIGINT ) != 0 )
117117 {
118118 // ...
119119 }
You can’t perform that action at this time.
0 commit comments