Subject: kern/1982: typo in sys/net/if_tun.c
To: None <gnats-bugs@NetBSD.ORG>
From: Peter Seebach <seebs@taniemarie>
List: netbsd-bugs
Date: 01/27/1996 22:46:30
>Number:         1982
>Category:       kern
>Synopsis:       There's a typo in a comment in if_tun.c.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 28 04:05:00 1996
>Last-Modified:
>Originator:     Peter Seebach
>Organization:
Usenet Fact Police (Undercover)
>Release:        Jan 7 '96
>Environment:
System: NetBSD taniemarie 1.1A NetBSD 1.1A (SEEBS) #0: Mon Jan 15 20:07:46 CST 1996 seebs@taniemarie:/usr/src/sys/arch/amiga/compile/SEEBS amiga


>Description:
	if_tun.c says:
 * user process to have it's wicked way with. This driver has it's

	This is obviously incorrect.

>How-To-Repeat:
	vi if_tun.c
>Fix:
	s/it's/its/

	The *contraction* has an apostrophe.  The posessive does not.
>Audit-Trail:
>Unformatted:

>From jtc  Sun Jan 28 06:05:04 1996
Resent-Date: Sun, 28 Jan 1996 06:05:04 -0500
Resent-Message-Id: <199601281105.GAA00795@pain.lcs.mit.edu>
Resent-From: gnats (GNATS Management)
Resent-To: gnats-admin
Resent-Cc: gnats-admin, netbsd-bugs@netbsd.org
Resent-Reply-To: gnats-bugs@gnats.netbsd.org, blymn@awadi.com.au
Message-Id: <199601281047.VAA01069@siren.awadi.com.au>
Date: Sun, 28 Jan 1996 21:17:04 +1030
From: Brett Lymn (Master of the Siren) <blymn@awadi.com.au>
Reply-To: blymn@awadi.com.au
To: gnats-bugs@gnats.netbsd.org
Subject: kern/1983: Bug fix for audio.


>Number:         1983
>Category:       kern
>Synopsis:       Handling of continuous small writes to audio incorrect.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 28 06:05:02 1996
>Last-Modified:
>Originator:     Brett Lymn (Master of the Siren)
>Organization:
Brett Lymn
>Release:        1.1
>Environment:
	
System: NetBSD siren 1.1 NetBSD 1.1 (SIREN) #9: Sun Jan 28 17:49:31 CST 1996 toor@siren:/usr/src/sys/arch/i386/compile/SIREN i386


>Description:
	This bug manifests itself if you have a program that opens the
/dev/audio device and then writes chunks of data to the device over a
period of time.  If the program fails to write enough data to the
audio device so that the driver starts null filling then random
portions of subsequent writes will be played or nothing at all.

>How-To-Repeat:
        Open the audio device and write data to it.  Wait until all
the data has been processed and then attempt another write.

>Fix:

The following is a patch that made the audio work:

Index: sys/dev/audio.c
diff -c sys/dev/audio.c:1.1 sys/dev/audio.c:1.2
*** sys/dev/audio.c:1.1	Sun Nov 26 14:12:46 1995
--- sys/dev/audio.c	Sun Jan 28 21:06:23 1996
***************
*** 1258,1264 ****
  	 * always fails and the output is always silence after the
  	 * first block.
  	 */
