Ticket #14658: patch-base-2.2b1-ipr-ipr_file.icl.diff
File patch-base-2.2b1-ipr-ipr_file.icl.diff, 718 bytes (added by Jacobus.Geluk@…, 17 years ago) |
---|
-
../base-2.2b1/ipr/ipr_file.icl
old new 210 210 if (ipr_file_exists (filename)) 211 211 icl_shortstr_cpy (fullname, filename); 212 212 else { 213 icl_shortstr_cat (workname, "/opt/local/etc/") ; 214 icl_shortstr_cat (workname, filename) ; 215 if (ipr_file_exists (workname)) { 216 icl_shortstr_cpy (fullname, workname) ; 217 rc = 0 ; 218 } else { 213 219 rc = -1; // Assume we don't find the file 214 220 while (pathptr && *pathptr) { 215 221 length = strcspn (pathptr, PATHSEP); … … 230 236 break; 231 237 } 232 238 } 239 } 233 240 } 234 241 </method> 235 242