summaryrefslogtreecommitdiff
path: root/zwgc/main.c
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1989-11-29 07:06:40 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1989-11-29 07:06:40 +0000
commitbeb22815f0db0fcd859174a66f51bbfbae8efdfe (patch)
tree1430fa5ebf8af64104e6dc97b25c717cf416ea48 /zwgc/main.c
parent699715b0456a97c307c526beee0e24f9148cd431 (diff)
up rev number
ignore SIGPIPE (so Xlib gets error on XKillClient)
Diffstat (limited to 'zwgc/main.c')
-rw-r--r--zwgc/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/zwgc/main.c b/zwgc/main.c
index 53949e7..4f935e5 100644
--- a/zwgc/main.c
+++ b/zwgc/main.c
@@ -79,7 +79,7 @@ static void fake_startup_packet()
{
ZNotice_t notice;
- var_set_variable("version", "0.3.6");
+ var_set_variable("version", "0.3.7");
bzero(&notice, sizeof(notice));
@@ -93,7 +93,7 @@ static void fake_startup_packet()
notice.z_port = 0;
notice.z_kind = ACKED;
notice.z_auth = ZAUTH_YES;
- notice.z_message = "Zwgc mark II version 0.3.6 now running...";
+ notice.z_message = "Zwgc mark II version 0.3.7 now running...";
notice.z_message_len = strlen(notice.z_message)+1;
notice_handler(&notice);
@@ -362,6 +362,7 @@ static void setup_signals()
signal(SIGHUP, signal_exit);
signal(SIGINT, signal_exit);
signal(SIGCHLD, signal_child);
+ signal(SIGPIPE, SIG_IGN); /* so that Xlib gets an error */
}
/* detach() taken from old zwgc, with lots of stuff ripped out */