CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_11_03
Commit time: 2002-12-11 19:55:22 UTC
Modified files:
Tag: u2_10_11_03
ChangeLog include/ircd_alloc.h tools/linesync/linesync.sh
Log message:
Author: Isomer <[EMAIL PROTECTED]>
Log message:
* Update linesync to the latest version
* Disable the frobulator by default, it has alignment issues on non-intel
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.290.2.125.2.29 ircu2.10/ChangeLog:1.290.2.125.2.30
--- ircu2.10/ChangeLog:1.290.2.125.2.29 Tue Dec 10 23:03:32 2002
+++ ircu2.10/ChangeLog Wed Dec 11 11:55:11 2002
@@ -1,4 +1,10 @@
-2002-12-03 Isomer <[EMAIL PROTECTED]>
+2002-12-11 Isomer <[EMAIL PROTECTED]>
+ * tools/linesync.sh: Update
+
+ * include/ircd_alloc.h: Disable the frobulator by default, it has
+ alignment issues on non intel.
+
+2002-12-10 Isomer <[EMAIL PROTECTED]>
* RELEASE.NOTES: Note problem we've seen on larger FBSD boxen
* ircd/s_user.c: Don't set +x on connect, since other servers ignore
Index: ircu2.10/include/ircd_alloc.h
diff -u ircu2.10/include/ircd_alloc.h:1.1.46.1.8.2
ircu2.10/include/ircd_alloc.h:1.1.46.1.8.3
--- ircu2.10/include/ircd_alloc.h:1.1.46.1.8.2 Mon Nov 25 03:03:21 2002
+++ ircu2.10/include/ircd_alloc.h Wed Dec 11 11:55:11 2002
@@ -19,13 +19,13 @@
*
* Commentary by Bleep (Thomas Helvey)
*
- * $Id: ircd_alloc.h,v 1.1.46.1.8.2 2002/11/25 11:03:21 isomer Exp $
+ * $Id: ircd_alloc.h,v 1.1.46.1.8.3 2002/12/11 19:55:11 isomer Exp $
*/
#ifndef INCLUDED_ircd_alloc_h
#define INCLUDED_ircd_alloc_h
-#define FROBONMALLOC
-#define FROBONFREE
+#undef FROBONMALLOC
+#undef FROBONFREE
/*
* memory resource allocation and test functions
Index: ircu2.10/tools/linesync/linesync.sh
diff -u ircu2.10/tools/linesync/linesync.sh:1.1.2.2
ircu2.10/tools/linesync/linesync.sh:1.1.2.2.6.1
--- ircu2.10/tools/linesync/linesync.sh:1.1.2.2 Mon Sep 2 08:29:36 2002
+++ ircu2.10/tools/linesync/linesync.sh Wed Dec 11 11:55:12 2002
@@ -155,7 +155,7 @@
}
dup_line=0
for (i=0; i<tlines; i++) {
- if ($0==template[i]) { dup_line++; break }
+ if (tolower($0)==tolower(template[i])) { dup_line++; break }
}
if (!dup_line) print $0
} ' tempfile=$TMPFILE < $cpath > $inpath
@@ -188,13 +188,13 @@
$0=="# BEGIN LINESYNC" { chop++; print $0; next }
$0=="# END LINESYNC" {
command="cat " syncfile
- #while ((command | getline avar) > 0) { print avar }
+ while ((command | getline avar) > 0) { print avar }
close(command)
chop--
}
{ if (!chop) print $0 }
' syncfile=$TMPFILE < $inpath > $tmp_path/linesync.new.$TS
-exit
+
# Back up the current ircd.conf and replace it with the new one
cp $cpath $dpath/ircd.conf.bk
cp $tmp_path/linesync.new.$TS $cpath
----------------------- End of diff -----------------------