Bug#24020: marked as done (rc's signal handling)
Your message dated Wed, 25 Nov 1998 18:17:19 -0800
with message-id <19981125181719.A1282@kitenet.net>
and subject line fixed
has caused the attached bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Ian Jackson
(administrator, Debian bugs database)
Received: (at submit) by bugs.debian.org; 28 Jun 1998 14:55:23 +0000
Received: (qmail 16960 invoked from network); 28 Jun 1998 14:55:23 -0000
Received: from rdm.legislate.com (198.80.98.13)
by debian.novare.net with SMTP; 28 Jun 1998 14:55:23 -0000
Received: (qmail 27908 invoked by uid 1000); 28 Jun 1998 14:55:16 -0000
Message-ID: <19980628105516.A27803@test.legi-slate.com>
Date: Sun, 28 Jun 1998 10:55:16 -0400
From: Raul Miller <rdm@test.legislate.com>
To: submit@bugs.debian.org
Subject: rc's signal handling
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.91.1
Package: rc
[I want to become maintainer of rc, I've mailed wnpp about
this, but nothing's happened yet. Just in case someone else
is also working on the package, I'm enclosing a script I wrote
to properly find the include file which defines the signals.]
#!/bin/sh
rm -f .signalfiles .oldsignalfiles
touch .oldsignalfiles
echo signal.h >.signalfiles
until cmp .signalfiles .oldsignalfiles >/dev/null 2>&1; do
mv .signalfiles .oldsignalfiles
(
cat .oldsignalfiles
while read f; do
grep '#include.*<.*[.]h>' /usr/include/$f 2>/dev/null |
sed ' s/.*<//
s/>.*//
'
done <.oldsignalfiles
) | sort -u > .signalfiles
done
while read f; do
if grep >/dev/null SIGINT /usr/include/$f 2>/dev/null; then
echo $f;
rm -f .signalfiles .oldsignalfiles
exit 0
fi
done <.signalfiles
echo "Can't find signal definitions" >&2
rm -f .signalfiles .oldsignalfiles
exit 1
--
Raul
Reply to: