From: Ben Pfaff Date: Tue, 26 Oct 2004 19:02:51 +0000 (+0000) Subject: Add comment to clarify behavior. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fb373f96f424a45628b1c2a925f7ddc53716a62;p=pintos-anon Add comment to clarify behavior. --- diff --git a/src/tests/userprog/insult.c b/src/tests/userprog/insult.c index c0064c3..442a3ec 100644 --- a/src/tests/userprog/insult.c +++ b/src/tests/userprog/insult.c @@ -309,6 +309,11 @@ main (int argc, char *argv[]) usage (-1, "Can't have more than one output file"); if (++i >= argc) usage (-1, "Missing value for -f"); + + /* Because files have fixed length in the basic Pintos + file system, the 0 argument means that this option + will not be useful until project 4 is + implemented. */ create (argv[i], 0); handle = open (argv[i]); if (handle < 0)