summaryrefslogtreecommitdiffstats
path: root/test/slim/slim-tty-slowness.patch
diff options
context:
space:
mode:
Diffstat (limited to 'test/slim/slim-tty-slowness.patch')
-rw-r--r--test/slim/slim-tty-slowness.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/test/slim/slim-tty-slowness.patch b/test/slim/slim-tty-slowness.patch
deleted file mode 100644
index 1f1f2e166..000000000
--- a/test/slim/slim-tty-slowness.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- slim-1.3.1.orig/app.cpp 2009-01-13 11:30:36.000000000 +0900
-+++ slim-1.3.1/app.cpp 2009-01-13 11:32:27.000000000 +0900
-@@ -270,21 +270,22 @@
- signal(SIGALRM, AlarmSignal);
-
- #ifndef XNEST_DEBUG
-- OpenLog();
--
- if (!force_nodaemon && cfg->getOption("daemon") == "yes") {
- daemonmode = true;
- }
-
- // Daemonize
- if (daemonmode) {
-- if (daemon(0, 1) == -1) {
-+ if (daemon(0, 0) == -1) {
- cerr << APPNAME << ": " << strerror(errno) << endl;
- exit(ERR_EXIT);
- }
-- UpdatePid();
- }
-
-+ OpenLog();
-+
-+ if (daemonmode) UpdatePid();
-+
- CreateServerAuth();
- StartServer();
- alarm(2);