"David E. Cross" writes:
> fd=open(argv, O_CREAT, 600);
Since this opens the file so that it cannot be written to, not
to mention the really weird mode it will get if it's created by
that open(), the rest of the thing doesn't deserve to work.
Generally speaking, it's a good idea to make sure that test code
is at least decent before starting to puzzle over what it does.
Greg Black -- <email@example.com>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message