1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/usr.bin/xlint/lint2
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
..
chk.c Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
emit2.c Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
externs2.h Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
hash.c Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
lint2.h Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
main2.c Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
Makefile Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
mem2.c Sweep through the tree fixing mmap() usage: 1997-01-16 21:58:40 +00:00
msg.c Jochen Pohl's lint(1) from NetBSD. Yet another import. 1995-11-05 15:56:42 +00:00
read.c General -Wall warning cleanup, part I. 1996-07-12 19:08:36 +00:00