More small steps
bk: 3997887cuH9x49ZvkCwrpIV3dzw5VA
#ifdef SYS_WINNT
char *alt_config_file;
LPTSTR temp;
-char config_file_storage[MAX_PATH];
-char alt_config_file_storage[MAX_PATH];
+char config_file_storage[PATH_MAX];
+char alt_config_file_storage[PATH_MAX];
#endif /* SYS_WINNT */
int make_dh = 0; /* Make D-H parameter file? */
const char *f3 /* Previous symlink target */
)
{
+ char fb[PATH_MAX];
+
/*
If:
- no symlink support, or
print any error message/bail
return FILE
*/
+ if (
+#ifdef HAVE_READLINK
+ !f3
+#else
+ 1
+#endif
+ ) {
+ /* file = dirname(f1) / f2 */
+ } else {
+ /*
+ - If ('/' == *f3)
+ - - file = dirname(f3) / f2
+ - else
+ - - file = dirname(f1) / dirname(f3) / f2
+ */
+ }
+ /*
+ fopen(file)
+ print any error message/bail
+ return FILE
+ */
}