! 	if (--cb->nblk > 0) {
  		hp = cb->hp;
  		if (cb->cb_pause) {
  		    cb->cb_pdrops++;
--- 1258,1265 ----
  	 * always fails and the output is always silence after the
  	 * first block.
  	 */
! 	if (cb->nblk > 1) {
!                 cb->nblk--;
  		hp = cb->hp;
  		if (cb->cb_pause) {
  		    cb->cb_pdrops++;

>Audit-Trail:
>Unformatted:

>From jtc  Sun Jan 28 12:20:04 1996
Resent-Date: Sun, 28 Jan 1996 12:20:04 -0500
Resent-Message-Id: <199601281720.MAA05718@pain.lcs.mit.edu>
Resent-From: gnats (GNATS Management)
Resent-To: gnats-admin
Resent-Cc: gnats-admin, netbsd-bugs@netbsd.org
Resent-Reply-To: gnats-bugs@gnats.netbsd.org, torppa@cute.fi
  (5.67a/IDA-1.5 for <gnats-bugs@gnats.netbsd.org>); Sun, 28 Jan 1996 19:00:03 +0200
Message-Id: <199601281659.SAA10282@dirty.cute.fi>
Date: Sun, 28 Jan 1996 18:59:53 +0200
From: torppa@cute.fi
Reply-To: torppa@cute.fi
To: gnats-bugs@gnats.netbsd.org
Subject: bin/1984: rpc.rquotad does not work


>Number:         1984
>Category:       bin
>Synopsis:       rpc.rquotad does not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 28 12:20:02 1996
>Last-Modified:
>Originator:     
>Organization:
-- 
 Jarkko.Torppa@cute.fi     +358-0-648090          Cute Communications Oy
>Release:        1.1
>Environment:
System: NetBSD dirty.cute.fi 1.1 NetBSD 1.1 (COMPA) #3: Fri Jan 26 01:46:12 EET 1996 torppa@dirty.cute.fi:/kipuna/usr/src/sys/arch/i386/compile/COMPA i386

With Mondo patch 1:

>Description:
rpc.rquotad does not report quotas back to client
>How-To-Repeat:
nfs-mount filesystem that has quotas enabled from NetBSD server
enable rpc.rquotad from inetd.conf
try to see your quotas
>Fix:

Apply this patch to rquotad.c

--- rquotad.c.orig	Sun Jan 28 18:23:30 1996
+++ rquotad.c	Sun Jan 28 18:24:07 1996
@@ -211,7 +211,7 @@
 
 	setfsent();
 	while (fs = getfsent()) {
-		if (strcmp(fs->fs_vfstype, "ufs"))
+		if (strcmp(fs->fs_vfstype, "ffs"))
 			continue;
 		if (!hasquota(fs, &qfpathname))
 			continue;
@@ -225,7 +225,7 @@
 		fs_current->qfpathname = malloc(sizeof(char) * (strlen(qfpathname) + 1));
 		strcpy(fs_current->qfpathname, qfpathname);
 
-		stat(qfpathname, &st);
+		stat(fs->fs_file, &st);
 		fs_current->st_dev = st.st_dev;
 
 		fs_next = fs_current;


>Audit-Trail:
>Unformatted:

>From jtc  Sun Jan 28 15:50:04 1996
Resent-Date: Sun, 28 Jan 1996 15:50:04 -0500
Resent-Message-Id: <199601282050.PAA09703@pain.lcs.mit.edu>
Resent-From: gnats (GNATS Management)
Resent-To: gnats-admin
Resent-Cc: gnats-admin, netbsd-bugs@netbsd.org
Resent-Reply-To: gnats-bugs@gnats.netbsd.org, explorer@flame.org
Message-Id: <199601282023.OAA00707@packrat.flame.org>
Date: Sun, 28 Jan 1996 14:23:33 -0600 (CST)
From: Michael Graff <explorer@flame.org>
Reply-To: explorer@flame.org
To: gnats-bugs@gnats.netbsd.org
Subject: port-i386/1985: fd.c has disk_[un]busy problems


>Number:         1985
>Category:       port-i386
>Synopsis:       fd.c has disk_[un]busy problems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 28 15:50:02 1996
>Last-Modified:
>Originator:     Michael Graff
>Organization:
flame.org:  yes, we do know everything
>Release:        26 Jan 1996 <NetBSD-current source date>
>Environment:
	
System: NetBSD packrat.flame.org 1.1A NetBSD 1.1A (PACKRAT) #10: Thu Jan 25 09:46:22 CST 1996 root@packrat.flame.org:/usr/src/sys/arch/i386/compile/PACKRAT i386


>Description:
I first found this last night, and a friend ran into it today.  I
believe there is a state where disk_unbusy is not called, or at least
disk_busy is called more than once, in fd.c

This seems to only occur with write protected disks.  I think there is
a dual problem here, the first is that the driver is calling
fdcretry() before disk_unbusy somewhere.  The second is that write
protected disks shouldn't be so noisy, since they are quite common.  :)

>How-To-Repeat:
Put a write protected disk into the floppy drive and try to write to
it.
	
>Fix:
	
>Audit-Trail:
>Unformatted:

>From jtc  Sun Jan 28 22:20:02 1996
Resent-Date: Sun, 28 Jan 1996 22:20:02 -0500
Resent-Message-Id: <199601290320.WAA12434@pain.lcs.mit.edu>
Resent-From: gnats (GNATS Management)
Resent-To: gnats-admin
Resent-Cc: gnats-admin, netbsd-bugs@netbsd.org
Resent-Reply-To: gnats-bugs@gnats.netbsd.org, spberry@iastate.edu
Message-Id: <199601282109.PAA00426@broken.nonet.com>
Date: Sun, 28 Jan 1996 15:09:12 -0600
From: spberry@iastate.edu
Reply-To: spberry@iastate.edu
To: gnats-bugs@gnats.netbsd.org
Subject: port-i386/1988: 


>Number:         1988
>Category:       port-i386
>Synopsis:       
>Confidential:   yes
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 28 22:20:01 1996
>Last-Modified:
>Originator:     Sean Berry
>Organization:
>Release:        12 Jan 96<NetBSD-current source date>
>Environment:
System: NetBSD broken.nonet.com 1.1A NetBSD 1.1A (BROKEN) #2: Sat Jan 27 22:09:37 CST 1996 spberry@blackbox.nonet.com:/usr/src/sys/arch/i386/compile/BROKEN i386
>Description:
Mounting a floppy fs, attempting to write to a writeprotected floppy,
produce a kernel panic.

>How-To-Repeat:
	
this seems to work no matter whether write protected or not.

mount /dev/fd0a /mnt

>Fix:
	

Unknown.  explorer@iastate.edu believes that the statistics code recently
added may have caused these errors.  However, the driver should not panic if
it reaches an error.  I'm going to attempt to just comment out the
disk_unbusy code and see if that fixes it.
>Audit-Trail:
>Unformatted:
no
floppy operations cause kernel panic
critical

>From jtc  Sun Jan 28 23:20:05 1996
Resent-Date: Sun, 28 Jan 1996 23:20:05 -0500
Resent-Message-Id: <199601290420.XAA12736@pain.lcs.mit.edu>
Resent-From: gnats (GNATS Management)
Resent-To: gnats-admin
Resent-Cc: gnats-admin, netbsd-bugs@netbsd.org
Resent-Reply-To: gnats-bugs@gnats.netbsd.org,
        lukem@supp.cpr.itg.telecom.com.au
	id sma028622; Mon Jan 29 08:46:24 1996
	id sma022480; Mon Jan 29 15:05:01 1996
Message-Id: <199601290405.PAA28889@balrog.supp.cpr.itg.telecom.com.au>
Date: Mon, 29 Jan 1996 15:05:00 +1100
From: Luke Mewburn <lukem@supp.cpr.itg.telecom.com.au>
Reply-To: lukem@supp.cpr.itg.telecom.com.au
To: gnats-bugs@gnats.netbsd.org
Subject: misc/1989: adding ability to specify lex & yacc prefix in global makefiles


>Number:         1989
>Category:       misc
>Synopsis:       changing makefiles to override lex & yacc "yy" prefix
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   lm
>Arrival-Date:   Sun Jan 28 23:20:02 1996
>Last-Modified:
>Originator:     Luke Mewburn
>Organization:
>Release:        NetBSD-960128
>Environment:
NetBSD shelob.supp.cpr.itg.telecom.com.au 1.1A NetBSD 1.1A (SHELOB) #0: Mon Jan  8 12:58:14 EST 1996     root@shelob:/z/src/sys/arch/i386/compile/SHELOB i386
>Description:
	Currently there's no way to easily override the 'yy' prefix
	for lex (.l) and yacc (.y) files in makefiles that use the
	rules in <sys.mk>

	The ability to do this would be useful, especially if a
	library wanted to use lex and yacc for parsing, but didn't
	want to use the 'yy' prefix. (I have a need for this)

	I've added two extra variables in <sys.mk> than are to be
	overridden in local makefiles:
		LPREFIX		prefix for lexers
		YPREFIX		prefix for yaccers
	These would usually be the same.

	Also, <bsd.sys.mk> seems to call lex and yacc better than
	<sys.mk>, explicity outputting to the target rather than to
	the default of lex.yy.c and using 'mv' to rename.

	Known hassles with this change (which are still more
	acceptable, IMHO, than the current way :)
	- it requires modifying a small amount of the current source
	  that assumes that y.tab.h is the generated file from yacc,
	  when it is actually filename.tab.h (a change from using the
	  parallel support in <bsd.sys.mk>) I'll send-pr the minimal
	  diffs to fix this after this message.
	- it doesn't really support multiple yaccers/lexers in the one
	  directory. I can't see that many people would be doing this
	  anyway; the functionality is mainly there for libraries.
	  Easy workarounds can be made in makefiles if multiple yaccers
	  or lexers with different prefixes are to be built from the
	  same makefile.

>How-To-Repeat:

>Fix:
	Apply this patch.


---
diff -c /ftp/pub/NetBSD/NetBSD-current/src/share/mk/bsd.sys.mk ./bsd.sys.mk
*** /ftp/pub/NetBSD/NetBSD-current/src/share/mk/bsd.sys.mk	Wed Dec 13 23:38:00 1995
--- ./bsd.sys.mk	Mon Jan 29 14:36:57 1996
***************
*** 3,32 ****
  # Overrides used for NetBSD source tree builds.
  
  CFLAGS+= -Werror
- 
- .if defined(PARALLEL)
- # Lex
- .l:
- 	${LEX.l} -o${.TARGET:R}.yy.c ${.IMPSRC}
- 	${LINK.c} -o ${.TARGET} ${.TARGET:R}.yy.c ${LDLIBS} -ll
- 	rm -f ${.TARGET:R}.yy.c
- .l.c:
- 	${LEX.l} -o${.TARGET} ${.IMPSRC}
- .l.o:
- 	${LEX.l} -o${.TARGET:R}.yy.c ${.IMPSRC}
- 	${COMPILE.c} -o ${.TARGET} ${.TARGET:R}.yy.c 
- 	rm -f ${.TARGET:R}.yy.c
- 
- # Yacc
- .y:
- 	${YACC.y} -b ${.TARGET:R} ${.IMPSRC}
- 	${LINK.c} -o ${.TARGET} ${.TARGET:R}.tab.c ${LDLIBS}
- 	rm -f ${.TARGET:R}.tab.c
- .y.c:
- 	${YACC.y} -b ${.TARGET:R} ${.IMPSRC}
- 	mv ${.TARGET:R}.tab.c ${.TARGET}
- .y.o:
- 	${YACC.y} -b ${.TARGET:R} ${.IMPSRC}
- 	${COMPILE.c} -o ${.TARGET} ${.TARGET:R}.tab.c
- 	rm -f ${.TARGET:R}.tab.c
- .endif
--- 3,5 ----
diff -c /ftp/pub/NetBSD/NetBSD-current/src/share/mk/sys.mk ./sys.mk
*** /ftp/pub/NetBSD/NetBSD-current/src/share/mk/sys.mk	Mon Dec 18 23:27:00 1995
--- ./sys.mk	Mon Jan 29 14:39:49 1996
***************
*** 45,51 ****
  
  LEX?=		lex
  LFLAGS?=
! LEX.l?=		${LEX} ${LFLAGS}
  
  LD?=		ld
  LDFLAGS?=
--- 45,52 ----
  
  LEX?=		lex
  LFLAGS?=
! LPREFIX?=	yy
! LEX.l?=		${LEX} -P${LPREFIX} ${LFLAGS}
  
  LD?=		ld
  LDFLAGS?=
***************
*** 64,70 ****
  
  YACC?=		yacc
  YFLAGS?=	-d
! YACC.y?=	${YACC} ${YFLAGS}
  
  # C
  .c:
--- 65,72 ----
  
  YACC?=		yacc
  YFLAGS?=	-d
! YPREFIX?=	yy
! YACC.y?=	${YACC} -p${YPREFIX} ${YFLAGS}
  
  # C
  .c:
***************
*** 157,185 ****
  
  # Lex
  .l:
! 	${LEX.l} ${.IMPSRC}
! 	${LINK.c} -o ${.TARGET} lex.yy.c ${LDLIBS} -ll
! 	rm -f lex.yy.c
  .l.c:
! 	${LEX.l} ${.IMPSRC}
! 	mv lex.yy.c ${.TARGET}
  .l.o:
! 	${LEX.l} ${.IMPSRC}
! 	${COMPILE.c} -o ${.TARGET} lex.yy.c 
! 	rm -f lex.yy.c
  
  # Yacc
  .y:
! 	${YACC.y} ${.IMPSRC}
! 	${LINK.c} -o ${.TARGET} y.tab.c ${LDLIBS}
! 	rm -f y.tab.c
  .y.c:
! 	${YACC.y} ${.IMPSRC}
! 	mv y.tab.c ${.TARGET}
  .y.o:
! 	${YACC.y} ${.IMPSRC}
! 	${COMPILE.c} -o ${.TARGET} y.tab.c
! 	rm -f y.tab.c
  
  # Shell
  .sh:
--- 159,186 ----
  
  # Lex
  .l:
! 	${LEX.l} -o${.TARGET:R}.${LPREFIX}.c ${.IMPSRC}
! 	${LINK.c} -o ${.TARGET} ${.TARGET:R}.${LPREFIX}.c ${LDLIBS} -ll
! 	rm -f ${.TARGET:R}.${LPREFIX}.c
  .l.c:
! 	${LEX.l} -o${.TARGET} ${.IMPSRC}
  .l.o:
! 	${LEX.l} -o${.TARGET:R}.${LPREFIX}.c ${.IMPSRC}
! 	${COMPILE.c} -o ${.TARGET} ${.TARGET:R}.${LPREFIX}.c 
! 	rm -f ${.TARGET:R}.${LPREFIX}.c
  
  # Yacc
  .y:
! 	${YACC.y} -b ${.TARGET:R} ${.IMPSRC}
! 	${LINK.c} -o ${.TARGET} ${.TARGET:R}.tab.c ${LDLIBS}
! 	rm -f ${.TARGET:R}.tab.c
  .y.c:
! 	${YACC.y} -b ${.TARGET:R} ${.IMPSRC}
! 	mv ${.TARGET:R}.tab.c ${.TARGET}
  .y.o:
! 	${YACC.y} -b ${.TARGET:R} ${.IMPSRC}
! 	${COMPILE.c} -o ${.TARGET} ${.TARGET:R}.tab.c
! 	rm -f ${.TARGET:R}.tab.c
  
  # Shell
  .sh:
>Audit-Trail:
>Unformatted:

>From jtc  Mon Jan 29 03:50:04 1996
Resent-Date: Mon, 29 Jan 1996 03:50:04 -0500
Resent-Message-Id: <199601290850.DAA15673@pain.lcs.mit.edu>
Resent-From: gnats (GNATS Management)
Resent-To: gnats-admin
Resent-Cc: gnats-admin, netbsd-bugs@netbsd.org
Resent-Reply-To: gnats-bugs@gnats.netbsd.org, downsj@teeny.org
Message-Id: <199601290828.AAA00684@threadway.teeny.org>
Date: Mon, 29 Jan 1996 00:28:56 -0800
From: Jason Downs <downsj@teeny.org>
Reply-To: downsj@teeny.org
To: gnats-bugs@gnats.netbsd.org
Subject: kern/1990: NetBSD 1.1: CD9660 fs is limited wrt badly arranged disks


>Number:         1990
>Category:       kern
>Synopsis:       CD9660 fs is limited wrt badly arranged disks
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 29 03:50:02 1996
>Last-Modified:
>Originator:     Jason Downs
>Organization:
Jason Downs
downsj@teeny.org  --> teeny.org: Free Software for a Free Internet <--
http://www.teeny.org/
>Release:        1.1
>Environment:
	
System: NetBSD threadway 1.1 NetBSD 1.1 (THREADWAY) #30: Sun Jan 28 23:51:32 PST 1996 downsj@threadway:/usr/src/sys/arch/i386/compile/THREADWAY i386


>Description:
	The CD9660 file system causes problems with some badly arranged
	disks (typically disks meant to be read only under MSDOS or other
	broken operating systems).  Specifically, all file names are
	lower case, but it pays attention to the case when looking them up.
	Disks with HTML files on them fail if any links refer to files
	with uppercase letters, for example.
>How-To-Repeat:
	
>Fix:
	I've added an option to mount_cd9660(8), `-c', which sets a new
	mount flag (ISOFSMNT_NOCASE), which causes the lookup code to
	perform a case-insensetive match on Rock Ridge file names, instead
	of the usual bcmp().  This solves the problem.

	(If there's a better routine in the kernel then rip_casecmp(), it
	 should be used instead.)

*** sys/isofs/cd9660/cd9660_util.c.orig	Fri Oct 13 19:40:38 1995
--- sys/isofs/cd9660/cd9660_util.c	Sun Jan 28 23:39:28 1996
***************
*** 150,152 ****
--- 150,177 ----
  	}
  	*outfnlen = fnidx;
  }
+ 
+ 
+ /*
+  * rip_casecmp -- hacked up form of bcmp().
+  *
+  * This doesn't exactly support anything except normal ASCII.
+  */
+ int
+ rip_casecmp(b1, b2, length)
+ 	const void *b1, *b2;
+ 	register size_t length;
+ {
+ 	register char *p1, *p2;
+ #define _tolower(_x)	(((_x >= 'A') && (_x <= 'Z')) ? (_x + 32) : (_x)) 
+ 
+ 	if (length == 0)
+ 		return(0);
+ 	p1 = (char *)b1;
+ 	p2 = (char *)b2;
+ 	do {
+ 		if (_tolower(*p1++) != _tolower(*p2++))
+ 			break;
+ 	} while (--length);
+ 	return(length);
+ }
*** sys/isofs/cd9660/cd9660_lookup.c.orig	Fri Oct 13 19:40:33 1995
--- sys/isofs/cd9660/cd9660_lookup.c	Sun Jan 28 23:31:24 1996
***************
*** 325,333 ****
  				ino = dbtob(bp->b_blkno) + entryoffsetinblock;
  			dp->i_ino = ino;
  			cd9660_rrip_getname(ep,altname,&namelen,&dp->i_ino,imp);
! 			if (namelen == cnp->cn_namelen
! 			    && !bcmp(name,altname,namelen))
! 				goto found;
  			ino = 0;
  			break;
  		}
--- 325,338 ----
  				ino = dbtob(bp->b_blkno) + entryoffsetinblock;
  			dp->i_ino = ino;
  			cd9660_rrip_getname(ep,altname,&namelen,&dp->i_ino,imp);
! 			if (namelen == cnp->cn_namelen) {
! 				if (!(imp->im_flags & ISOFSMNT_NOCASE)
! 			    	    && !bcmp(name,altname,namelen))
! 					goto found;
! 				else if ((imp->im_flags & ISOFSMNT_NOCASE)
! 				    && !rip_casecmp(name,altname,namelen))
! 				    	goto found;
! 			}
  			ino = 0;
  			break;
  		}
*** sys/sys/mount.h.orig	Wed Nov  1 04:37:11 1995
--- sys/sys/mount.h	Sun Jan 28 23:17:47 1996
***************
*** 299,304 ****
--- 299,305 ----
  #define	ISOFSMNT_NORRIP	0x00000001	/* disable Rock Ridge Ext.*/
  #define	ISOFSMNT_GENS	0x00000002	/* enable generation numbers */
  #define	ISOFSMNT_EXTATT	0x00000004	/* enable extended attributes */
+ #define ISOFSMNT_NOCASE 0x00000008	/* case-insensetive Rock Ridge file names */
  
  /*
   * File Handle (32 bytes for version 2), variable up to 1024 for version 3
*** sbin/mount_cd9660/mount_cd9660.8.orig	Fri Oct 13 18:11:02 1995
--- sbin/mount_cd9660/mount_cd9660.8	Mon Jan 29 00:00:53 1996
***************
*** 36,42 ****
  .\"
  .\"     @(#)mount_cd9660.8	8.3 (Berkeley) 3/27/94
  .\"
! .Dd March 27, 1994
  .Dt MOUNT_CD9660 8
  .Os BSD 4
  .Sh NAME
--- 36,42 ----
  .\"
  .\"     @(#)mount_cd9660.8	8.3 (Berkeley) 3/27/94
  .\"
! .Dd January 28, 1996
  .Dt MOUNT_CD9660 8
  .Os BSD 4
  .Sh NAME
***************
*** 60,65 ****
--- 60,67 ----
  .Pp
  The options are as follows:
  .Bl -tag -width indent
+ .It Fl c
+ Allow Rockridge file names to be matched case-insensetively.
  .It Fl e
  Enable the use of extended attributes.
  .It Fl g
*** sbin/mount_cd9660/mount_cd9660.c.orig	Fri Oct 13 18:11:03 1995
--- sbin/mount_cd9660/mount_cd9660.c	Sun Jan 28 23:22:18 1996
***************
*** 82,89 ****
  	char *dev, *dir;
  
  	mntflags = opts = 0;
! 	while ((ch = getopt(argc, argv, "ego:r")) != EOF)
  		switch (ch) {
  		case 'e':
  			opts |= ISOFSMNT_EXTATT;
  			break;
--- 82,92 ----
  	char *dev, *dir;
  
  	mntflags = opts = 0;
! 	while ((ch = getopt(argc, argv, "cego:r")) != EOF)
  		switch (ch) {
+ 		case 'c':
+ 			opts |= ISOFSMNT_NOCASE;
+ 			break;
  		case 'e':
  			opts |= ISOFSMNT_EXTATT;
  			break;
>Audit-Trail:
>Unformatted:

>From jtc  Mon Jan 29 11:05:07 1996
Resent-Date: Mon, 29 Jan 1996 11:05:07 -0500
Resent-Message-Id: <199601291605.LAA20530@pain.lcs.mit.edu>
Resent-From: gnats (GNATS Management)
Resent-To: gnats-admin
Resent-Cc: gnats-admin, netbsd-bugs@netbsd.org
Resent-Reply-To: gnats-bugs@gnats.netbsd.org, ivanenko@ctpa03.mit.edu
Message-Id: <9601291536.AA09957@ctpa03.mit.edu>
Date: Mon, 29 Jan 1996 10:36:03 -0500
From: ivanenko@ctpa03.mit.edu
Reply-To: ivanenko@ctpa03.mit.edu
To: gnats-bugs@gnats.netbsd.org
Cc: ivanenko@ctpa03.mit.edu
Subject: kern/1991: device number defined inconsistently on sparc/Ultrix/OSF1 Alpha


>Number:         1991
>Category:       kern
>Synopsis:       device number defined inconsistently on sparc/Ultrix/OSF1 Alpha
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 29 11:05:04 1996
>Last-Modified:
>Originator:     Taras Ivanenko
>Organization:
Massachusetts Institute of Technology
>Release:        1.1
>Environment:
    SUN SLC (diskless), DEC Alpha OSF/1 as a boot/file server
System: NetBSD ctps01.mit.edu 1.1 NetBSD 1.1 (ctp-sun-slc) #1: Sun Jan 28 17:32:33 PST 1996 ivanenko@ctps01.mit.edu:/usr/src/sys/arch/sparc/compile/ctp-sun-slc sparc


>Description:
	device number is combined 8-bit major/8-bit minor on NetBSD
and everywhere else except DEC Alpha, where it is 12-bit major/20-bit
minor. When I used DEC Alpha as a file server for root dir in diskless
setup, the devices are created with Alpha numbers (12/20) but are then
read with NetBSd macros (8/8). To make things worse, the devices stay
in cache for some time with 8/8 numbers and then switch to 12/20 (as
on the server) and make the system unusable.

>How-To-Repeat:
	It show up every time in my setup.
>Fix:
	I put this into sys/types.h as I do not have other /dev except
on Alpha. I guess it is possible to make the NFS code work
consistently across platforms.

#if 0
#define	major(x)	((int32_t)(((u_int32_t)(x) >> 8) & 0xff))
#define	minor(x)	((int32_t)((x) & 0xff))
#define	makedev(x,y)	((dev_t)(((x) << 8) | (y)))
#else
#define major(x)	((uint32_t)  (((dev_t)(x)>>20)&07777))
#define minor(x)	((uint32_t)  ((dev_t)(x)&03777777))
#define makedev(x,y)	((dev_t)    (((uint32_t)(x)<<20) | (uint32_t)(y)))
#endif

>Audit-Trail:
>Unformatted:

>From jtc  Mon Jan 29 15:50:03 1996
Resent-Date: Mon, 29 Jan 1996 15:50:03 -0500
Resent-Message-Id: <199601292050.PAA24917@pain.lcs.mit.edu>
Resent-From: gnats (GNATS Management)
Resent-To: gnats-admin
Resent-Cc: gnats-admin, netbsd-bugs@netbsd.org
Resent-Reply-To: gnats-bugs@gnats.netbsd.org, neil@domino.org
Message-Id: <199601292029.UAA23110@doublesix.domino.org>
Date: Mon, 29 Jan 1996 20:29:52 GMT
From: "Neil J. McRae" <neil@domino.org>
Reply-To: neil@domino.org
To: gnats-bugs@gnats.netbsd.org
Subject: kern/1992: if.c breaks if you have more than 10 of the same interface.


>Number:         1992
>Category:       kern
>Synopsis:       if.c breaks if one has more than 10 of the same interface.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 29 15:50:02 1996
>Last-Modified:
>Originator:     Neil J. McRae
>Organization:
--  neil@domino.org                     Domino: In the glow of the night.  --
------  NetBSD doublesix.domino.org 1.1A NetBSD 1.1A (DOUBLESIX) #19  -------
-----  neil@domino.org:/usr/src/sys/arch/sparc/compile/DOUBLESIX sparc  -----
--  Free your computer and your <a href="http://www.NetBSD.ORG/">mind</a>  --
>Release:        Today's Current.
>Environment:
NetBSD mandy.domino.org 1.1A NetBSD 1.1A (MANDY) #13: Tue Dec 26 05:22:46 GMT 1995     neil@mandy.domino.org:/usr/src/sys/arch/i386/compile/MANDY i386

>Description:
	If you have more than 10 of the same type of interface, if.c 
	doesn't function as it should.
>How-To-Repeat:
	Plug > 10 of the same type of interface into a machine, boot, :-) 
	and type ifconfig -a

>Fix:
*** if.c.old	Mon Jan 29 17:57:54 1996
--- if.c	Mon Jan 29 17:58:14 1996
***************
*** 588,594 ****
  		strncpy(ifr.ifr_name, ifp->if_name, sizeof(ifr.ifr_name) - 2);
  		for (cp = ifr.ifr_name; cp < ep && *cp; cp++)
  			continue;
! 		*cp++ = '0' + ifp->if_unit; *cp = '\0';
  		if ((ifa = ifp->if_addrlist.tqh_first) == 0) {
  			bzero((caddr_t)&ifr.ifr_addr, sizeof(ifr.ifr_addr));
  			error = copyout((caddr_t)&ifr, (caddr_t)ifrp,
--- 588,597 ----
  		strncpy(ifr.ifr_name, ifp->if_name, sizeof(ifr.ifr_name) - 2);
  		for (cp = ifr.ifr_name; cp < ep && *cp; cp++)
  			continue;
! 		if (ifp->if_unit > 9)
! 			*cp++ = '0' + ifp->if_unit / 10;
! 		*cp++ = '0' + ifp->if_unit % 10;
! 		*cp = '\0';
  		if ((ifa = ifp->if_addrlist.tqh_first) == 0) {
  			bzero((caddr_t)&ifr.ifr_addr, sizeof(ifr.ifr_addr));
  			error = copyout((caddr_t)&ifr, (caddr_t)ifrp,
>Audit-Trail:
>Unformatted:

>From jtc  Mon Jan 29 17:20:02 1996
Resent-Date: Mon, 29 Jan 1996 17:20:02 -0500
Resent-Message-Id: <199601292220.RAA25310@pain.lcs.mit.edu>
Resent-From: gnats (GNATS Management)
Resent-To: gnats-admin
Resent-Cc: gnats-admin, netbsd-bugs@netbsd.org
Resent-Reply-To: gnats-bugs@gnats.netbsd.org,
        lukem@supp.cpr.itg.telecom.com.au
	id sma007568; Tue Jan 30 02:44:49 1996
	id sma019372; Tue Jan 30 09:04:07 1996
Message-Id: <199601292204.JAA29373@balrog.supp.cpr.itg.telecom.com.au>
Date: Tue, 30 Jan 1996 09:04:04 +1100
From: Luke Mewburn <lukem@supp.cpr.itg.telecom.com.au>
Reply-To: lukem@supp.cpr.itg.telecom.com.au
To: gnats-bugs@gnats.netbsd.org
Subject: misc/1993: tweaks to fix problems caused by [misc/1989]


>Number:         1993
>Category:       misc
>Synopsis:       fixes required for <sys.mk> enhancements in [misc/1989]
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   lm
>Arrival-Date:   Mon Jan 29 17:20:01 1996
>Last-Modified:
>Originator:     Luke Mewburn
>Organization:
>Release:        NetBSD-960128
>Environment:
NetBSD shelob.supp.cpr.itg.telecom.com.au 1.1A NetBSD 1.1A (SHELOB) #0: Mon Jan  8 12:58:14 EST 1996 root@shelob:/z/src/sys/arch/i386/compile/SHELOB i386
>Description:
	My patches to <sys.mk> in [misc/1989] require a few makefiles
	and source files to be updated to reflect the use of the -b
	option to yacc which causes 'target.y' to generate 'target.tab.h'
	not 'y.tab.h'

	Also, the following other issues are resolved on the way:

	- /sys/arch/i386/isa/pcvt/Util/{kbd,vga}io try and look in
	  $.CURDIR && $.CURDIR/obj for the generated .h files. A better
	  (and simpler) solution is just to look in -I.

	- libpcap was using 'yyparse', etc as the defaults for its
	  generated files. This meant that you couldn't use a yaccer
	  if you were including libpcap. I've used the LPREFIX and
	  YPREFIX support added in [misc/1989] to change the generated
	  prefixes to 'pcap_yy' from 'yy'

	- gspa had some dodgy dependancies that required 'y.tab.h' to
	  be generated from gsp_gram.y *before* the make would work.
	  [bin/1838] tries to get around this by changing the order
	  of the SRCS= line, but that is a kludge that assumes left to
	  right evaluation of the target line. A better solution is to
	  make gsp_eval.o, gsp_lex.o, and gspa.o all depend on
	  gsp_gram.c (generated from gsp_gram.y, as is gsp_gram.tab.h)

>How-To-Repeat:
>Fix:
	Apply this diff.
	You can also close [bin/1838] when you do.

diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/bin/sh/Makefile bin/sh/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/bin/sh/Makefile	Tue Dec 12 07:03:00 1995
--- bin/sh/Makefile	Mon Jan 29 16:33:59 1996
***************
*** 14,20 ****
  .PATH:	${.CURDIR}/bltin ${.CURDIR}/../../usr.bin/printf
  CLEANFILES+=\
  	builtins.c builtins.h init.c mkinit mknodes mksyntax \
! 	nodes.c nodes.h printf.o syntax.c syntax.h token.def y.tab.h
  
  .depend parser.o: token.def
  
--- 14,20 ----
  .PATH:	${.CURDIR}/bltin ${.CURDIR}/../../usr.bin/printf
  CLEANFILES+=\
  	builtins.c builtins.h init.c mkinit mknodes mksyntax \
! 	nodes.c nodes.h printf.o syntax.c syntax.h token.def arith.tab.h
  
  .depend parser.o: token.def
  
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/bin/sh/arith_lex.l bin/sh/arith_lex.l
*** /ftp/pub/NetBSD/NetBSD-current/src/bin/sh/arith_lex.l	Sat Oct 14 09:43:00 1995
--- bin/sh/arith_lex.l	Mon Jan 29 16:33:55 1996
***************
*** 46,52 ****
  #endif /* not lint */
  
  #include <unistd.h>
! #include "y.tab.h"
  #include "error.h"
  
  extern yylval;
--- 46,52 ----
  #endif /* not lint */
  
  #include <unistd.h>
! #include "arith.tab.h"
  #include "error.h"
  
  extern yylval;
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/games/atc/Makefile games/atc/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/games/atc/Makefile	Sat Oct 14 09:55:00 1995
--- games/atc/Makefile	Mon Jan 29 16:37:52 1996
***************
*** 11,17 ****
  GAMES=	ATC_scores Game_List Killer crossover default easy game_2 \
  	Atlantis OHare Tic-Tac-Toe airports box crosshatch game_3 \
  	game_4 novice two-corners
! CLEANFILES=grammar.c y.tab.h lex.c
  HIDEGAME=hidegame
  
  beforeinstall: 
--- 11,17 ----
  GAMES=	ATC_scores Game_List Killer crossover default easy game_2 \
  	Atlantis OHare Tic-Tac-Toe airports box crosshatch game_3 \
  	game_4 novice two-corners
! CLEANFILES=grammar.c grammar.tab.h lex.c
  HIDEGAME=hidegame
  
  beforeinstall: 
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/games/atc/lex.l games/atc/lex.l
*** /ftp/pub/NetBSD/NetBSD-current/src/games/atc/lex.l	Sat Oct 14 09:55:00 1995
--- games/atc/lex.l	Mon Jan 29 14:46:46 1996
***************
*** 54,60 ****
  #endif
  #endif /* not lint */
  
! #include "y.tab.h"
  extern int	line;
  
  %}
