Ignore:
Timestamp:
Mar 12, 2008, 9:08:18 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.28a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/smbd/open.c

    r105 r124  
    13761376#endif /* O_SYNC */
    13771377 
    1378         if (posix_open & (access_mask & FILE_APPEND_DATA)) {
     1378        if (posix_open && (access_mask & FILE_APPEND_DATA)) {
    13791379                flags2 |= O_APPEND;
    13801380        }
     
    18191819                    lp_store_dos_attributes(SNUM(conn))) {
    18201820                        if (!posix_open) {
    1821                                 file_set_dosmode(conn, fname,
    1822                                          new_dos_attributes | aARCH, NULL,
    1823                                          parent_dir);
     1821                                SMB_STRUCT_STAT tmp_sbuf;
     1822                                SET_STAT_INVALID(tmp_sbuf);
     1823                                if (file_set_dosmode(
     1824                                                conn, fname,
     1825                                                new_dos_attributes | aARCH,
     1826                                                &tmp_sbuf,
     1827                                                parent_dir) == 0) {
     1828                                        unx_mode = tmp_sbuf.st_mode;
     1829                                }
    18241830                        }
    18251831                }
Note: See TracChangeset for help on using the changeset viewer.