[cvslog] (2003-12-01 03:19:47 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Sun Nov 30 21:19:47 CST 2003


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2003-12-01 03:19:47 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     aclocal.m4 configure doc/UPDATES1.6 misc/config.guess src/patch.h

Log message:

* Changed head -1 to head -n 1. Patch by guppy. Found by ali3n.

---------------------- diff included ----------------------
Index: eggdrop1.6/aclocal.m4
diff -u eggdrop1.6/aclocal.m4:1.72 eggdrop1.6/aclocal.m4:1.73
--- eggdrop1.6/aclocal.m4:1.72	Sat Nov  1 17:26:56 2003
+++ eggdrop1.6/aclocal.m4	Sun Nov 30 21:19:37 2003
@@ -1,7 +1,7 @@
 dnl aclocal.m4
 dnl   macros autoconf uses when building configure from configure.in
 dnl
-dnl $Id: aclocal.m4,v 1.72 2003/11/01 23:26:56 wcc Exp $
+dnl $Id: aclocal.m4,v 1.73 2003/12/01 03:19:37 wcc Exp $
 dnl
 
 
@@ -889,7 +889,7 @@
   fi
   AC_MSG_CHECKING(for Tcl version)
   AC_CACHE_VAL(egg_cv_var_tcl_version, [dnl
-    egg_cv_var_tcl_version=`grep TCL_VERSION $TCLINC/$TCLINCFN | head -1 | $AWK '{gsub(/\"/, "", [$]3); print [$]3}'`
+    egg_cv_var_tcl_version=`grep TCL_VERSION $TCLINC/$TCLINCFN | head -n 1 | $AWK '{gsub(/\"/, "", [$]3); print [$]3}'`
   ])
 
   if test ! "${egg_cv_var_tcl_version-x}" = "x"
@@ -907,7 +907,7 @@
   fi
   AC_MSG_CHECKING(for Tcl patch level)
   AC_CACHE_VAL(egg_cv_var_tcl_patch_level, [dnl
-    eval "egg_cv_var_tcl_patch_level=`grep TCL_PATCH_LEVEL $TCLINC/$TCLINCFN | head -1 | $AWK '{gsub(/\"/, "", [$]3); print [$]3}'`"
+    eval "egg_cv_var_tcl_patch_level=`grep TCL_PATCH_LEVEL $TCLINC/$TCLINCFN | head -n 1 | $AWK '{gsub(/\"/, "", [$]3); print [$]3}'`"
   ])
 
   if test ! "${egg_cv_var_tcl_patch_level-x}" = "x"
Index: eggdrop1.6/configure
diff -u eggdrop1.6/configure:1.99 eggdrop1.6/configure:1.100
--- eggdrop1.6/configure:1.99	Sat Nov  1 17:26:56 2003
+++ eggdrop1.6/configure	Sun Nov 30 21:19:37 2003
@@ -6680,7 +6680,7 @@
   if test "${egg_cv_var_tcl_version+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-      egg_cv_var_tcl_version=`grep TCL_VERSION $TCLINC/$TCLINCFN | head -1 | $AWK '{gsub(/\"/, "", $3); print $3}'`
+      egg_cv_var_tcl_version=`grep TCL_VERSION $TCLINC/$TCLINCFN | head -n 1 | $AWK '{gsub(/\"/, "", $3); print $3}'`
 
 fi
 
@@ -6706,7 +6706,7 @@
   if test "${egg_cv_var_tcl_patch_level+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-      eval "egg_cv_var_tcl_patch_level=`grep TCL_PATCH_LEVEL $TCLINC/$TCLINCFN | head -1 | $AWK '{gsub(/\"/, "", $3); print $3}'`"
+      eval "egg_cv_var_tcl_patch_level=`grep TCL_PATCH_LEVEL $TCLINC/$TCLINCFN | head -n 1 | $AWK '{gsub(/\"/, "", $3); print $3}'`"
 
 fi
 
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.519 eggdrop1.6/doc/UPDATES1.6:1.520
--- eggdrop1.6/doc/UPDATES1.6:1.519	Sun Nov 30 21:02:59 2003
+++ eggdrop1.6/doc/UPDATES1.6	Sun Nov 30 21:19:37 2003
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.519 2003/12/01 03:02:59 wcc Exp $
+$Id: UPDATES1.6,v 1.520 2003/12/01 03:19:37 wcc Exp $
 
 Changes in Eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.16
 Found by     Fixed by  What...
+ali3n        guppy     changed head -1 to head -n 1
              BarkerJr/ don't rejoin +inactive channels when kicked from them.
              Eule      This can be caused by bot-server connection lag or full 
                        queues.
Index: eggdrop1.6/misc/config.guess
diff -u eggdrop1.6/misc/config.guess:1.1 eggdrop1.6/misc/config.guess:1.2
--- eggdrop1.6/misc/config.guess:1.1	Thu Nov 29 19:34:24 2001
+++ eggdrop1.6/misc/config.guess	Sun Nov 30 21:19:37 2003
@@ -339,7 +339,7 @@
 	echo m68k-sun-sunos${UNAME_RELEASE}
 	exit 0 ;;
     sun*:*:4.2BSD:*)
-	UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
+	UNAME_RELEASE=`(head -n 1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
 	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
 	case "`/bin/arch`" in
 	    sun3)
@@ -508,7 +508,7 @@
 	fi
 	exit 0 ;;
     *:AIX:*:[45])
-	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
+	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -n 1 | awk '{ print $1 }'`
 	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
 		IBM_ARCH=rs6000
 	else
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1021 eggdrop1.6/src/patch.h:1.1022
--- eggdrop1.6/src/patch.h:1.1021	Sun Nov 30 20:54:17 2003
+++ eggdrop1.6/src/patch.h	Sun Nov 30 21:19:37 2003
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1021 2003/12/01 02:54:17 wcc Exp $
+ * $Id: patch.h,v 1.1022 2003/12/01 03:19:37 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1070247186");            /* current unixtime */
+patch("1070248606");            /* current unixtime */
 /*
  *
  *
  */
-patch("inactive-kick");
+patch("head");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list