diff options
author | Haru <haru@dotalux.com> | 2016-02-15 17:33:54 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-17 10:40:43 +0100 |
commit | 6c127b3ec4f73f02aff5b37e9526dcc249d95c54 (patch) | |
tree | 2bf087e948efc29c657129fe8ea97db857a2f664 | |
parent | 32e37aec7b011ba18beb35a541267c2aa5549b7a (diff) | |
download | hercules-6c127b3ec4f73f02aff5b37e9526dcc249d95c54.tar.gz hercules-6c127b3ec4f73f02aff5b37e9526dcc249d95c54.tar.bz2 hercules-6c127b3ec4f73f02aff5b37e9526dcc249d95c54.tar.xz hercules-6c127b3ec4f73f02aff5b37e9526dcc249d95c54.zip |
libconfig: report file name in case of i/o error
Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r-- | 3rdparty/libconfig/libconfig.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdparty/libconfig/libconfig.c b/3rdparty/libconfig/libconfig.c index afc65dfef..72520e7c5 100644 --- a/3rdparty/libconfig/libconfig.c +++ b/3rdparty/libconfig/libconfig.c @@ -728,6 +728,7 @@ int config_write_file(config_t *config, const char *filename) { config->error_text = __io_error; config->error_type = CONFIG_ERR_FILE_IO; + config->error_file = filename; return(CONFIG_FALSE); } |