Skip to content

Commit e615180

Browse files
authored
fix: remove SaFlags workaround for libc issue (#2762)
Remove workaround for libc issue introduced in 0708c8c
1 parent 0504be6 commit e615180

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/sys/signal.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -442,25 +442,25 @@ libc_bitflags! {
442442
/// When catching a [`Signal::SIGCHLD`] signal, the signal will be
443443
/// generated only when a child process exits, not when a child process
444444
/// stops.
445-
SA_NOCLDSTOP as SaFlags_t;
445+
SA_NOCLDSTOP;
446446
/// When catching a [`Signal::SIGCHLD`] signal, the system will not
447447
/// create zombie processes when children of the calling process exit.
448448
#[cfg(not(target_os = "hurd"))]
449-
SA_NOCLDWAIT as SaFlags_t;
449+
SA_NOCLDWAIT;
450450
/// Further occurrences of the delivered signal are not masked during
451451
/// the execution of the handler.
452-
SA_NODEFER as SaFlags_t;
452+
SA_NODEFER;
453453
/// The system will deliver the signal to the process on a signal stack,
454454
/// specified by each thread with sigaltstack(2).
455-
SA_ONSTACK as SaFlags_t;
455+
SA_ONSTACK;
456456
/// The handler is reset back to the default at the moment the signal is
457457
/// delivered.
458-
SA_RESETHAND as SaFlags_t;
458+
SA_RESETHAND;
459459
/// Requests that certain system calls restart if interrupted by this
460460
/// signal. See the man page for complete details.
461-
SA_RESTART as SaFlags_t;
461+
SA_RESTART;
462462
/// This flag is controlled internally by Nix.
463-
SA_SIGINFO as SaFlags_t;
463+
SA_SIGINFO;
464464
}
465465
}
466466

0 commit comments

Comments
 (0)