--- 54,60 ----
  #endif
  #endif /* not lint */
  
! #include "grammar.tab.h"
  extern int	line;
  
  %}
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/gnu/usr.bin/bc/Makefile gnu/usr.bin/bc/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/gnu/usr.bin/bc/Makefile	Sat Oct 14 10:11:00 1995
--- gnu/usr.bin/bc/Makefile	Mon Jan 29 16:41:52 1996
***************
*** 8,13 ****
  LDADD+=	-ll
  DPADD+=	${LIBL}
  
! CLEANFILES+= bc.c scan.c y.tab.h
  
  .include <bsd.prog.mk>
--- 8,13 ----
  LDADD+=	-ll
  DPADD+=	${LIBL}
  
! CLEANFILES+= bc.c scan.c bc.tab.h
  
  .include <bsd.prog.mk>
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/gnu/usr.bin/bc/scan.l gnu/usr.bin/bc/scan.l
*** /ftp/pub/NetBSD/NetBSD-current/src/gnu/usr.bin/bc/scan.l	Sat Oct 14 10:11:00 1995
--- gnu/usr.bin/bc/scan.l	Mon Jan 29 16:42:47 1996
***************
*** 30,36 ****
  *************************************************************************/
  
  #include "bcdefs.h"
! #include "y.tab.h"
  #include "global.h"
  #include "proto.h"
  
