The Samba-Bugzilla – Attachment 52 Details for
Bug 102
smbtar can't handle files >=8GB properly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes the bug for files bigger than 8 GB
clitar.diff (text/plain), 740 bytes, created by
Dragan Krnic
on 2003-07-16 02:40:16 UTC
(
hide
)
Description:
Fixes the bug for files bigger than 8 GB
Filename:
MIME Type:
Creator:
Dragan Krnic
Created:
2003-07-16 02:40:16 UTC
Size:
740 bytes
patch
obsolete
>--- samba-2.2.8/source/client/clitar.c 2003-03-14 22:34:47.000000000 +0100 >+++ samba-2.2.8/source/client/clitar.c 2003-07-15 21:33:31.000000000 +0100 >@@ -208,8 +208,14 @@ > hb.dbuf.name[NAMSIZ-1]='\0'; > safe_strcpy(hb.dbuf.mode, amode, strlen(amode)); > oct_it((SMB_BIG_UINT)0, 8, hb.dbuf.uid); > oct_it((SMB_BIG_UINT)0, 8, hb.dbuf.gid); > oct_it((SMB_BIG_UINT) size, 13, hb.dbuf.size); >+ if ( size > (SMB_BIG_UINT)077777777777LL ) >+ { memset ( hb.dbuf.size, 0, 4 ); >+ hb.dbuf.size[0]=128; >+ for ( i = 8, jp=(char*)&size; i; i-- ) >+ hb.dbuf.size[i+3] = *(jp++); >+ } > oct_it((SMB_BIG_UINT) mtime, 13, hb.dbuf.mtime); > memcpy(hb.dbuf.chksum, " ", sizeof(hb.dbuf.chksum)); > memset(hb.dbuf.linkname, 0, NAMSIZ);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 102
: 52