X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fincremen.c;h=e8437ae254a57fa84a2bec4384792d2e40f87fd2;hb=b960c38c4bc51f7509e6d9e38a53d976bb10b88f;hp=31672a34a6f63fabf7cb3f23d9c7640d5ffeaaf1;hpb=df7792b5d8f07d3fbebaee4ea4a6fb86cc117b78;p=chaz%2Ftar diff --git a/src/incremen.c b/src/incremen.c index 31672a3..e8437ae 100644 --- a/src/incremen.c +++ b/src/incremen.c @@ -127,7 +127,7 @@ scan_path (struct obstack *stk, char *path, dev_t device) char *name_buffer; /* directory, `/', and directory member */ size_t name_buffer_size; /* allocated size of name_buffer, minus 2 */ size_t name_length; /* used length in name_buffer */ - struct directory *directory; /* for checking if already already seen */ + struct directory *directory; /* for checking if already seen */ enum children children; if (! dirp) @@ -257,7 +257,7 @@ scan_path (struct obstack *stk, char *path, dev_t device) free (dirp); } -/* Sort the contents of the obstack, anr convert it to the char * */ +/* Sort the contents of the obstack, and convert it to the char * */ static char * sort_obstack (struct obstack *stk) { @@ -308,7 +308,7 @@ get_directory_contents (char *path, dev_t device) scan_path (&stk, path, device); buffer = sort_obstack (&stk); obstack_free (&stk, NULL); - return buffer;; + return buffer; }