--- 30,36 ----
  *************************************************************************/
  
  #include "bcdefs.h"
! #include "bc.tab.h"
  #include "global.h"
  #include "proto.h"
  
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/gnu/usr.bin/gawk/Makefile gnu/usr.bin/gawk/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/gnu/usr.bin/gawk/Makefile	Sat Oct 14 10:15:00 1995
--- gnu/usr.bin/gawk/Makefile	Mon Jan 29 16:45:26 1996
***************
*** 7,12 ****
  CFLAGS+=	-DGAWK
  LDADD=		-lm -lgnumalloc
  DPADD=		${LIBM} /usr/lib/libgnumalloc.a
! CLEANFILES+=	awk.c y.tab.h
  
  .include <bsd.prog.mk>
--- 7,12 ----
  CFLAGS+=	-DGAWK
  LDADD=		-lm -lgnumalloc
  DPADD=		${LIBM} /usr/lib/libgnumalloc.a
! CLEANFILES+=	awk.c awk.tab.h
  
  .include <bsd.prog.mk>
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/gnu/usr.bin/gdb/gdb/Makefile gnu/usr.bin/gdb/gdb/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/gnu/usr.bin/gdb/gdb/Makefile	Wed Jan 10 23:14:00 1996
--- gnu/usr.bin/gdb/gdb/Makefile	Mon Jan 29 16:57:01 1996
***************
*** 46,52 ****
  		copying.c fork-child.c m2-valprint.c serial.c version.c \
  		dis-buf.c solib.c
  
