From d0d9444986d81d1586fc1596d61f7a17e9058c41 Mon Sep 17 00:00:00 2001 From: sabetts Date: Sat, 17 May 2003 10:25:22 +0000 Subject: (chld_handler): Variable declaration placed in proper location. --- ChangeLog | 3 +++ src/main.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a34ab64..3321896 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-05-17 Shawn Betts + * src/main.c (chld_handler): Variable declaration placed in proper + location. + * src/actions.c (spawn): always put the DISPLAY string in the environment. diff --git a/src/main.c b/src/main.c index df919a5..60ec000 100644 --- a/src/main.c +++ b/src/main.c @@ -172,9 +172,10 @@ alrm_handler (int signum) void chld_handler (int signum) { + rp_child_info *cur; int pid, status, serrno; + serrno = errno; - rp_child_info *cur; while (1) { -- cgit v1.2.3