diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-02-07 12:22:55 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-02-07 12:22:55 +0800 |
commit | cd7cc8241025492f992029e7692fcfe0cacb529e (patch) | |
tree | 9f64d0313e8aa58585252f99a3462982e71f1448 /sysutils/consolekit/files/patch-src_main.c | |
parent | cf365293357796236193264f1992d92ba7397f09 (diff) | |
download | marcuscom-ports-cd7cc8241025492f992029e7692fcfe0cacb529e.tar.gz marcuscom-ports-cd7cc8241025492f992029e7692fcfe0cacb529e.tar.zst marcuscom-ports-cd7cc8241025492f992029e7692fcfe0cacb529e.zip |
* Fix the tty/VT mapping code to be more inline with the way the kernel
works [1]
* Switch from using /dev/console to /dev/consolectl [1]
* Remove hack to check if ttyv* devices are available. We have other code
to do this now
Reviewed by: bland [1]
Requested by: bland [1]
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10367 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/consolekit/files/patch-src_main.c')
-rw-r--r-- | sysutils/consolekit/files/patch-src_main.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sysutils/consolekit/files/patch-src_main.c b/sysutils/consolekit/files/patch-src_main.c index b1a661aa3..a791db0f9 100644 --- a/sysutils/consolekit/files/patch-src_main.c +++ b/sysutils/consolekit/files/patch-src_main.c @@ -1,21 +1,21 @@ ---- src/main.c.orig 2007-11-08 15:05:55.000000000 -0500 -+++ src/main.c 2007-11-08 15:07:39.000000000 -0500 +--- src/main.c.orig 2007-11-08 15:05:55.000000000 -0500 ++++ src/main.c 2007-11-08 15:07:39.000000000 -0500 @@ -226,6 +226,21 @@ sigusr1_handler (int sig) } static void +setup_termination_signals (void) +{ -+ struct sigaction sa; ++ struct sigaction sa; + -+ sa.sa_handler = SIG_DFL; -+ sigemptyset (&sa.sa_mask); -+ sa.sa_flags = 0; ++ sa.sa_handler = SIG_DFL; ++ sigemptyset (&sa.sa_mask); ++ sa.sa_flags = 0; + -+ sigaction (SIGTERM, &sa, NULL); -+ sigaction (SIGQUIT, &sa, NULL); -+ sigaction (SIGINT, &sa, NULL); -+ sigaction (SIGHUP, &sa, NULL); ++ sigaction (SIGTERM, &sa, NULL); ++ sigaction (SIGQUIT, &sa, NULL); ++ sigaction (SIGINT, &sa, NULL); ++ sigaction (SIGHUP, &sa, NULL); +} + +static void @@ -26,7 +26,7 @@ setup_debug_log (debug); -+ setup_termination_signals (); ++ setup_termination_signals (); + connection = get_system_bus (); if (connection == NULL) { |