freebsd-dev/usr.bin/xlint/lint1
Alexander Langer 8abdc2eb40 Sweep through the tree fixing mmap() usage:
- Use MAP_FAILED instead of the constant -1 to indicate
    failure (required by POSIX).
  - Removed flag arguments of '0' (required by POSIX).
  - Fixed code which expected an error return of 0.
  - Fixed code which thought any address with the high bit set
    was an error.
  - Check for failure where no checks were present.

Discussed with:	bde
1997-01-16 21:58:40 +00:00
..
cgram.y Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
decl.c General -Wall warning cleanup, part I. 1996-07-12 19:08:36 +00:00
emit1.c Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
emit.c Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
err.c Well, Jochen adopted most of my submissions. So only the different 1995-11-06 21:54:02 +00:00
externs1.h Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
externs.h Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
func.c Backout yacc changes. 1996-06-02 17:22:01 +00:00
init.c Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
lint1.h Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
lint.h Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
main1.c Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
Makefile Backout yacc changes. 1996-06-02 17:22:01 +00:00
mem1.c Sweep through the tree fixing mmap() usage: 1997-01-16 21:58:40 +00:00
mem.c Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
op.h Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
param.h Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
scan.l General -Wall warning cleanup, part I. 1996-07-12 19:08:36 +00:00
tree.c General -Wall warning cleanup, part I. 1996-07-12 19:08:36 +00:00