[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tar --no-recursion patch
From: |
Paul Eggert |
Subject: |
Re: tar --no-recursion patch |
Date: |
20 Apr 2003 22:37:58 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Don Mahurin <address@hidden> writes:
> > Why is the "|| path[p->length + 1] == '\0'" needed? Wouldn't a simple
> > "(path[p->length] == '\0' || (ISSLASH (path[p->length]) &&
> > recursion_option))" suffice?
>
> no, because for a directory, path is "dir/" and p->name is "dir".
Ah, OK. I am making other changes to tar to strip those trailing slashes,
so I won't need to worry about the case where path is "dir/". Thanks.