Changeset View
Changeset View
Standalone View
Standalone View
x11/gdm/files/patch-daemon_main.c
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
$OpenBSD: patch-daemon_main_c,v 1.4 2017/11/05 02:17:07 ajacoutot Exp $ | |||||
REVERT - OpenBSD lacks sigwaitinfo(2) | |||||
From 956d7d1c7a0cfbf2beacdb9e88e645e15ad32047 Mon Sep 17 00:00:00 2001 | |||||
From: Jasper St. Pierre <jstpierre@mecheye.net> | |||||
Date: Fri, 14 Feb 2014 19:32:50 +0000 | |||||
Subject: server: Process SIGUSR1 more carefully | |||||
Index: daemon/main.c | |||||
--- daemon/main.c.orig | |||||
+++ daemon/main.c | |||||
@@ -289,19 +289,6 @@ is_debug_set (void) | |||||
return debug; | |||||
} | |||||
-/* SIGUSR1 is used by the X server to tell us that we're ready, so | |||||
- * block it. We'll unblock it in the worker thread in gdm-server.c | |||||
- */ | |||||
-static void | |||||
-block_sigusr1 (void) | |||||
-{ | |||||
- sigset_t mask; | |||||
- | |||||
- sigemptyset (&mask); | |||||
- sigaddset (&mask, SIGUSR1); | |||||
- sigprocmask (SIG_BLOCK, &mask, NULL); | |||||
-} | |||||
- | |||||
int | |||||
main (int argc, | |||||
char **argv) | |||||
@@ -320,8 +307,6 @@ main (int argc, | |||||
{ NULL } | |||||
}; | |||||
- | |||||
- block_sigusr1 (); | |||||
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); | |||||
textdomain (GETTEXT_PACKAGE); |