X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fincremen.c;h=2fcaa9455f266c0c027b5f9cabf341992e8bbe63;hb=37edfd9e8f6a744ea037b631e999ce87ffdabc44;hp=c0d515dd32860e9240720dc9e084b1cdea900fbc;hpb=2d2e1d411e09126a7ed82ad774e24082914a51ce;p=chaz%2Ftar diff --git a/src/incremen.c b/src/incremen.c index c0d515d..2fcaa94 100644 --- a/src/incremen.c +++ b/src/incremen.c @@ -211,7 +211,7 @@ void update_parent_directory (const char *name) { struct directory *directory; - char *p, *name_buffer; + char *p; p = dir_name (name); directory = find_directory (p); @@ -234,7 +234,6 @@ procdir (char *name_buffer, struct stat *stat_data, { struct directory *directory; bool nfs = NFS_FILE_STAT (*stat_data); - struct name *np; if ((directory = find_directory (name_buffer)) != NULL) { @@ -325,7 +324,7 @@ procdir (char *name_buffer, struct stat *stat_data, omit it... */ if (one_file_system_option && device != stat_data->st_dev /* ... except if it was explicitely given in the command line */ - && !((np = name_scan (name_buffer, true)) && np->explicit)) + && !is_individual_file (name_buffer)) directory->children = NO_CHILDREN; else if (children == ALL_CHILDREN) directory->children = ALL_CHILDREN; @@ -946,7 +945,6 @@ read_directory_file (void) int fd; char *buf = 0; size_t bufsize; - long lineno = 1; /* Open the file for both read and write. That way, we can write it later without having to reopen it, and don't have to worry if