! CLEANFILES+=	c-exp.tab.h ch-exp.tab.h m2-exp.tab.h c-exp.c ch-exp.c m2-exp.c
  
  LDADD=		$(LIBBFD) $(LIBREADLINE) $(LIBIBERTY)
  DPADD=		$(LIBBFD) $(LIBREADLINE) $(LIBIBERTY)
--- 46,52 ----
  		copying.c fork-child.c m2-valprint.c serial.c version.c \
  		dis-buf.c solib.c
  
! CLEANFILES+=	c-exp.c c-exp.tab.h ch-exp.c ch-exp.tab.h m2-exp.c m2-exp.tab.h
  
  LDADD=		$(LIBBFD) $(LIBREADLINE) $(LIBIBERTY)
  DPADD=		$(LIBBFD) $(LIBREADLINE) $(LIBIBERTY)
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/gnu/usr.bin/groff/Makefile.cfg gnu/usr.bin/groff/Makefile.cfg
*** /ftp/pub/NetBSD/NetBSD-current/src/gnu/usr.bin/groff/Makefile.cfg	Tue Dec 12 07:20:00 1995
--- gnu/usr.bin/groff/Makefile.cfg	Mon Jan 29 17:06:06 1996
***************
*** 44,49 ****
  .endif
  
  .y.cc:
! 	$(YACC) $(YFLAGS) $(.IMPSRC)
! 	mv y.tab.c $(.PREFIX).cc
! 	mv y.tab.h $(.PREFIX).tab.h
--- 44,48 ----
  .endif
  
  .y.cc:
! 	${YACC.y} -b ${.TARGET:R} ${.IMPSRC}
! 	mv ${.TARGET:R}.tab.c ${.TARGET}
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/gnu/usr.bin/tar/Makefile gnu/usr.bin/tar/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/gnu/usr.bin/tar/Makefile	Sat Oct 14 10:36:00 1995
--- gnu/usr.bin/tar/Makefile	Mon Jan 29 17:11:43 1996
***************
*** 12,22 ****
  CFLAGS+= -DDEF_AR_FILE=\"/dev/rst0\" -DDEFBLOCKING=20
  CFLAGS+= -DSTDC_HEADERS
  
  LDSTATIC= -static
  LDADD+=	-lgnumalloc
  DPADD+=	/usr/lib/libgnumalloc.a
  
  MAN=tar.1
! CLEANFILES+=y.tab.h
  
  .include <bsd.prog.mk>
--- 12,24 ----
  CFLAGS+= -DDEF_AR_FILE=\"/dev/rst0\" -DDEFBLOCKING=20
  CFLAGS+= -DSTDC_HEADERS
  
+ YPREFIX= getdate_yy
+ 
  LDSTATIC= -static
  LDADD+=	-lgnumalloc
  DPADD+=	/usr/lib/libgnumalloc.a
  
  MAN=tar.1
! CLEANFILES+=getdate.tab.h
  
  .include <bsd.prog.mk>
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/lib/libpcap/Makefile lib/libpcap/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/lib/libpcap/Makefile	Sat Oct 14 11:01:00 1995
--- lib/libpcap/Makefile	Mon Jan 29 17:29:59 1996
***************
*** 11,17 ****
  	pcap-bpf.c
  .PATH:	${.CURDIR}/../../sys/net
  
