projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4c275c
)
Add comment to clarify behavior.
author
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 26 Oct 2004 19:02:51 +0000
(19:02 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 26 Oct 2004 19:02:51 +0000
(19:02 +0000)
src/tests/userprog/insult.c
patch
|
blob
|
history
diff --git
a/src/tests/userprog/insult.c
b/src/tests/userprog/insult.c
index c0064c3f6501401abfbc9af631b903d7d1b9a2dd..442a3ec353766f49caa04b4e87940399799f3801 100644
(file)
--- 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)