From 4731000e40975ffcfe9c6002096ef36bc2e37248 Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Thu, 12 Jan 2006 03:02:50 +0000 Subject: [PATCH] Minor Solaris build tweaks: VPATH, example.conf, warning. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1610 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ChangeLog | 9 +++++++++ doc/Makefile.in | 3 ++- doc/example.conf | 15 ++++++++------- ircd/m_burst.c | 4 ++-- 4 files changed, 21 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 17b73b8..8fc60bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-01-11 Michael Poole + + * doc/Makefile.in: Make install target VPATH-safe. + + * doc/example.conf: Comment out example IAuth block. + + * ircd/m_burst.c (ms_burst): Change isdigit() to IsDigit(), + silencing a warning on Solaris. + 2006-01-09 Michael Poole * ircd/s_user.c (register_user): Do not send +r flag to user when diff --git a/doc/Makefile.in b/doc/Makefile.in index c4f7c8f..eb4f719 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -45,7 +45,8 @@ maintainer-clean: distclean depend: install: - cd ${srcdir} && (test -d ${MANDIR}/man8 || mkdir ${MANDIR}/man8 || mkdir -p ${MANDIR}/man8) 2> /dev/null && ${INSTALL} -m 644 ircd.8 ${MANDIR}/man8 + test -d ${MANDIR}/man8 || mkdir ${MANDIR}/man8 || mkdir -p ${MANDIR}/man8 + ${INSTALL} -m 644 ${srcdir}/ircd.8 ${MANDIR}/man8 uninstall: ${RM} -f ${MANDIR}/man8/ircd.8 diff --git a/doc/example.conf b/doc/example.conf index be3d13c..44eae6f 100644 --- a/doc/example.conf +++ b/doc/example.conf @@ -723,13 +723,14 @@ Pseudo "LOGIN" { }; # You can ask a separate server whether to allow users to connect. -IAuth { - pass = "ircd-iauth"; - host = "127.0.0.1"; - port = 7700; - connectfreq = 30; - timeout = 60; -}; +# Uncomment this ONLY if you have an iauthd set up. +# IAuth { +# pass = "ircd-iauth"; +# host = "127.0.0.1"; +# port = 7700; +# connectfreq = 30; +# timeout = 60; +# }; # [features] # IRC servers have a large number of options and features. Most of these diff --git a/ircd/m_burst.c b/ircd/m_burst.c index f82de0e..482ed65 100644 --- a/ircd/m_burst.c +++ b/ircd/m_burst.c @@ -478,7 +478,7 @@ int ms_burst(struct Client *cptr, struct Client *sptr, int parc, char *parv[]) current_mode = (current_mode & ~CHFL_DELAYED) | CHFL_VOICE; oplevel = -1; /* subsequent digits are an absolute op-level value. */ } - else if (isdigit(*ptr)) { + else if (IsDigit(*ptr)) { int level_increment = 0; if (oplevel == -1) { /* op-level is absolute value? */ if (current_mode_needs_reset) { @@ -490,7 +490,7 @@ int ms_burst(struct Client *cptr, struct Client *sptr, int parc, char *parv[]) current_mode = (current_mode & ~(CHFL_DEOPPED | CHFL_DELAYED)) | CHFL_CHANOP; do { level_increment = 10 * level_increment + *ptr++ - '0'; - } while(isdigit(*ptr)); + } while (IsDigit(*ptr)); oplevel += level_increment; } else /* I don't recognize that flag */ -- 2.20.1