! CLEANFILES+= grammar.c scanner.c y.tab.h
  
  beforeinstall:
  	@cd ${.CURDIR}; for i in $(HDRS); do \
--- 11,24 ----
  	pcap-bpf.c
  .PATH:	${.CURDIR}/../../sys/net
  
! LPREFIX=pcap_yy
! YPREFIX=pcap_yy
! CFLAGS+=-Dyylval=pcap_yylval
! 
! CLEANFILES+= grammar.c scanner.c grammar.tab.h
! 
! grammar.c:	grammar.y
! scanner.c:	grammar.c
  
  beforeinstall:
  	@cd ${.CURDIR}; for i in $(HDRS); do \
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/lib/libpcap/scanner.l lib/libpcap/scanner.l
*** /ftp/pub/NetBSD/NetBSD-current/src/lib/libpcap/scanner.l	Sat Oct 14 11:01:00 1995
--- lib/libpcap/scanner.l	Mon Jan 29 17:17:07 1996
***************
*** 35,41 ****
  #include <pcap-namedb.h>
  
  #include "gencode.h"
! #include "y.tab.h"
  
  #ifndef __GNUC__
  #define inline
--- 35,41 ----
  #include <pcap-namedb.h>
  
  #include "gencode.h"
! #include "grammar.tab.h"
  
  #ifndef __GNUC__
  #define inline
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/libexec/ftpd/Makefile libexec/ftpd/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/libexec/ftpd/Makefile	Sat Oct 14 11:04:00 1995
--- libexec/ftpd/Makefile	Mon Jan 29 17:33:27 1996
***************
*** 5,11 ****
  CFLAGS+=-DHASSETPROCTITLE -DSKEY
  SRCS=	ftpd.c ftpcmd.c logwtmp.c popen.c
  MAN=	ftpd.8
! CLEANFILES+=ftpcmd.c y.tab.h
  .PATH:	${.CURDIR}/../../usr.bin/ftp ${.CURDIR}/../../usr.bin/login
  
  LDADD+= -lcrypt -lskey
--- 5,11 ----
  CFLAGS+=-DHASSETPROCTITLE -DSKEY
  SRCS=	ftpd.c ftpcmd.c logwtmp.c popen.c
  MAN=	ftpd.8
! CLEANFILES+=ftpcmd.c ftpcmd.tab.h
  .PATH:	${.CURDIR}/../../usr.bin/ftp ${.CURDIR}/../../usr.bin/login
  
  LDADD+= -lcrypt -lskey
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/sys/arch/i386/isa/pcvt/Util/kbdio/Makefile sys/arch/i386/isa/pcvt/Util/kbdio/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/sys/arch/i386/isa/pcvt/Util/kbdio/Makefile	Sat Oct 14 12:01:00 1995
--- sys/arch/i386/isa/pcvt/Util/kbdio/Makefile	Mon Jan 29 17:41:00 1996
***************
*** 12,22 ****
  NOMAN=
  NOSHARED=	no shared linkage
  
! CFLAGS+= -I ${.CURDIR}/obj -I ${.CURDIR} #-g
  
! CLEANFILES+= y.tab.h
! CLEANFILES+= y.output	# comment file from bison
  
! .include <bsd.prog.mk>
  
! lex.o: y.tab.h lex.l
--- 12,22 ----
  NOMAN=
  NOSHARED=	no shared linkage
  
! CFLAGS+= -I. #-g
  
! CLEANFILES+= kbdio.tab.h
! CLEANFILES+= kbdio.output	# comment file from bison/yacc
  
! lex.o: kbdio.y lex.l
  
! .include <bsd.prog.mk>
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/sys/arch/i386/isa/pcvt/Util/kbdio/lex.l sys/arch/i386/isa/pcvt/Util/kbdio/lex.l
*** /ftp/pub/NetBSD/NetBSD-current/src/sys/arch/i386/isa/pcvt/Util/kbdio/lex.l	Sat Oct 14 12:01:00 1995
--- sys/arch/i386/isa/pcvt/Util/kbdio/lex.l	Mon Jan 29 17:37:12 1996
***************
*** 33,44 ****
   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   */
  
  #ident "$Header: /a/cvsroot/src/sys/arch/i386/isa/pcvt/Util/kbdio/lex.l,v 1.2 1995/10/07 21:45:20 jtc Exp $"
  
  #include <stdio.h>
  #include <stdlib.h>
  
! #include "y.tab.h"
  
  extern YYSTYPE yylval;
  
--- 33,44 ----
   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   */
  
  #ident "$Header: /a/cvsroot/src/sys/arch/i386/isa/pcvt/Util/kbdio/lex.l,v 1.2 1995/10/07 21:45:20 jtc Exp $"
  
  #include <stdio.h>
  #include <stdlib.h>
  
! #include "kbdio.tab.h"
  
  extern YYSTYPE yylval;
  
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/sys/arch/i386/isa/pcvt/Util/vgaio/Makefile sys/arch/i386/isa/pcvt/Util/vgaio/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/sys/arch/i386/isa/pcvt/Util/vgaio/Makefile	Sat Oct 14 12:02:00 1995
--- sys/arch/i386/isa/pcvt/Util/vgaio/Makefile	Mon Jan 29 17:41:41 1996
***************
*** 10,18 ****
  LFLAGS+= -I
  LDADD=	-lm -ly -ll
  
! CFLAGS+= -I ${.CURDIR}/obj -I ${.CURDIR} -g
  
! CLEANFILES+= y.tab.h
! CLEANFILES+= y.output	# comment file from bison
  
  .include <bsd.prog.mk>
--- 10,20 ----
  LFLAGS+= -I
  LDADD=	-lm -ly -ll
  
! CFLAGS+= -I. #-g
  
! CLEANFILES+= vgaio.tab.h
! CLEANFILES+= vgaio.output	# comment file from bison/yacc
! 
! lex.o: vgaio.y lex.l
  
  .include <bsd.prog.mk>
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/sys/arch/i386/isa/pcvt/Util/vgaio/lex.l sys/arch/i386/isa/pcvt/Util/vgaio/lex.l
*** /ftp/pub/NetBSD/NetBSD-current/src/sys/arch/i386/isa/pcvt/Util/vgaio/lex.l	Sat Oct 14 12:02:00 1995
--- sys/arch/i386/isa/pcvt/Util/vgaio/lex.l	Mon Jan 29 17:42:12 1996
***************
*** 33,45 ****
   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   */
  
  #ident "$Header: /a/cvsroot/src/sys/arch/i386/isa/pcvt/Util/vgaio/lex.l,v 1.3 1995/10/07 21:46:00 jtc Exp $"
  
  #include <stdio.h>
  #include <stdlib.h>
  
  #include "vgaio.h"
! #include "y.tab.h"
  
  extern YYSTYPE yylval;
  
--- 33,45 ----
   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   */
  
  #ident "$Header: /a/cvsroot/src/sys/arch/i386/isa/pcvt/Util/vgaio/lex.l,v 1.3 1995/10/07 21:46:00 jtc Exp $"
  
  #include <stdio.h>
  #include <stdlib.h>
  
  #include "vgaio.h"
! #include "vgaio.tab.h"
  
  extern YYSTYPE yylval;
  
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.bin/rdist/Makefile usr.bin/rdist/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.bin/rdist/Makefile	Sat Oct 14 13:22:00 1995
--- usr.bin/rdist/Makefile	Mon Jan 29 17:55:55 1996
***************
*** 7,13 ****
  OBJS+=	gram.o
  BINOWN=	root
  BINMODE=4555
! CLEANFILES=y.tab.h
  
  LDADD=	-lcompat
  DPADD=	${LIBCOMPAT}
--- 7,13 ----
  OBJS+=	gram.o
  BINOWN=	root
  BINMODE=4555
! CLEANFILES=gram.tab.h
  
  LDADD=	-lcompat
  DPADD=	${LIBCOMPAT}
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.bin/xlint/lint1/Makefile usr.bin/xlint/lint1/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.bin/xlint/lint1/Makefile	Sat Oct 14 13:42:00 1995
--- usr.bin/xlint/lint1/Makefile	Mon Jan 29 18:05:43 1996
***************
*** 9,15 ****
  YFLAGS=	-d
  CFLAGS+=-I.
  LINTFLAGS=-aehpz
! CLEANFILES+=y.tab.h cgram.c scan.c
  
  BINDIR=	/usr/libexec
  
--- 9,15 ----
  YFLAGS=	-d
  CFLAGS+=-I.
  LINTFLAGS=-aehpz
! CLEANFILES+=cgram.tab.h cgram.c scan.c
  
  BINDIR=	/usr/libexec
  
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.bin/xlint/lint1/func.c usr.bin/xlint/lint1/func.c
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.bin/xlint/lint1/func.c	Sat Oct 14 13:43:00 1995
--- usr.bin/xlint/lint1/func.c	Mon Jan 29 18:07:20 1996
***************
*** 39,45 ****
  #include <string.h>
  
  #include "lint1.h"
