- Timestamp:
- Oct 25, 2009, 8:41:32 PM (15 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_files.c
r242 r254 1941 1941 int get_the_fd (SL_TICKET ticket); 1942 1942 1943 static int sh_use_rsrc = S_FALSE; 1944 1945 int sh_files_use_rsrc(const char * str) 1946 { 1947 return sh_util_flagval(str, &sh_use_rsrc); 1948 } 1943 1949 1944 1950 static ShFileType sh_files_filecheck (int class, char * dirName, … … 2102 2108 } 2103 2109 2104 #if def HOST_IS_DARWIN2110 #if defined(HOST_IS_DARWIN) 2105 2111 /* 2106 2112 * Check for resource fork 2107 2113 */ 2108 if ( ( theFile->c_mode[0] != 'd') && (rsrcflag == 0) )2114 if ( (sh_use_rsrc == S_TRUE) && (theFile->c_mode[0] != 'd') && (rsrcflag == 0) ) 2109 2115 { 2110 2116 int dummy; -
trunk/src/sh_readconf.c
r248 r254 946 946 { N_("usehardlinkcheck"), SH_SECTION_MISC, SH_SECTION_NONE, 947 947 sh_files_check_hardlinks }, 948 { N_("usersrccheck"), SH_SECTION_MISC, SH_SECTION_NONE, 949 sh_files_use_rsrc }, 948 950 { N_("hardlinkoffset"), SH_SECTION_MISC, SH_SECTION_NONE, 949 951 sh_files_hle_reg },
Note:
See TracChangeset
for help on using the changeset viewer.