Changeset 124 for branches/samba-3.0/source/smbd/open.c
- Timestamp:
- Mar 12, 2008, 9:08:18 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/smbd/open.c
r105 r124 1376 1376 #endif /* O_SYNC */ 1377 1377 1378 if (posix_open & (access_mask & FILE_APPEND_DATA)) {1378 if (posix_open && (access_mask & FILE_APPEND_DATA)) { 1379 1379 flags2 |= O_APPEND; 1380 1380 } … … 1819 1819 lp_store_dos_attributes(SNUM(conn))) { 1820 1820 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 } 1824 1830 } 1825 1831 }
Note:
See TracChangeset
for help on using the changeset viewer.