Ignore:
Timestamp:
May 27, 2009, 11:39:15 AM (17 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/modules/vfs_streams_xattr.c

    r232 r233  
    136136                               SMB_STRUCT_STAT *sbuf)
    137137{
     138
    138139        struct stream_io *io = (struct stream_io *)
    139140                VFS_FETCH_FSP_EXTENSION(handle, fsp);
     
    149150        }
    150151
    151         if (SMB_VFS_STAT(handle->conn, io->base, sbuf) == -1) {
     152        if (lp_posix_pathnames()) {
     153                ret = SMB_VFS_LSTAT(handle->conn, io->base, sbuf);
     154        } else {
     155                ret = SMB_VFS_STAT(handle->conn, io->base, sbuf);
     156        }
     157
     158        if (ret == -1) {
    152159                return -1;
    153160        }
     
    719726                        return NT_STATUS_INVALID_PARAMETER;
    720727                }
    721                 ret = SMB_VFS_STAT(handle->conn, fname, &sbuf);
     728                if (lp_posix_pathnames()) {
     729                        ret = SMB_VFS_LSTAT(handle->conn, fname, &sbuf);
     730                } else {
     731                        ret = SMB_VFS_STAT(handle->conn, fname, &sbuf);
     732                }
    722733        }
    723734
Note: See TracChangeset for help on using the changeset viewer.