"David E. Cross" writes:

>                 fd=open(argv[1], 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 protected]>



To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to