CS 3733 Operating Systems, Spring 2005 Assignment 3 Comments
General Comments:
- This assignment was graded on the basis of 30 points.
- Learn to use lint.
From the comments on assignment 1:
Each main program is linted with all of the pieces needed to run it.
To run lint on the client program:
lint FIFO_client.c utility.c restart.c
- Do not say that all of the lint warnings are on the acceptable list if
they are not.
- In the tests, don't uses files with the same date and time if one
is older than the other (by a few seconds). This makes it hard to tell
if the program is working.
- In the tests, I should not have to guess which listing was from the client
directory and which was from the server directory.
- Link to the restart library, rather than copying the code into your
program.
- You need to do error checking on all system calls and library functions.
- Make sure the server only sends back information on regular files.
- Watch out for possible buffer overflows in code such as:
strcpy(argbuf,argv[3]);
- In some cases I did not understand how the source code you turned in
could have produced the results you submitted. In this case I took off
points and invited you to see me about it.