Commit Diff


commit - f41c2ea1a5aea0b2fb49e8c2729e6423557cbbc2
commit + c8891c90ae0353fa9e0415eccf416b501b6c4103
blob - 50b183185c84116016a8cbac58997b7ee60b1bcd
blob + 193938440cdeae54d6b75571b0f29261cc611a76
--- rover.c
+++ rover.c
@@ -394,7 +394,7 @@ free_rows(row_t **rowsp, int nfiles)
 
 /* Change working directory. */
 /* NOTE: The caller needs to write the new path to CWD
- *  *before* calling this function. */
+    *before* calling this function. */
 static void
 cd(int reset)
 {
@@ -454,15 +454,14 @@ reload()
 }
 
 /* Recursively process a source directory using CWD as destination root.
- * For each node (i.e. directory), do the following:
- *  1. call pre(destination);
- *  2. call proc() on every child leaf (i.e. files);
- *  3. recurse into every child node;
- *  4. call pos(source).
- * E.g. to move directory /src/ (and all its contents) inside /dst/:
- *  strcpy(CWD, "/dst/");
- *  process_dir(adddir, movfile, deldir, "/src/");
- */
+   For each node (i.e. directory), do the following:
+    1. call pre(destination);
+    2. call proc() on every child leaf (i.e. files);
+    3. recurse into every child node;
+    4. call pos(source).
+   E.g. to move directory /src/ (and all its contents) inside /dst/:
+    strcpy(CWD, "/dst/");
+    process_dir(adddir, movfile, deldir, "/src/"); */
 static int
 process_dir(PROCESS pre, PROCESS proc, PROCESS pos, const char *path)
 {
@@ -497,9 +496,8 @@ process_dir(PROCESS pre, PROCESS proc, PROCESS pos, co
 }
 
 /* Process all marked entries using CWD as destination root.
- * All marked entries that are directories will be recursively processed.
- * See process_dir() for details on the parameters.
- */
+   All marked entries that are directories will be recursively processed.
+   See process_dir() for details on the parameters. */
 static void
 process_marked(PROCESS pre, PROCESS proc, PROCESS pos)
 {