! #include "y.tab.h"
  
  /*
   * Contains a pointer to the symbol table entry of the current function
--- 39,45 ----
  #include <string.h>
  
  #include "lint1.h"
! #include "cgram.tab.h"
  
  /*
   * Contains a pointer to the symbol table entry of the current function
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.bin/xlint/lint1/scan.l usr.bin/xlint/lint1/scan.l
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.bin/xlint/lint1/scan.l	Tue Dec 12 07:54:00 1995
--- usr.bin/xlint/lint1/scan.l	Mon Jan 29 18:05:28 1996
***************
*** 46,52 ****
  #include <err.h>
  
  #include "lint1.h"
! #include "y.tab.h"
  
  #define CHAR_MASK	(~(~0 << CHAR_BIT))
  
--- 46,52 ----
  #include <err.h>
  
  #include "lint1.h"
! #include "cgram.tab.h"
  
  #define CHAR_MASK	(~(~0 << CHAR_BIT))
  
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.bin/xlint/lint1/tree.c usr.bin/xlint/lint1/tree.c
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.bin/xlint/lint1/tree.c	Sat Oct 14 13:43:00 1995
--- usr.bin/xlint/lint1/tree.c	Mon Jan 29 18:07:05 1996
***************
*** 42,48 ****
  #include <math.h>
  
  #include "lint1.h"
! #include "y.tab.h"
  
  /* Various flags for each operator. */
  static	mod_t	modtab[NOPS];
--- 42,48 ----
  #include <math.h>
  
  #include "lint1.h"
! #include "cgram.tab.h"
  
  /* Various flags for each operator. */
  static	mod_t	modtab[NOPS];
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/Makefile usr.sbin/config.old/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/Makefile	Sat Oct 14 13:54:00 1995
--- usr.sbin/config.old/Makefile	Mon Jan 29 18:14:40 1996
***************
*** 9,14 ****
  MAN=	config.old.8
  LDADD+=	-ll
  DPADD+=	${LIBL}
! CLEANFILES+=y.tab.h lang.c config.c y.tab.c
  
  .include <bsd.prog.mk>
--- 9,14 ----
  MAN=	config.old.8
  LDADD+=	-ll
  DPADD+=	${LIBL}
! CLEANFILES+=config.tab.h lang.c config.c config.tab.c
  
  .include <bsd.prog.mk>
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/lang.l usr.sbin/config.old/lang.l
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/lang.l	Sat Oct 14 13:54:00 1995
--- usr.sbin/config.old/lang.l	Mon Jan 29 18:15:34 1996
***************
*** 37,43 ****
   */
  
  #include <ctype.h>
! #include "y.tab.h"
  #include "config.h"
  
  #define tprintf if (do_trace) printf
--- 37,43 ----
   */
  
  #include <ctype.h>
! #include "config.tab.h"
  #include "config.h"
  
  #define tprintf if (do_trace) printf
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/main.c usr.sbin/config.old/main.c
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/main.c	Sat Oct 14 13:54:00 1995
--- usr.sbin/config.old/main.c	Mon Jan 29 18:15:11 1996
***************
*** 49,55 ****
  #include <sys/file.h>
  #include <stdio.h>
  #include <ctype.h>
! #include "y.tab.h"
  #include "config.h"
  
  static char *PREFIX;
--- 49,55 ----
  #include <sys/file.h>
  #include <stdio.h>
  #include <ctype.h>
! #include "config.tab.h"
  #include "config.h"
  
  static char *PREFIX;
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/mkglue.c usr.sbin/config.old/mkglue.c
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/mkglue.c	Sat Oct 14 13:54:00 1995
--- usr.sbin/config.old/mkglue.c	Mon Jan 29 18:16:11 1996
***************
*** 43,49 ****
   */
  #include <stdio.h>
  #include "config.h"
! #include "y.tab.h"
  #include <ctype.h>
  
  /*
--- 43,49 ----
   */
  #include <stdio.h>
  #include "config.h"
! #include "config.tab.h"
  #include <ctype.h>
  
  /*
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/mkheaders.c usr.sbin/config.old/mkheaders.c
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/mkheaders.c	Sat Oct 14 13:54:00 1995
--- usr.sbin/config.old/mkheaders.c	Mon Jan 29 18:16:15 1996
***************
*** 45,51 ****
  #include <stdio.h>
  #include <ctype.h>
  #include "config.h"
! #include "y.tab.h"
  #include "specfile.h"
  
  headers()
--- 45,51 ----
  #include <stdio.h>
  #include <ctype.h>
  #include "config.h"
! #include "config.tab.h"
  #include "specfile.h"
  
  headers()
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/mkioconf.c usr.sbin/config.old/mkioconf.c
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/mkioconf.c	Sat Oct 14 13:54:00 1995
--- usr.sbin/config.old/mkioconf.c	Mon Jan 29 18:15:58 1996
***************
*** 39,45 ****
  #endif /* not lint */
  
  #include <stdio.h>
! #include "y.tab.h"
  #include "config.h"
  
  /*
--- 39,45 ----
  #endif /* not lint */
  
  #include <stdio.h>
! #include "config.tab.h"
  #include "config.h"
  
  /*
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/mkmakefile.c usr.sbin/config.old/mkmakefile.c
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/mkmakefile.c	Sat Oct 14 13:54:00 1995
--- usr.sbin/config.old/mkmakefile.c	Mon Jan 29 18:16:18 1996
***************
*** 47,53 ****
  #include <stdio.h>
  #include <ctype.h>
  #include <machine/param.h>
! #include "y.tab.h"
  #include "config.h"
  
  #define next_word(fp, wd) \
--- 47,53 ----
  #include <stdio.h>
  #include <ctype.h>
  #include <machine/param.h>
! #include "config.tab.h"
  #include "config.h"
  
  #define next_word(fp, wd) \
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/mkubglue.c usr.sbin/config.old/mkubglue.c
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/mkubglue.c	Sat Oct 14 13:54:00 1995
--- usr.sbin/config.old/mkubglue.c	Mon Jan 29 18:16:20 1996
***************
*** 43,49 ****
   */
  #include <stdio.h>
  #include "config.h"
