Thanks for those comments in FormPreferences.C and in filetools.C, Lars.
I've put in some comments of my own that should explain why things are the
way they are in FormPreferences.C. E.g., in inputPaths():
// !ob if function is called from updatePaths() to de/activate objects,
// otherwise the function is called by an xforms CB via input().
if (!ob || ob == paths_->check_use_temp_dir) {
...
}
As for the stuff in filetools.C: well, what can I say! I knew I was going to
expose myself as a fraud by submitting this code. My fortran past is catching
up on me. Suffice to say, I didn't know that DIR, opendir() or readdir()
existed. Thanks for putting me straight.
Angus