search for: readtarheader

Displaying 2 results from an estimated 2 matches for "readtarheader".

1998 Apr 12
0
Long file name support for smbclient
...en(prefix), + hb->dbuf.name, strlen(hb->dbuf.name) + 1); } - + if ((unoct(hb->dbuf.mode, sizeof(hb->dbuf.mode)) & S_IFDIR) || (*(finfo->name+strlen(finfo->name)-1) == '\\')) { @@ -1309,7 +1330,9 @@ do { if (!fsize) { - switch (readtarheader((union hblock *) bufferp, &finfo, cur_dir)) + int result, skipblks; + result=readtarheader((union hblock *) bufferp, &finfo, cur_dir); + switch (result) { case -2: /* something dodgy but not fatal about this */ DEBUG(0, ("skipping %s...\n", fi...
1998 Nov 15
0
smbtar: stdout & gzip
...em flename filename .......... I can untar this file ok with tar on the samba server, but smbclient fails to untar this file to a share, because it stops just when it reaches that point saying: ........... filename filename ............ checksums don't match 0 27745 abandoning restore, -1 from readtarheader So that I can't pass the output of smbclient to gzip because it is not perfectly ok. I tried with different "servers" (win95 and win98) and different shares. What's the reason? ======================== Another question (I don't know much about stdin and stout redirection....