Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/isdn/isdnd "YFLAGS=-d" causes inconsistent parallel...



details:   https://anonhg.NetBSD.org/src/rev/9b5623add0f0
branches:  trunk
changeset: 516269:9b5623add0f0
user:      tv <tv%NetBSD.org@localhost>
date:      Fri Oct 19 22:57:53 2001 +0000

description:
"YFLAGS=-d" causes inconsistent parallelism behavior.  Instead, use the
NetBSD standard YHEADER and #include "rc_parse.h".

diffstat:

 usr.sbin/isdn/isdnd/Makefile    |  5 ++---
 usr.sbin/isdn/isdnd/rc_config.c |  4 ++--
 usr.sbin/isdn/isdnd/rc_scan.l   |  4 ++--
 3 files changed, 6 insertions(+), 7 deletions(-)

diffs (61 lines):

diff -r b4625637f03d -r 9b5623add0f0 usr.sbin/isdn/isdnd/Makefile
--- a/usr.sbin/isdn/isdnd/Makefile      Fri Oct 19 20:36:59 2001 +0000
+++ b/usr.sbin/isdn/isdnd/Makefile      Fri Oct 19 22:57:53 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2001/01/10 18:11:05 thorpej Exp $
+#      $NetBSD: Makefile,v 1.4 2001/10/19 22:57:53 tv Exp $
 
 PROG   =       isdnd
 SRCS   =       rc_parse.y rc_scan.l main.c rc_config.c log.c curses.c  \
@@ -14,8 +14,7 @@
 MAN      =     isdnd.8 isdnd.rc.5 isdnd.rates.5 isdnd.acct.5
 
 LDADD+=-ly -ll
-YFLAGS += -d
-CLEANFILES+=   y.tab.h
+YHEADER=1
 
 .include <bsd.prog.mk>
 
diff -r b4625637f03d -r 9b5623add0f0 usr.sbin/isdn/isdnd/rc_config.c
--- a/usr.sbin/isdn/isdnd/rc_config.c   Fri Oct 19 20:36:59 2001 +0000
+++ b/usr.sbin/isdn/isdnd/rc_config.c   Fri Oct 19 22:57:53 2001 +0000
@@ -27,7 +27,7 @@
  *     i4b daemon - config file processing
  *     -----------------------------------
  *
- *     $Id: rc_config.c,v 1.3 2001/04/09 21:18:00 martin Exp $ 
+ *     $Id: rc_config.c,v 1.4 2001/10/19 22:57:54 tv Exp $ 
  *
  * $FreeBSD$
  *
@@ -44,7 +44,7 @@
 #include <sys/ioctl.h>
 
 #include "isdnd.h"
-#include "y.tab.h"
+#include "rc_parse.h"
 
 #include "monitor.h"
 
diff -r b4625637f03d -r 9b5623add0f0 usr.sbin/isdn/isdnd/rc_scan.l
--- a/usr.sbin/isdn/isdnd/rc_scan.l     Fri Oct 19 20:36:59 2001 +0000
+++ b/usr.sbin/isdn/isdnd/rc_scan.l     Fri Oct 19 22:57:53 2001 +0000
@@ -30,7 +30,7 @@
  *     i4b daemon - runtime configuration lexical analyzer
  *     ---------------------------------------------------
  *
- *     $Id: rc_scan.l,v 1.2 2001/01/07 21:01:03 martin Exp $ 
+ *     $Id: rc_scan.l,v 1.3 2001/10/19 22:57:54 tv Exp $ 
  *
  * $FreeBSD$
  *
@@ -47,7 +47,7 @@
 #include <ctype.h>
 #include <sysexits.h>
 
-#include "y.tab.h"
+#include "rc_parse.h"
 
 int lineno;
 void reset_scanner(FILE *infile);



Home | Main Index | Thread Index | Old Index