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:

  1. A function should not have any unintended side effect.
    It should not do any I/O unless is is explicitly specified.
  2. Make sure you follow the programming guidelines given.
    In particular, watch your indentation and avoid long lines.
  3. You should check path1 and path2 for NULL before calling get_modify_time.
  4. compare_modify_times should not be calling stat directly.
    It should use the return value of get_modify_time
  5. You should only make one call to get_modify_time for each path.
  6. The following structure is more complex than necessary:
       if (xxx)
          return 0;
       else if (yyy)
          return 1;
       else {
    
       }