Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2006-01-12 03:03:00 UTC

Modified files:
  Tag: u2_10_12_branch
     ChangeLog doc/Makefile.in doc/example.conf ircd/m_burst.c

Log message:

Minor Solaris build tweaks: VPATH, example.conf, warning.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.710.2.61 ircu2.10/ChangeLog:1.710.2.62
--- ircu2.10/ChangeLog:1.710.2.61       Mon Jan  9 18:06:36 2006
+++ ircu2.10/ChangeLog  Wed Jan 11 19:02:50 2006
@@ -1,3 +1,12 @@
+2006-01-11  Michael Poole <[EMAIL PROTECTED]>
+
+       * 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 <[EMAIL PROTECTED]>
 
        * ircd/s_user.c (register_user): Do not send +r flag to user when
Index: ircu2.10/doc/Makefile.in
diff -u ircu2.10/doc/Makefile.in:1.3 ircu2.10/doc/Makefile.in:1.3.20.1
--- ircu2.10/doc/Makefile.in:1.3        Thu Jun 28 19:47:25 2001
+++ ircu2.10/doc/Makefile.in    Wed Jan 11 19:02:50 2006
@@ -45,7 +45,8 @@
 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
Index: ircu2.10/doc/example.conf
diff -u ircu2.10/doc/example.conf:1.61.2.4 ircu2.10/doc/example.conf:1.61.2.5
--- ircu2.10/doc/example.conf:1.61.2.4  Tue Dec 13 15:12:41 2005
+++ ircu2.10/doc/example.conf   Wed Jan 11 19:02:50 2006
@@ -723,13 +723,14 @@
 };
 
 # 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
Index: ircu2.10/ircd/m_burst.c
diff -u ircu2.10/ircd/m_burst.c:1.40.2.1 ircu2.10/ircd/m_burst.c:1.40.2.2
--- ircu2.10/ircd/m_burst.c:1.40.2.1    Mon Oct 31 15:16:56 2005
+++ ircu2.10/ircd/m_burst.c     Wed Jan 11 19:02:50 2006
@@ -20,7 +20,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: m_burst.c,v 1.40.2.1 2005/10/31 23:16:56 entrope Exp $
+ * $Id: m_burst.c,v 1.40.2.2 2006/01/12 03:02:50 entrope Exp $
  */
 
 /*
@@ -478,7 +478,7 @@
                  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 @@
                  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 */
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to