From: Ben D. <ben...@fl...> - 2008-02-20 00:52:23
|
With the new open from path, you can no longer specify a file as /full/path/to/file. Fix this by trying an fopen() with the user-supplied filename if nothing else works. Index: src/helper/configuration.c =================================================================== --- src/helper/configuration.c (revision 313) +++ src/helper/configuration.c (working copy) @@ -161,6 +161,9 @@ fp = fopen(full_path, mode); } + if (!fp) + fp = fopen(file, mode); + if (fp) command_print(cmd_ctx, "opened %s", full_path); |