]> Dogcows Code - chaz/tar/commitdiff
(split_long_name): Fix maximum length estimation. Patch by Jim Lowe.
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 20 Feb 2006 09:41:29 +0000 (09:41 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 20 Feb 2006 09:41:29 +0000 (09:41 +0000)
src/create.c

index 41726613fcb92e86c54beeff5fcf9b894f9ffaa7..f2db9c27fd542ff234c97f93f3cd309d9c8c290d 100644 (file)
@@ -494,7 +494,7 @@ split_long_name (const char *name, size_t length)
   size_t i;
 
   if (length > PREFIX_FIELD_SIZE)
-    length = PREFIX_FIELD_SIZE+2;
+    length = PREFIX_FIELD_SIZE + 1;
   for (i = length - 1; i > 0; i--)
     if (ISSLASH (name[i]))
       break;
This page took 0.023791 seconds and 4 git commands to generate.