Ignore:
Timestamp:
Aug 2, 2010, 6:40:21 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.5: vendor update to 3.5.4

Location:
vendor/current/source3/modules
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/modules/vfs_full_audit.c

    r414 r478  
    10951095                       files_struct *fsp, const SMB_STRUCT_STAT *sbuf)
    10961096{
    1097         int result;
     1097        uint64_t result;
    10981098
    10991099        result = SMB_VFS_NEXT_GET_ALLOC_SIZE(handle, fsp, sbuf);
  • vendor/current/source3/modules/vfs_scannedonly.c

    r427 r478  
    5454#define SENDBUFFERSIZE 1450
    5555
     56#ifndef       SUN_LEN
     57#define       SUN_LEN(sunp)   ((size_t)((struct sockaddr_un *)0)->sun_path \
     58                                + strlen((sunp)->sun_path))
     59#endif
     60
     61
    5662struct Tscannedonly {
    5763        int socket;
  • vendor/current/source3/modules/vfs_streams_xattr.c

    r414 r478  
    238238        sbuf->st_ex_mode &= ~S_IFMT;
    239239        sbuf->st_ex_mode |= S_IFREG;
    240         sbuf->st_ex_blocks = sbuf->st_ex_size % STAT_ST_BLOCKSIZE + 1;
     240        sbuf->st_ex_blocks = sbuf->st_ex_size / STAT_ST_BLOCKSIZE + 1;
    241241
    242242        return 0;
     
    291291        smb_fname->st.st_ex_mode |= S_IFREG;
    292292        smb_fname->st.st_ex_blocks =
    293             smb_fname->st.st_ex_size % STAT_ST_BLOCKSIZE + 1;
     293            smb_fname->st.st_ex_size / STAT_ST_BLOCKSIZE + 1;
    294294
    295295        result = 0;
     
    342342        smb_fname->st.st_ex_mode |= S_IFREG;
    343343        smb_fname->st.st_ex_blocks =
    344             smb_fname->st.st_ex_size % STAT_ST_BLOCKSIZE + 1;
     344            smb_fname->st.st_ex_size / STAT_ST_BLOCKSIZE + 1;
    345345
    346346        result = 0;
Note: See TracChangeset for help on using the changeset viewer.