Changeset 254 for trunk/src/sh_files.c
- Timestamp:
- Oct 25, 2009, 8:41:32 PM (15 years ago)
- File:
-
- 1 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;
Note:
See TracChangeset
for help on using the changeset viewer.