Get rid of unnecessary barrier. Improve comment.
[pintos-anon] / src / tests / userprog / insult.c
index c0064c3f6501401abfbc9af631b903d7d1b9a2dd..442a3ec353766f49caa04b4e87940399799f3801 100644 (file)
@@ -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)