]> Dogcows Code - chaz/tar/blobdiff - src/create.c
(split_long_name): Fix maximum length estimation. Patch by Jim Lowe.
[chaz/tar] / 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.019739 seconds and 4 git commands to generate.