CS 3733 Operating Systems, Fall 2004 Assignment 0 Comments
If you sent me a program you should have received an email response from me
over the weekend.
Of the 43 who sent email, 18 were OK and 25 were asked to redo it and
resubmit.
If you were asked to resubmit, you have until midnight on Tuesday, September 14.
General Comments:
- A function should not have any unintended side effect.
It should not do any I/O unless is is explicitly specified.
- Make sure you follow the programming guidelines given.
In particular, watch your indentation and avoid long lines.
- You should check path1 and path2 for NULL
before calling get_modify_time.
- compare_modify_times should not be calling stat
directly.
It should use the return value of get_modify_time
- You should only make one call to get_modify_time
for each path.
- The following structure is more complex than necessary:
if (xxx)
return 0;
else if (yyy)
return 1;
else {
}