diff options
author | Tar Committer <tar@ocjtech.us> | 2005-07-07 01:14:43 +0000 |
---|---|---|
committer | Tar Committer <tar@ocjtech.us> | 2005-07-07 01:14:43 +0000 |
commit | 96dc4026054df77affedfe50380a661dcdba732a (patch) | |
tree | 0c8de7e68e7f316bf312cecce0b76e1f76b63020 /bin/hpuifilter.c | |
parent | 4d684aecaacc9a59e7e9c0661934aeba0b16efec (diff) | |
download | rancid-96dc4026054df77affedfe50380a661dcdba732a.tar.gz rancid-96dc4026054df77affedfe50380a661dcdba732a.tar.xz rancid-96dc4026054df77affedfe50380a661dcdba732a.zip |
Imported from rancid-2.3.2a2.tar.gz.rancid-2.3.2a2
Diffstat (limited to 'bin/hpuifilter.c')
-rw-r--r-- | bin/hpuifilter.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/hpuifilter.c b/bin/hpuifilter.c index cc94fec..4747299 100644 --- a/bin/hpuifilter.c +++ b/bin/hpuifilter.c @@ -1,5 +1,5 @@ /* - * $Id: hpuifilter.c,v 1.20 2005/03/30 07:27:15 heas Exp $ + * $Id: hpuifilter.c,v 1.21 2005/06/14 20:20:43 heas Exp $ * * Copyright (C) 1997-2004 by Terrapin Communications, Inc. * All rights reserved. @@ -296,7 +296,7 @@ filter(buf, len) static char reg[N_REG][50] = { /* vt100/220 escape codes */ "\e7\e\\[1;24r\e8", /* ds */ "\e8", /* fs */ - + "\e\\[2J", "\e\\[2K", /* kE */ @@ -366,22 +366,22 @@ filter(buf, len) return(strlen(buf)); } -RETSIGTYPE +RETSIGTYPE reapchild(void) { int status; pid_t pid; - + /* XXX this needs to deal with/without wait3 via HAVE_WAIT3 */ while ((pid = wait3(&status, WNOHANG, 0)) > 0) if (debug) fprintf(stderr, "reap child %d\n", pid); - + /*exit(1);*/ return; /* not reached */ -} +} void usage(void) |