--- rxvt-unicode/src/rxvtc.C 2003/11/29 18:42:07 1.5 +++ rxvt-unicode/src/rxvtc.C 2004/02/13 12:16:21 1.7 @@ -36,7 +36,7 @@ extern char **environ; int -main(int argc, const char *const *argv) +main (int argc, const char *const *argv) { client c; char buf[PATH_MAX]; @@ -44,12 +44,13 @@ { sigset_t ss; + sigemptyset (&ss); sigaddset (&ss, SIGHUP); sigprocmask (SIG_BLOCK, &ss, 0); } c.send ("NEW"); - // instead of getcwd we could opendir(".") and pass the fd for fchdir *g* + // instead of getcwd we could opendir (".") and pass the fd for fchdir *g* c.send ("CWD"), c.send (getcwd (buf, sizeof (buf))); for (char **var = environ; *environ; environ++)