! #include "y.tab.h"
  
  ubglue()
  {
--- 43,49 ----
   */
  #include <stdio.h>
  #include "config.h"
! #include "config.tab.h"
  
  ubglue()
  {
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/specfile.c usr.sbin/config.old/specfile.c
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config.old/specfile.c	Sat Oct 14 13:54:00 1995
--- usr.sbin/config.old/specfile.c	Mon Jan 29 18:16:23 1996
***************
*** 7,13 ****
  #include <stdio.h>
  #include <ctype.h>
  #include <setjmp.h>
! #include "y.tab.h"
  #include "config.h"
  #include "specfile.h"
  
--- 7,13 ----
  #include <stdio.h>
  #include <ctype.h>
  #include <setjmp.h>
! #include "config.tab.h"
  #include "config.h"
  #include "specfile.h"
  
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config/Makefile usr.sbin/config/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config/Makefile	Sat Oct 14 13:53:00 1995
--- usr.sbin/config/Makefile	Mon Jan 29 18:17:46 1996
***************
*** 8,14 ****
  CFLAGS+=-I${.CURDIR} -I.
  LDADD+=	-ll
  DPADD+=	${LIBL}
! CLEANFILES=gram.c scan.c y.tab.h
  MAN=	config.8
  
  .include <bsd.prog.mk>
--- 8,14 ----
  CFLAGS+=-I${.CURDIR} -I.
  LDADD+=	-ll
  DPADD+=	${LIBL}
! CLEANFILES=gram.c scan.c gram.tab.h
  MAN=	config.8
  
  .include <bsd.prog.mk>
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config/scan.l usr.sbin/config/scan.l
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/config/scan.l	Sat Oct 14 13:53:00 1995
--- usr.sbin/config/scan.l	Mon Jan 29 18:17:56 1996
***************
*** 51,57 ****
  #include <string.h>
  #include <unistd.h>
  #include "config.h"
! #include "y.tab.h"
  
  int	yyline;
  const char *yyfile;
--- 51,57 ----
  #include <string.h>
  #include <unistd.h>
  #include "config.h"
! #include "gram.tab.h"
  
  int	yyline;
  const char *yyfile;
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/eeprom/Makefile usr.sbin/eeprom/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/eeprom/Makefile	Sat Oct 14 13:55:00 1995
--- usr.sbin/eeprom/Makefile	Mon Jan 29 18:20:20 1996
***************
*** 15,20 ****
  LDADD=	-lkvm
  .endif
  
! CLEANFILES+=getdate.c y.tab.h
  
  .include <bsd.prog.mk>
--- 15,22 ----
  LDADD=	-lkvm
  .endif
  
! YPREFIX=getdate_yy
! 
! CLEANFILES+=getdate.c getdate.tab.h
  
  .include <bsd.prog.mk>
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/gspa/gspa/Makefile usr.sbin/gspa/gspa/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/gspa/gspa/Makefile	Tue Dec 12 07:56:00 1995
--- usr.sbin/gspa/gspa/Makefile	Mon Jan 29 18:23:21 1996
***************
*** 6,11 ****
  SRCS=	gspa.c gsp_out.c gsp_sym.c gsp_lex.c gsp_act.c gsp_eval.c \
  	gsp_inst.c gsp_pseu.c gsp_gram.c
  NOMAN=	noman
! CLEANFILES+=gsp_gram.c y.tab.h
  
  .include <bsd.prog.mk>
--- 6,13 ----
  SRCS=	gspa.c gsp_out.c gsp_sym.c gsp_lex.c gsp_act.c gsp_eval.c \
  	gsp_inst.c gsp_pseu.c gsp_gram.c
  NOMAN=	noman
! CLEANFILES+=gsp_gram.c gsp_gram.tab.h
! 
! gsp_eval.o gsp_lex.o gspa.o:	gsp_gram.c
  
  .include <bsd.prog.mk>
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/gspa/gspa/gsp_eval.c usr.sbin/gspa/gspa/gsp_eval.c
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/gspa/gspa/gsp_eval.c	Sat Oct 14 13:56:00 1995
--- usr.sbin/gspa/gspa/gsp_eval.c	Mon Jan 29 18:21:36 1996
***************
*** 30,36 ****
   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   */
  #include "gsp_ass.h"
! #include "y.tab.h"
  
  int32_t eval_op(int, int32_t, int32_t);
  int32_t eval_subtree(expr, unsigned *);
--- 30,36 ----
   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   */
  #include "gsp_ass.h"
! #include "gsp_gram.tab.h"
  
  int32_t eval_op(int, int32_t, int32_t);
  int32_t eval_subtree(expr, unsigned *);
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/gspa/gspa/gsp_lex.c usr.sbin/gspa/gspa/gsp_lex.c
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/gspa/gspa/gsp_lex.c	Tue Dec 12 07:56:00 1995
--- usr.sbin/gspa/gspa/gsp_lex.c	Mon Jan 29 18:21:40 1996
***************
*** 31,37 ****
   */
  #include <stdio.h>
  #include "gsp_ass.h"
! #include "y.tab.h"
  #include <ctype.h>
  #include <stdlib.h>
  #include <string.h>
--- 31,37 ----
   */
  #include <stdio.h>
  #include "gsp_ass.h"
! #include "gsp_gram.tab.h"
  #include <ctype.h>
  #include <stdlib.h>
  #include <string.h>
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/gspa/gspa/gspa.c usr.sbin/gspa/gspa/gspa.c
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/gspa/gspa/gspa.c	Sat Oct 14 13:56:00 1995
--- usr.sbin/gspa/gspa/gspa.c	Mon Jan 29 18:21:42 1996
***************
*** 39,45 ****
  #include <err.h>
  #include <unistd.h>
  #include "gsp_ass.h"
! #include "y.tab.h"
  
  #define YYDEBUG_VALUE	0
  
--- 39,45 ----
  #include <err.h>
  #include <unistd.h>
  #include "gsp_ass.h"
! #include "gsp_gram.tab.h"
  
  #define YYDEBUG_VALUE	0
  
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/htable/Makefile usr.sbin/htable/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/htable/Makefile	Sat Oct 14 13:57:00 1995
--- usr.sbin/htable/Makefile	Mon Jan 29 18:28:41 1996
***************
*** 7,13 ****
  CFLAGS+=-I. -I${.CURDIR}
  LDADD+=	-ll
  DPADD+=	${LIBL}
! CLEANFILES+=parse.c scan.c y.tab.h
  
  .include <bsd.prog.mk>
  
--- 7,13 ----
  CFLAGS+=-I. -I${.CURDIR}
  LDADD+=	-ll
  DPADD+=	${LIBL}
! CLEANFILES+=parse.c scan.c parse.tab.h
  
  .include <bsd.prog.mk>
  
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/htable/scan.l usr.sbin/htable/scan.l
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/htable/scan.l	Sat Oct 14 13:57:00 1995
--- usr.sbin/htable/scan.l	Mon Jan 29 18:28:34 1996
***************
*** 40,46 ****
  extern int yylineno;
  int yylineno = 1;
  
! #include "y.tab.h"
  #include "htable.h"
  %}
  
--- 40,46 ----
  extern int yylineno;
  int yylineno = 1;
  
! #include "parse.tab.h"
  #include "htable.h"
  %}
  
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/htable/Makefile usr.sbin/htable/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/htable/Makefile	Sat Oct 14 13:57:00 1995
--- usr.sbin/htable/Makefile	Mon Jan 29 18:28:41 1996
***************
*** 7,13 ****
  CFLAGS+=-I. -I${.CURDIR}
  LDADD+=	-ll
  DPADD+=	${LIBL}
! CLEANFILES+=parse.c scan.c y.tab.h
  
  .include <bsd.prog.mk>
  
--- 7,13 ----
  CFLAGS+=-I. -I${.CURDIR}
  LDADD+=	-ll
  DPADD+=	${LIBL}
! CLEANFILES+=parse.c scan.c parse.tab.h
  
  .include <bsd.prog.mk>
  
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/htable/scan.l usr.sbin/htable/scan.l
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/htable/scan.l	Sat Oct 14 13:57:00 1995
--- usr.sbin/htable/scan.l	Mon Jan 29 18:28:34 1996
***************
*** 40,46 ****
  extern int yylineno;
  int yylineno = 1;
  
! #include "y.tab.h"
  #include "htable.h"
  %}
  
--- 40,46 ----
  extern int yylineno;
  int yylineno = 1;
  
! #include "parse.tab.h"
  #include "htable.h"
  %}
  
diff -I .*\$Id[:\$].* -c /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/mrouted/Makefile usr.sbin/mrouted/Makefile
*** /ftp/pub/NetBSD/NetBSD-current/src/usr.sbin/mrouted/Makefile	Tue Dec 12 07:57:00 1995
--- usr.sbin/mrouted/Makefile	Mon Jan 29 18:29:37 1996
***************
*** 6,11 ****
  	route.c vif.c
  MAN=	mrouted.8
  
! CLEANFILES+= cfparse.c y.tab.h
  
  .include <bsd.prog.mk>
--- 6,11 ----
  	route.c vif.c
  MAN=	mrouted.8
  
! CLEANFILES+= cfparse.c cfparse.tab.h
  
  .include <bsd.prog.mk>
>Audit-Trail:
>Unformatted:

>From jtc  Mon Jan 29 18:05:03 1996
Resent-Date: Mon, 29 Jan 1996 18:05:03 -0500
Resent-Message-Id: <199601292305.SAA25786@pain.lcs.mit.edu>
Resent-From: gnats (GNATS Management)
Resent-To: gnats-admin
Resent-Cc: gnats-admin, netbsd-bugs@netbsd.org
Resent-Reply-To: gnats-bugs@gnats.netbsd.org, dgilbert@jaywon.pci.on.ca
 id <m0th2VE-000o5eC@pci.on.ca>; Mon, 29 Jan 96 17:56 EST
Message-Id: <199601292247.RAA19910@repeat.pci.on.ca>
Date: Mon, 29 Jan 1996 17:47:11 -0500 (EST)
From: David Gilbert <dgilbert@jaywon.pci.on.ca>
Reply-To: dgilbert@jaywon.pci.on.ca
To: gnats-bugs@gnats.netbsd.org
Subject: lib/1994: ctime and tzset manual pages incorrect.


>Number:         1994
>Category:       lib
>Synopsis:       ctime and tzset man pages incorrect about localtime
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 29 18:05:01 1996
>Last-Modified:
>Originator:     David Gilbert
>Organization:
----------------------------------------------------------------------------
|David Gilbert, PCI, Richmond Hill, Ontario.  | Two things can only be     |
|Mail:      dgilbert@jaywon.pci.on.ca         |  equal if and only if they |
|http://www.pci.on.ca/~dgilbert               |   are precisely opposite.  |
---------------------------------------------------------GLO----------------
>Release:        1.1
>Environment:
	
System: NetBSD repeat 1.1 NetBSD 1.1 (REPEAT) #27: Wed Jan 17 21:26:17 EST 1996 dgilbert@repeat:/u/dgilbert/src/sys/arch/sparc/compile/REPEAT sparc


>Description:
	The manual pages refer to /usr/share/zoneinfo/localtime when they
should refer to /etc/localtime.
>How-To-Repeat:
	man ctime or man tzset
>Fix:
	Modify them to be correct.  It may also be prudent to enter another
more easily found manual page to give the information more directly.
>Audit-Trail:
>Unformatted: