The Samba-Bugzilla – Attachment 8576 Details for
Bug 9640
Mac OS X 10.7 and later cannot transfer files larger than 4.29GB to Samba
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
test code..
append.c (text/x-csrc), 372 bytes, created by
Jeremy Allison
on 2013-02-22 23:29:22 UTC
(
hide
)
Description:
test code..
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2013-02-22 23:29:22 UTC
Size:
372 bytes
patch
obsolete
>#include <stdio.h> >#include <string.h> >#include <fcntl.h> > >static char buf[65536]; > >int main(int argc, const char **argv) >{ > int i; > int fd = open(argv[1], O_WRONLY|O_APPEND, 0666); > > if (fd == -1) { > return 1; > } > > memset(buf, '\0', 65536); > /* Append 1mb of zeros. */ > for (i = 0; i < 16; i++) { > if (write(fd, buf, 65536) != 65536) { > return 2; > } > } > return 0; >}
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 9640
: 8576