This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Undernet IRC Server Source Code.".
The branch, u2_10_12_branch has been updated
via 1548621343dcb96279d7ef85f5fb9c96120015ce (commit)
from c58832935437dc2bebe5d9e76bc9f6349d447696 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1548621343dcb96279d7ef85f5fb9c96120015ce
Author: Michael Poole <[email protected]>
Date: Fri Aug 4 20:30:38 2017 -0400
ircd.c: Fix diagnostic for missing CPATH (config file).
The check for SPATH has a worse problem: configure.in no longer recognizes
either --with-Spath or --with-spath. However, I am not currently inclined
to fix that.
diff --git a/ircd/ircd.c b/ircd/ircd.c
index c09d68c..65a453c 100644
--- a/ircd/ircd.c
+++ b/ircd/ircd.c
@@ -567,7 +567,7 @@ static char check_file_access(const char *path, char which,
int mode) {
"Check on %cPATH (%s) failed: %s\n"
"Please create this file and/or rerun `configure' "
"using --with-%cpath and recompile to correct this.\n",
- which, path, strerror(errno), which);
+ toupper(which), path, strerror(errno), which);
return 0;
}
@@ -653,7 +653,7 @@ int main(int argc, char **argv) {
/* Check paths for accessibility */
if (!check_file_access(SPATH, 'S', X_OK) ||
- !check_file_access(configfile, 'C', R_OK))
+ !check_file_access(configfile, 'c', R_OK))
return 4;
if (!init_connection_limits())
-----------------------------------------------------------------------
Summary of changes:
ircd/ircd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Undernet IRC Server Source Code.
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches