s3:modules fix Bug 8244 - Cannot copy files larger than 2 GB to Samba share
commit11008f1c73afdd86e7fa929fe37675c57ae2c32c
authorChristian Ambach <ambi@samba.org>
Fri, 17 Jun 2011 19:54:30 +0000 (17 21:54 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 21 Jun 2011 18:09:24 +0000 (21 20:09 +0200)
tree14ac49d5e8379302aa46e4210059ddf107c7cd41
parent8a7a3c6704d8f2c48c8fbc2ad1bddb5b67131b4c
s3:modules fix Bug 8244 - Cannot copy files larger than 2 GB to Samba share

the time_audit module uses int instead of uint64 as return value
in get_alloc_size so that sizes of files larger than 2 GB are
cut of leading to wrong replies to NtCreateAndX and Windows
clients giving up

While checking the types of all functions, I found two more wrong
return value types that needed correction

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Fri Jun 17 23:11:10 CEST 2011 on sn-devel-104
(cherry picked from commit bb66504dadf56366ea30697ae73673de3df08132)
source3/modules/vfs_time_audit.c