bug-gnu-utils
[Top][All Lists]
Advanced

[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 21:00:54 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Don Mahurin <address@hidden> writes:

-            && (path[p->length] == '\0' || ISSLASH (path[p->length]))
+            && (path[p->length] == '\0' || ISSLASH (path[p->length]) &&
+                  (recursion_option || path[p->length + 1] == '\0'))

Why is the "|| path[p->length + 1] == '\0'" needed?  Wouldn't a simple
"(path[p->length] == '\0' || (ISSLASH (path[p->length]) && recursion_option))"
suffice?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]