From 9fb373f96f424a45628b1c2a925f7ddc53716a62 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 26 Oct 2004 19:02:51 +0000 Subject: [PATCH] Add comment to clarify behavior. --- src/tests/userprog/insult.c | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.30.2