Fixed changes in clitar.c that Jeremey noted. One change was
authorRichard Sharpe <sharpe@samba.org>
Sat, 19 Sep 1998 04:25:10 +0000 (04:25 +0000)
committerRichard Sharpe <sharpe@samba.org>
Sat, 19 Sep 1998 04:25:10 +0000 (04:25 +0000)
correct, the other needed slightly changing.

Now to test it is all OK :-)

source/client/clitar.c

index 9cb71b10a276e5a20e655e607fd4d3e9d578da7a..e7ab18083625e900013e59fa0db3acf142f505ca 100644 (file)
@@ -1725,6 +1725,7 @@ static char * get_longfilename(file_info2 finfo)
   char *longname = malloc(namesize);
   char *xxx;
   int offset = 0, left = finfo.size;
+  BOOL first = True;
 
   DEBUG(5, ("Restoring a long file name: %s\n", finfo.name));
   DEBUG(5, ("Len = %i\n", finfo.size));
@@ -1755,7 +1756,7 @@ static char * get_longfilename(file_info2 finfo)
 
     }
 
-    unfixtarname(longname + offset, buffer_p, MIN(TBLOCK, finfo.size),False);
+    unfixtarname(longname + offset, buffer_p, MIN(TBLOCK, finfo.size), first--);
     DEBUG(5, ("UnfixedName: %s, buffer: %s\n", longname, buffer_p));
 
     offset += TBLOCK;