File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -937,7 +937,10 @@ mod decl {
937937 libc:: signal ( signum, user. previous ) ;
938938 libc:: raise ( signum) ;
939939 // Re-register our handler
940- libc:: signal ( signum, faulthandler_user_signal as * const ( ) as libc:: sighandler_t ) ;
940+ libc:: signal (
941+ signum,
942+ faulthandler_user_signal as * const ( ) as libc:: sighandler_t ,
943+ ) ;
941944 }
942945 }
943946 }
@@ -988,7 +991,10 @@ mod decl {
988991 let previous = if !user_signals:: is_enabled ( signum) {
989992 // Install signal handler
990993 let prev = unsafe {
991- libc:: signal ( args. signum , faulthandler_user_signal as * const ( ) as libc:: sighandler_t )
994+ libc:: signal (
995+ args. signum ,
996+ faulthandler_user_signal as * const ( ) as libc:: sighandler_t ,
997+ )
992998 } ;
993999 if prev == libc:: SIG_ERR {
9941000 return Err ( vm. new_os_error ( format ! (
You can’t perform that action at this time.
0 commit comments