634d96e194
correct manner. Revert my incorrect change to use err(3) for malloc(3) failing. Use a size_t variable to store the size of the argument buffer we allocate, and remove silly casts as the result of having this around. Modify the math in some of the paranoid checks for buffer overflow to account for the fact we now are dealing with the actual size of the buffer. Remove the static qualifier for arg_max, and the bogus setting of it to -1. Include <limits.h> for the definitions we use to check for possible overflows. Submitted by: bde |
||
---|---|---|
.. | ||
extern.h | ||
fmt.c | ||
keyword.c | ||
lomac.c | ||
lomac.h | ||
Makefile | ||
nlist.c | ||
print.c | ||
ps.1 | ||
ps.c | ||
ps.h |