Displaying 2 results from an estimated 2 matches for "writetarhdr".
2001 Mar 16
0
smbclient tar problem
...mg001.GIF]
file \Projects\From MM58836\SPC internal Web\New
Site\groups\SLPG\projects\STRICOM_TIE_speech\_vti_cnf\img001.GIF attrib
0x1
getting file \Projects\From MM58836\SPC internal Web\New
Site\groups\SLPG\projects\STRICOM_TIE_speech\_vti_cnf\img001.GIF of size
639 bytes as a tar file img001.GIFWriteTarHdr, Type = 0, Size= 639, Name
= \Projects\From MM58836\SPC internal Web\New
Site\groups\SLPG\projects\STRICOM_TIE_speech\_vti_cnf\img001.GIF
WriteTarHdr, Type = L, Size= 109, Name = /./@LongLink
File name in tar file: ./Projects/From MM58836/SPC internal Web/New
Site/groups/SLPG/projects/STRICOM_TIE_s...
2002 Dec 20
1
smbclient and large file support
...*******/
-static void writetarheader(int f, char *aname, int size, time_t mtime,
+static void writetarheader(int f, char *aname, SMB_BIG_UINT size, time_t mtime,
char *amode, unsigned char ftype)
{
union hblock hb;
@@ -175,7 +175,7 @@
int i, chk, l;
char *jp;
- DEBUG(5, ("WriteTarHdr, Type = %c, Size= %i, Name = %s\n", ftype, size, aname));
+ DEBUG(5, ("WriteTarHdr, Type = %c, Size= %.0f, Name = %s\n", ftype, (double)size, aname));
memset(hb.dummy, 0, sizeof(hb.dummy));
@@ -207,10 +207,10 @@
hb.dbuf.name[NAMSIZ-1]='\0';
safe_strcpy(hb.db...