*
* Checks a directory option.
* dirpath - the directory name supplied on the command line
+ * configpath - optional configuration directory
* envVarName - the name of an environment variable to get if dirpath is NULL
* cmdLineOption - the command line option corresponds to this directory (-o, -O, -n, -N)
* description - a description of this directory option
}
/*
- * Trim off any trailing path separators
+ * Trim off any trailing path separators because we construct paths
+ * by appending to this path.
*/
#ifndef WIN32
if ((*dirpath)[strlen(*dirpath) - 1] == '/')