Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 12/22/1996 11:40:02
cgd
Sun Dec 22 03:30:51 PST 1996
Update of /cvsroot/src/usr.bin/xlint/lint1
In directory netbsd1:/var/slash-tmp/cvs-serv29153/lint1

Modified Files:
	cgram.y 
Log Message:
* Accept asm statements at any place where you could see a function or
  variable declaration, in addition to within function & variable
  declarations and function bodies.  I think this comes close enough
  to what gcc does to be considered "correct enough."  Certainly, it
  fixes the problem for the couple of cases where this is a problem
  in our tree.


cgd
Sun Dec 22 03:31:08 PST 1996
Update of /cvsroot/src/usr.bin/xlint/lint1
In directory netbsd1:/var/slash-tmp/cvs-serv29173/lint1

Modified Files:
	decl.c emit1.c lint1.h 
Log Message:
* recognize that pointers to identical unnamed and untyped structs,
  unions, and enums are, in fact, identical.  This is done by tagging
  each of unnamed and untyped structure, union and enum with a unique
  position of creation, which is used as a unique identifier that
  when determine whether or not a pair of structures, unions, or enums
  are identical.


cgd
Sun Dec 22 03:31:11 PST 1996
Update of /cvsroot/src/usr.bin/xlint/lint2
In directory netbsd1:/var/slash-tmp/cvs-serv29173/lint2

Modified Files:
	emit2.c externs2.h lint2.h read.c 
Log Message:
* recognize that pointers to identical unnamed and untyped structs,
  unions, and enums are, in fact, identical.  This is done by tagging
  each of unnamed and untyped structure, union and enum with a unique
  position of creation, which is used as a unique identifier that
  when determine whether or not a pair of structures, unions, or enums
  are identical.


cgd
Sun Dec 22 03:31:25 PST 1996
Update of /cvsroot/src/usr.bin/xlint/lint1
In directory netbsd1:/var/slash-tmp/cvs-serv29231/lint1

Modified Files:
	scan.l 
Log Message:
* recognize that pointers to identical unnamed and untyped structs,
  unions, and enums are, in fact, identical.  This is done by tagging
  each of unnamed and untyped structure, union and enum with a unique
  position of creation, which is used as a unique identifier that
  when determine whether or not a pair of structures, unions, or enums
  are identical.

* accept the file name '-' to indicate that standard input is to be
  used as lint1 input.  That involves having lint pass the '-' through
  to the cpp which preprocesses the lint1 input, and having lint1's
  scanner recognize a cpp filename "" as "{standard input}".


cgd
Sun Dec 22 03:31:38 PST 1996
Update of /cvsroot/src/usr.bin/xlint/lint2
In directory netbsd1:/var/slash-tmp/cvs-serv29283/lint2

Modified Files:
	chk.c 
Log Message:
* Ignore the size of integer arguments when trying to automatically
  convert them to pointers.  If they're zero, they're converted (to
  NULL pointers) regardless of size.  If they're non-zero, they can't
  be converted (without a cast).  This matches the behavior of other
  version of lint, e.g. the lints on Digital UNIX and HP-UX.

* recognize that pointers to identical unnamed and untyped structs,
  unions, and enums are, in fact, identical.  This is done by tagging
  each of unnamed and untyped structure, union and enum with a unique
  position of creation, which is used as a unique identifier that
  when determine whether or not a pair of structures, unions, or enums
  are identical.


cgd
Sun Dec 22 03:31:48 PST 1996
Update of /cvsroot/src/usr.bin/xlint/xlint
In directory netbsd1:/var/slash-tmp/cvs-serv29303/xlint

Modified Files:
	xlint.c lint.1 
Log Message:
* accept the file name '-' to indicate that standard input is to be
  used as lint1 input.  That involves having lint pass the '-' through
  to the cpp which preprocesses the lint1 input, and having lint1's
  scanner recognize a cpp filename "" as "{standard input}".


cgd
Sun Dec 22 03:34:22 PST 1996
Update of /cvsroot/src/lib/libc/string
In directory netbsd1:/var/slash-tmp/cvs-serv29381/string

Modified Files:
	Makefile.inc 
Log Message:
add rules to build .ln files (memmove.ln, memcpy.ln, strchr.ln, strrchr.ln)
for objects built specially from other C files, when appropriate.


cgd
Sun Dec 22 03:37:38 PST 1996
Update of /cvsroot/src/lib/libc/sys
In directory netbsd1:/var/slash-tmp/cvs-serv29439/sys

Modified Files:
	Makefile.inc 
Log Message:
add LASM, LNOERR, and LPSEUDO variables, analogous to e.g. PASM, PNOERR, and
PPSEUDO but for .ln files rather than .po files.  Add the new variables
to LOBJS, as well.  The rules to build those objects them call a helper
script (sys/makelintstub) and pipe the result to lint.  Unfortunately,
dependency handling for these built .ln files is a bit sub-optimal right
now, but that can be fixed later.


cgd
Sun Dec 22 03:38:35 PST 1996
Update of /cvsroot/src/lib/libc/sys
In directory netbsd1:/var/slash-tmp/cvs-serv29510

Added Files:
	makelintstub 
Log Message:
a script to build C source code stubs to be fed to lint(1) from the data
in <sys/syscall.h>.