On 1/30/06, Ronald Kurz <[EMAIL PROTECTED]> wrote: > My suggestion is to rearrange the steps described above: > > 1) vfs.cfg found in the current directory (= project directory) > 2) vfs.cfg found via the environment variable CRYSTAL_CONFIG > 3) vfs.cfg found via the #define CS_CONFIGDIR > 4) vfs.cfg found in the CS installation directory
The user though needs a way to override where vfs.cfg it taken from. Checking CRYSTAL_CONFIG first makes that easy for the user so it should probably come first. Otherwise your order sound reasonable to me (it's from most specific to least specific). Michael D. Adams [EMAIL PROTECTED] P.S. Yes, the user could also cd to the directory they wanted it from to make current-directory-first checking work, but they may have good reasons for wanting to be in a particular directory which we cannot predict. Thus requiring they don't start in a directory with a vfs.cfg that they don't want loaded is bad manners. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
