Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ktruss Use the errno.h and signal.h passed in on the...



details:   https://anonhg.NetBSD.org/src/rev/888ee2e7edf1
branches:  trunk
changeset: 503945:888ee2e7edf1
user:      kim <kim%NetBSD.org@localhost>
date:      Sun Feb 18 18:38:18 2001 +0000

description:
Use the errno.h and signal.h passed in on the command line.

diffstat:

 usr.bin/ktruss/makeerrnos.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 412e5bb2136a -r 888ee2e7edf1 usr.bin/ktruss/makeerrnos.sh
--- a/usr.bin/ktruss/makeerrnos.sh      Sun Feb 18 18:07:53 2001 +0000
+++ b/usr.bin/ktruss/makeerrnos.sh      Sun Feb 18 18:38:18 2001 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#      $NetBSD: makeerrnos.sh,v 1.2 2001/01/16 02:46:25 cgd Exp $
+#      $NetBSD: makeerrnos.sh,v 1.3 2001/02/18 18:38:18 kim Exp $
 
 if [ $# -ne 3 ]; then
        echo "usage: makeerrnos.sh errno.h signal.h output"
@@ -20,7 +20,7 @@
 
 struct systab errnos[] = {
 __EOF__
-cat ${DESTDIR}/usr/include/sys/errno.h | ${CPP} ${CPPFLAGS} -dM |
+cat ${ERRNOH} | ${CPP} ${CPPFLAGS} -dM |
 awk '
 /^#[   ]*define[       ]*E[A-Z0-9]*[   ]*[0-9-][0-9]*[         ]*.*/ {
        for (i = 1; i <= NF; i++)
@@ -44,7 +44,7 @@
 
 struct systab signals[] = {
 __EOF__
-cat ${DESTDIR}/usr/include/sys/signal.h | ${CPP} ${CPPFLAGS} -dM |
+cat ${SIGNALH} | ${CPP} ${CPPFLAGS} -dM |
 awk '
 /^#[   ]*define[       ]*S[A-Z0-9]*[   ]*[0-9-][0-9]*[         ]*.*/ {
        for (i = 1; i <= NF; i++)



Home | Main Index | Thread Index | Old Index