[cvslog] Module eggdrop-devel: Change committed

cvslog cvs at tsss.iavalley.cc.ia.us
Tue Sep 12 22:01:00 CST 2000


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop-devel
Commit time: 2000-08-12 15:27:05 UTC

Modified files:
     config.h.in configure configure.in doc/UPDATES1.5 src/Makefile.in
     src/cmds.c src/main.h src/misc.c src/patch.h src/tclmisc.c
     src/users.c src/compat/Makefile.in src/compat/compat.h
     src/compat/inet_aton.h src/compat/memcpy.h src/compat/memset.h
     src/compat/snprintf.h src/compat/strcasecmp.h src/md5/Makefile.in
     src/mod/assoc.mod/Makefile src/mod/blowfish.mod/Makefile
     src/mod/channels.mod/Makefile src/mod/compress.mod/Makefile.in
     src/mod/console.mod/Makefile src/mod/ctcp.mod/Makefile
     src/mod/dns.mod/Makefile.in src/mod/filesys.mod/Makefile
     src/mod/filesys.mod/filedb3.c src/mod/irc.mod/Makefile
     src/mod/irc.mod/cmdsirc.c src/mod/irc.mod/irc.c
     src/mod/irc.mod/msgcmds.c src/mod/notes.mod/Makefile
     src/mod/notes.mod/notes.c src/mod/seen.mod/Makefile
     src/mod/server.mod/Makefile src/mod/share.mod/Makefile
     src/mod/transfer.mod/Makefile src/mod/wire.mod/Makefile

Log message:

fabian: strftime_compat patch

---------------------- diff included ----------------------
Index: eggdrop-devel/config.h.in
diff -u eggdrop-devel/config.h.in:1.14 eggdrop-devel/config.h.in:1.15
--- eggdrop-devel/config.h.in:1.14	Sun Aug  6 09:51:38 2000
+++ eggdrop-devel/config.h.in	Tue Sep 12 10:26:50 2000
@@ -9,6 +9,9 @@
 #undef _ALL_SOURCE
 #endif
 
+/* Define to empty if the keyword does not work.  */
+#undef const
+
 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
 #undef HAVE_SYS_WAIT_H
 
@@ -83,18 +86,12 @@
 /* Defines extension of eggdrop modules  */
 #undef EGG_MOD_EXT
 
-/* The number of bytes in a char.  */
-#undef SIZEOF_CHAR
-
 /* The number of bytes in a int.  */
 #undef SIZEOF_INT
 
 /* The number of bytes in a long.  */
 #undef SIZEOF_LONG
 
-/* The number of bytes in a short int.  */
-#undef SIZEOF_SHORT_INT
-
 /* Define if you have the clock function.  */
 #undef HAVE_CLOCK
 
@@ -146,6 +143,9 @@
 /* Define if you have the strcasecmp function.  */
 #undef HAVE_STRCASECMP
 
+/* Define if you have the strftime function.  */
+#undef HAVE_STRFTIME
+
 /* Define if you have the strncasecmp function.  */
 #undef HAVE_STRNCASECMP
 
@@ -164,11 +164,11 @@
 /* Define if you have the <dlfcn.h> header file.  */
 #undef HAVE_DLFCN_H
 
+/* Define if you have the <limits.h> header file.  */
+#undef HAVE_LIMITS_H
+
 /* Define if you have the <ndir.h> header file.  */
 #undef HAVE_NDIR_H
-
-/* Define if you have the <std_args.h> header file.  */
-#undef HAVE_STD_ARGS_H
 
 /* Define if you have the <stdarg.h> header file.  */
 #undef HAVE_STDARG_H
Index: eggdrop-devel/configure
diff -u eggdrop-devel/configure:1.43 eggdrop-devel/configure:1.44
--- eggdrop-devel/configure:1.43	Tue Sep  5 10:58:40 2000
+++ eggdrop-devel/configure	Tue Sep 12 10:26:50 2000
@@ -2370,15 +2370,90 @@
 
 fi
 
+echo $ac_n "checking for working const""... $ac_c" 1>&6
+echo "configure:2375: checking for working const" >&5
+if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.$ac_ext <<EOF
+#line 2380 "configure"
+#include "confdefs.h"
+
+int main() {
+
+/* Ultrix mips cc rejects this.  */
+typedef int charset[2]; const charset x = {0,0};
+/* SunOS 4.1.1 cc rejects this.  */
+char const *const *ccp;
+char **p;
+/* NEC SVR4.0.2 mips cc rejects this.  */
+struct point {int x, y;};
+static struct point const zero = {0,0};
+/* AIX XL C 1.02.0.0 rejects this.
+   It does not let you subtract one const X* pointer from another in an arm
+   of an if-expression whose if-part is not a constant expression */
+const char *g = "string";
+ccp = &g + (g ? g-g : 0);
+/* HPUX 7.0 cc rejects these. */
+++ccp;
+p = (char**) ccp;
+ccp = (char const *const *) p;
+{ /* SCO 3.2v4 cc rejects this.  */
+  char *t;
+  char const *s = 0 ? (char *) 0 : (char const *) 0;
+
+  *t++ = 0;
+}
+{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
+  int x[] = {25, 17};
+  const int *foo = &x[0];
+  ++foo;
+}
+{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
+  typedef const int *iptr;
+  iptr p = 0;
+  ++p;
+}
+{ /* AIX XL C 1.02.0.0 rejects this saying
+     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
+  struct s { int j; const int *ap[3]; };
+  struct s *b; b->j = 5;
+}
+{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
+  const int foo = 10;
+}
+
+; return 0; }
+EOF
+if { (eval echo configure:2429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+  rm -rf conftest*
+  ac_cv_c_const=yes
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  ac_cv_c_const=no
+fi
+rm -f conftest*
+fi
+
+echo "$ac_t""$ac_cv_c_const" 1>&6
+if test $ac_cv_c_const = no; then
+  cat >> confdefs.h <<\EOF
+#define const 
+EOF
+
+fi
+
 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
-echo "configure:2375: checking whether byte ordering is bigendian" >&5
+echo "configure:2450: checking whether byte ordering is bigendian" >&5
 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_cv_c_bigendian=unknown
 # See if sys/param.h defines the BYTE_ORDER macro.
 cat > conftest.$ac_ext <<EOF
-#line 2382 "configure"
+#line 2457 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <sys/param.h>
@@ -2389,11 +2464,11 @@
 #endif
 ; return 0; }
 EOF
-if { (eval echo configure:2393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   # It does; now see whether it defined to BIG_ENDIAN or not.
 cat > conftest.$ac_ext <<EOF
-#line 2397 "configure"
+#line 2472 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <sys/param.h>
@@ -2404,7 +2479,7 @@
 #endif
 ; return 0; }
 EOF
-if { (eval echo configure:2408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_c_bigendian=yes
 else
@@ -2424,7 +2499,7 @@
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 2428 "configure"
+#line 2503 "configure"
 #include "confdefs.h"
 main () {
   /* Are we little or big endian?  From Harbison&Steele.  */
@@ -2437,7 +2512,7 @@
   exit (u.c[sizeof (long) - 1] == 1);
 }
 EOF
-if { (eval echo configure:2441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_c_bigendian=no
 else
@@ -2461,21 +2536,21 @@
 fi
 
 echo $ac_n "checking for inline""... $ac_c" 1>&6
-echo "configure:2465: checking for inline" >&5
+echo "configure:2540: checking for inline" >&5
 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_cv_c_inline=no
 for ac_kw in inline __inline__ __inline; do
   cat > conftest.$ac_ext <<EOF
-#line 2472 "configure"
+#line 2547 "configure"
 #include "confdefs.h"
 
 int main() {
 } int $ac_kw foo() {
 ; return 0; }
 EOF
-if { (eval echo configure:2479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_c_inline=$ac_kw; break
 else
@@ -2501,7 +2576,7 @@
 esac
 
 echo $ac_n "checking size of long""... $ac_c" 1>&6
-echo "configure:2505: checking size of long" >&5
+echo "configure:2580: checking size of long" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -2509,7 +2584,7 @@
   ac_cv_sizeof_long=0
 else
   cat > conftest.$ac_ext <<EOF
-#line 2513 "configure"
+#line 2588 "configure"
 #include "confdefs.h"
 #include <stdio.h>
 main()
@@ -2520,7 +2595,7 @@
   exit(0);
 }
 EOF
-if { (eval echo configure:2524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_long=`cat conftestval`
 else
@@ -2540,7 +2615,7 @@
 
 
 echo $ac_n "checking size of int""... $ac_c" 1>&6
-echo "configure:2544: checking size of int" >&5
+echo "configure:2619: checking size of int" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -2548,7 +2623,7 @@
   ac_cv_sizeof_int=0
 else
   cat > conftest.$ac_ext <<EOF
-#line 2552 "configure"
+#line 2627 "configure"
 #include "confdefs.h"
 #include <stdio.h>
 main()
@@ -2559,7 +2634,7 @@
   exit(0);
 }
 EOF
-if { (eval echo configure:2563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_int=`cat conftestval`
 else
@@ -2578,95 +2653,17 @@
 EOF
 
 
-echo $ac_n "checking size of char""... $ac_c" 1>&6
-echo "configure:2583: checking size of char" >&5
-if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  if test "$cross_compiling" = yes; then
-  ac_cv_sizeof_char=0
-else
-  cat > conftest.$ac_ext <<EOF
-#line 2591 "configure"
-#include "confdefs.h"
-#include <stdio.h>
-main()
-{
-  FILE *f=fopen("conftestval", "w");
-  if (!f) exit(1);
-  fprintf(f, "%d\n", sizeof(char));
-  exit(0);
-}
-EOF
-if { (eval echo configure:2602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
-  ac_cv_sizeof_char=`cat conftestval`
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -fr conftest*
-  ac_cv_sizeof_char=0
-fi
-rm -fr conftest*
-fi
-
-fi
-echo "$ac_t""$ac_cv_sizeof_char" 1>&6
-cat >> confdefs.h <<EOF
-#define SIZEOF_CHAR $ac_cv_sizeof_char
-EOF
-
-
-echo $ac_n "checking size of short int""... $ac_c" 1>&6
-echo "configure:2622: checking size of short int" >&5
-if eval "test \"`echo '$''{'ac_cv_sizeof_short_int'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  if test "$cross_compiling" = yes; then
-  ac_cv_sizeof_short_int=0
-else
-  cat > conftest.$ac_ext <<EOF
-#line 2630 "configure"
-#include "confdefs.h"
-#include <stdio.h>
-main()
-{
-  FILE *f=fopen("conftestval", "w");
-  if (!f) exit(1);
-  fprintf(f, "%d\n", sizeof(short int));
-  exit(0);
-}
-EOF
-if { (eval echo configure:2641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
-  ac_cv_sizeof_short_int=`cat conftestval`
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -fr conftest*
-  ac_cv_sizeof_short_int=0
-fi
-rm -fr conftest*
-fi
-
-fi
-echo "$ac_t""$ac_cv_sizeof_short_int" 1>&6
-cat >> confdefs.h <<EOF
-#define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
-EOF
-
-
 
 # Checks for library functions
-for ac_func in clock getrusage setpgid uname sigaction sigemptyset rename strcasecmp strncasecmp getdtablesize memset random srandom dlopen dprintf snprintf vsnprintf isascii inet_aton memcpy
+for ac_func in clock getrusage setpgid uname sigaction sigemptyset rename strcasecmp strncasecmp getdtablesize memset random srandom dlopen dprintf snprintf vsnprintf isascii inet_aton memcpy strftime
 do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:2665: checking for $ac_func" >&5
+echo "configure:2662: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 2670 "configure"
+#line 2667 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */
@@ -2689,7 +2686,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:2693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"
 else
@@ -2716,12 +2713,12 @@
 for ac_func in vsprintf
 do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:2720: checking for $ac_func" >&5
+echo "configure:2717: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 2725 "configure"
+#line 2722 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */
@@ -2744,7 +2741,7 @@
 
 ; return 0; }
 EOF
-if { (eval echo configure:2748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"
 else
@@ -2797,12 +2794,12 @@
 
 # Checks for cygwin
 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
-echo "configure:2801: checking for Cygwin environment" >&5
+echo "configure:2798: checking for Cygwin environment" >&5
 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 2806 "configure"
+#line 2803 "configure"
 #include "confdefs.h"
 
 int main() {
@@ -2813,7 +2810,7 @@
 return __CYGWIN__;
 ; return 0; }
 EOF
-if { (eval echo configure:2817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_cygwin=yes
 else
@@ -2837,19 +2834,19 @@
 fi
 
 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
-echo "configure:2841: checking for mingw32 environment" >&5
+echo "configure:2838: checking for mingw32 environment" >&5
 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 2846 "configure"
+#line 2843 "configure"
 #include "confdefs.h"
 
 int main() {
 return __MINGW32__;
 ; return 0; }
 EOF
-if { (eval echo configure:2853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_mingw32=yes
 else
@@ -2869,7 +2866,7 @@
 
 
 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
-echo "configure:2873: checking for executable suffix" >&5
+echo "configure:2870: checking for executable suffix" >&5
 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -2879,7 +2876,7 @@
   rm -f conftest*
   echo 'int main () { return 0; }' > conftest.$ac_ext
   ac_cv_exeext=
-  if { (eval echo configure:2883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+  if { (eval echo configure:2880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     for file in conftest.*; do
       case $file in
       *.c | *.o | *.obj) ;;
@@ -3138,7 +3135,7 @@
 fi
 
 echo $ac_n "checking for Tcl library""... $ac_c" 1>&6
-echo "configure:3142: checking for Tcl library" >&5
+echo "configure:3139: checking for Tcl library" >&5
 
 # Attempt autodetect for $TCLLIBFN if it's not set
 if test ! "x${TCLLIBFN}" = "x"
@@ -3172,7 +3169,7 @@
 fi
 
 echo $ac_n "checking for Tcl header""... $ac_c" 1>&6
-echo "configure:3176: checking for Tcl header" >&5
+echo "configure:3173: checking for Tcl header" >&5
 
 # Attempt autodetect for $TCLINCFN if it's not set
 if test ! "x${TCLINCFN}" = "x"
@@ -3228,7 +3225,7 @@
 
   # Check Tcl's version
   echo $ac_n "checking for Tcl version""... $ac_c" 1>&6
-echo "configure:3232: checking for Tcl version" >&5
+echo "configure:3229: checking for Tcl version" >&5
   if eval "test \"`echo '$''{'egg_cv_var_tcl_version'+set}'`\" = set"
   then
     echo $ac_n "(cached) $ac_c" 1>&6
@@ -3246,7 +3243,7 @@
 
   # Check Tcl's patch level (if avaliable)
   echo $ac_n "checking for Tcl patch level""... $ac_c" 1>&6
-echo "configure:3250: checking for Tcl patch level" >&5
+echo "configure:3247: checking for Tcl patch level" >&5
   if eval "test \"`echo '$''{'egg_cv_var_tcl_patch_level'+set}'`\" = set"
   then
     echo $ac_n "(cached) $ac_c" 1>&6
@@ -3328,7 +3325,7 @@
 
 # Check for Tcl_Free()
 echo $ac_n "checking if Tcl library has Tcl_Free""... $ac_c" 1>&6
-echo "configure:3332: checking if Tcl library has Tcl_Free" >&5
+echo "configure:3329: checking if Tcl library has Tcl_Free" >&5
 if eval "test \"`echo '$''{'egg_cv_var_tcl_free'+set}'`\" = set"
 then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3370,7 +3367,7 @@
 
 # Check for TclpFinalizeThreadData()
 echo $ac_n "checking if Tcl library is multithreaded""... $ac_c" 1>&6
-echo "configure:3374: checking if Tcl library is multithreaded" >&5
+echo "configure:3371: checking if Tcl library is multithreaded" >&5
 if eval "test \"`echo '$''{'egg_cv_var_tcl_multithreaded'+set}'`\" = set"
 then
   echo $ac_n "(cached) $ac_c" 1>&6
Index: eggdrop-devel/configure.in
diff -u eggdrop-devel/configure.in:1.32 eggdrop-devel/configure.in:1.33
--- eggdrop-devel/configure.in:1.32	Sat Sep  9 06:39:08 2000
+++ eggdrop-devel/configure.in	Tue Sep 12 10:26:50 2000
@@ -37,18 +37,19 @@
 AC_HEADER_SYS_WAIT
 AC_CHECK_HEADERS(sys/time.h)
 AC_HEADER_TIME
-AC_CHECK_HEADERS(sys/select.h sys/rusage.h unistd.h dlfcn.h stdarg.h strings.h)
+AC_CHECK_HEADERS(sys/select.h sys/rusage.h unistd.h dlfcn.h stdarg.h strings.h limits.h)
 
 # Checks for typedefs, structures, and compiler characteristics
 AC_TYPE_PID_T
 AC_TYPE_SIZE_T
+AC_C_CONST
 AC_C_BIGENDIAN
 AC_C_INLINE
 AC_CHECK_SIZEOF(long, 0)
 AC_CHECK_SIZEOF(int, 0)
 
 # Checks for library functions
-AC_CHECK_FUNCS(clock getrusage setpgid uname sigaction sigemptyset rename strcasecmp strncasecmp getdtablesize memset random srandom dlopen dprintf snprintf vsnprintf isascii inet_aton memcpy)
+AC_CHECK_FUNCS(clock getrusage setpgid uname sigaction sigemptyset rename strcasecmp strncasecmp getdtablesize memset random srandom dlopen dprintf snprintf vsnprintf isascii inet_aton memcpy strftime)
 EGG_CHECK_FUNC_VSPRINTF
 
 # Make sure we have stdc headers, since we can't compile without them
Index: eggdrop-devel/doc/UPDATES1.5
diff -u eggdrop-devel/doc/UPDATES1.5:1.231 eggdrop-devel/doc/UPDATES1.5:1.232
--- eggdrop-devel/doc/UPDATES1.5:1.231	Tue Sep 12 10:25:39 2000
+++ eggdrop-devel/doc/UPDATES1.5	Tue Sep 12 10:26:50 2000
@@ -5,6 +5,7 @@
 
 1.5.5
 Foundby   Fixedby   What....
+          Fabian    Added strftime compability function.
           Eule      Re-added bell character to note message. This can be
                       filtered out with the `.strip +g' command.
           Koach     We now send PASS before sending NICK or USER.
Index: eggdrop-devel/src/Makefile.in
diff -u eggdrop-devel/src/Makefile.in:1.12 eggdrop-devel/src/Makefile.in:1.13
--- eggdrop-devel/src/Makefile.in:1.12	Sat Sep  9 06:39:09 2000
+++ eggdrop-devel/src/Makefile.in	Tue Sep 12 10:26:50 2000
@@ -1,5 +1,5 @@
 # Makefile for src/
-# $Id: Makefile.in,v 1.12 2000/09/09 11:39:09 fabian Exp $
+# $Id: Makefile.in,v 1.13 2000/09/12 15:26:50 fabian Exp $
 
 SHELL = @SHELL@
 top_srcdir = @top_srcdir@
@@ -85,111 +85,126 @@
 	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
 
 #safety hash
-botcmd.o: ./botcmd.c main.h lang.h eggdrop.h flags.h proto.h ../lush.h \
- misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
- compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
- compat/memcpy.h compat/strcasecmp.h tandem.h modules.h mod/modvals.h
-botmsg.o: ./botmsg.c main.h lang.h eggdrop.h flags.h proto.h ../lush.h \
- misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
- compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
- compat/memcpy.h compat/strcasecmp.h tandem.h
-botnet.o: ./botnet.c main.h lang.h eggdrop.h flags.h proto.h ../lush.h \
- misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
- compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
- compat/memcpy.h compat/strcasecmp.h tandem.h
-chanprog.o: ./chanprog.c main.h lang.h eggdrop.h flags.h proto.h \
+botcmd.o: ./botcmd.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h tandem.h modules.h mod/modvals.h
+botmsg.o: ./botmsg.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h tandem.h
+botnet.o: ./botnet.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h tandem.h
+chanprog.o: ./chanprog.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h modules.h mod/modvals.h
+cmds.o: ./cmds.c main.h ../config.h lang.h eggdrop.h flags.h proto.h \
+ ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
+ compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
+ compat/memset.h compat/memcpy.h compat/strcasecmp.h compat/strftime.h \
+ tandem.h modules.h mod/modvals.h
+dcc.o: ./dcc.c main.h ../config.h lang.h eggdrop.h flags.h proto.h \
+ ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
+ compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
+ compat/memset.h compat/memcpy.h compat/strcasecmp.h compat/strftime.h \
+ modules.h mod/modvals.h tandem.h md5/md5.h
+dccutil.o: ./dccutil.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h modules.h mod/modvals.h tandem.h
+dns.o: ./dns.c main.h ../config.h lang.h eggdrop.h flags.h proto.h \
+ ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
+ compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
+ compat/memset.h compat/memcpy.h compat/strcasecmp.h compat/strftime.h \
+ dns.h
+flags.o: ./flags.c main.h ../config.h lang.h eggdrop.h flags.h proto.h \
+ ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
+ compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
+ compat/memset.h compat/memcpy.h compat/strcasecmp.h compat/strftime.h
+language.o: ./language.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h
+main.o: ./main.c main.h ../config.h lang.h eggdrop.h flags.h proto.h \
  ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
  compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
- compat/memset.h compat/memcpy.h compat/strcasecmp.h modules.h \
- mod/modvals.h
-cmds.o: ./cmds.c main.h lang.h eggdrop.h flags.h proto.h ../lush.h \
- misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
- compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
- compat/memcpy.h compat/strcasecmp.h tandem.h modules.h mod/modvals.h
-dcc.o: ./dcc.c main.h lang.h eggdrop.h flags.h proto.h ../lush.h \
- misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
- compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
- compat/memcpy.h compat/strcasecmp.h modules.h mod/modvals.h tandem.h \
- md5/md5.h
-dccutil.o: ./dccutil.c main.h lang.h eggdrop.h flags.h proto.h \
- ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
- compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
- compat/memset.h compat/memcpy.h compat/strcasecmp.h modules.h \
- mod/modvals.h tandem.h
-dns.o: ./dns.c main.h lang.h eggdrop.h flags.h proto.h ../lush.h \
- misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
- compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
- compat/memcpy.h compat/strcasecmp.h dns.h
-flags.o: ./flags.c main.h lang.h eggdrop.h flags.h proto.h ../lush.h \
- misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
- compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
- compat/memcpy.h compat/strcasecmp.h
-language.o: ./language.c main.h lang.h eggdrop.h flags.h proto.h \
- ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
- compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
- compat/memset.h compat/memcpy.h compat/strcasecmp.h
-main.o: ./main.c main.h lang.h eggdrop.h flags.h proto.h ../lush.h \
- misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
- compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
- compat/memcpy.h compat/strcasecmp.h modules.h mod/modvals.h tandem.h \
- patch.h
+ compat/memset.h compat/memcpy.h compat/strcasecmp.h compat/strftime.h \
+ modules.h mod/modvals.h tandem.h patch.h
 match.o: ./match.c
-mem.o: ./mem.c main.h lang.h eggdrop.h flags.h proto.h ../lush.h \
- misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
- compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
- compat/memcpy.h compat/strcasecmp.h mod/modvals.h
-misc.o: ./misc.c main.h lang.h eggdrop.h flags.h proto.h ../lush.h \
- misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
- compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
- compat/memcpy.h compat/strcasecmp.h stat.h
-misc_file.o: ./misc_file.c main.h lang.h eggdrop.h flags.h proto.h \
- ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
- compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
- compat/memset.h compat/memcpy.h compat/strcasecmp.h stat.h
-modules.o: ./modules.c main.h lang.h eggdrop.h flags.h proto.h \
- ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
- compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
- compat/memset.h compat/memcpy.h compat/strcasecmp.h modules.h \
- mod/modvals.h tandem.h
-net.o: ./net.c main.h lang.h eggdrop.h flags.h proto.h ../lush.h \
- misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
- compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
- compat/memcpy.h compat/strcasecmp.h
-rfc1459.o: ./rfc1459.c main.h lang.h eggdrop.h flags.h proto.h \
- ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
- compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
- compat/memset.h compat/memcpy.h compat/strcasecmp.h
-tcl.o: ./tcl.c main.h lang.h eggdrop.h flags.h proto.h ../lush.h \
- misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
- compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
- compat/memcpy.h compat/strcasecmp.h
-tcldcc.o: ./tcldcc.c main.h lang.h eggdrop.h flags.h proto.h ../lush.h \
- misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
- compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
- compat/memcpy.h compat/strcasecmp.h tandem.h modules.h mod/modvals.h
-tclhash.o: ./tclhash.c main.h lang.h eggdrop.h flags.h proto.h \
- ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
- compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
- compat/memset.h compat/memcpy.h compat/strcasecmp.h match.c
-tclmisc.o: ./tclmisc.c main.h lang.h eggdrop.h flags.h proto.h \
+mem.o: ./mem.c main.h ../config.h lang.h eggdrop.h flags.h proto.h \
  ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
  compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
- compat/memset.h compat/memcpy.h compat/strcasecmp.h modules.h \
- mod/modvals.h tandem.h md5/md5.h
-tcluser.o: ./tcluser.c main.h lang.h eggdrop.h flags.h proto.h \
- ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
- compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
- compat/memset.h compat/memcpy.h compat/strcasecmp.h tandem.h
-userent.o: ./userent.c main.h lang.h eggdrop.h flags.h proto.h \
+ compat/memset.h compat/memcpy.h compat/strcasecmp.h compat/strftime.h \
+ mod/modvals.h
+misc.o: ./misc.c main.h ../config.h lang.h eggdrop.h flags.h proto.h \
  ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
  compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
- compat/memset.h compat/memcpy.h compat/strcasecmp.h
-userrec.o: ./userrec.c main.h lang.h eggdrop.h flags.h proto.h \
+ compat/memset.h compat/memcpy.h compat/strcasecmp.h compat/strftime.h \
+ stat.h
+misc_file.o: ./misc_file.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h stat.h
+modules.o: ./modules.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h modules.h mod/modvals.h tandem.h
+net.o: ./net.c main.h ../config.h lang.h eggdrop.h flags.h proto.h \
+ ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
+ compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
+ compat/memset.h compat/memcpy.h compat/strcasecmp.h compat/strftime.h
+rfc1459.o: ./rfc1459.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h
+tcl.o: ./tcl.c main.h ../config.h lang.h eggdrop.h flags.h proto.h \
+ ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
+ compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
+ compat/memset.h compat/memcpy.h compat/strcasecmp.h compat/strftime.h
+tcldcc.o: ./tcldcc.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h tandem.h modules.h mod/modvals.h
+tclhash.o: ./tclhash.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h match.c
+tclmisc.o: ./tclmisc.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h modules.h mod/modvals.h tandem.h md5/md5.h
+tcluser.o: ./tcluser.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h tandem.h
+userent.o: ./userent.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h
+userrec.o: ./userrec.c main.h ../config.h lang.h eggdrop.h flags.h \
+ proto.h ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h \
+ users.h compat/compat.h compat/inet_aton.h ../src/main.h \
+ compat/snprintf.h compat/memset.h compat/memcpy.h compat/strcasecmp.h \
+ compat/strftime.h modules.h mod/modvals.h tandem.h
+users.o: ./users.c main.h ../config.h lang.h eggdrop.h flags.h proto.h \
  ../lush.h misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h \
  compat/compat.h compat/inet_aton.h ../src/main.h compat/snprintf.h \
- compat/memset.h compat/memcpy.h compat/strcasecmp.h modules.h \
- mod/modvals.h tandem.h
-users.o: ./users.c main.h lang.h eggdrop.h flags.h proto.h ../lush.h \
- misc_file.h cmdt.h tclegg.h tclhash.h chan.h users.h compat/compat.h \
- compat/inet_aton.h ../src/main.h compat/snprintf.h compat/memset.h \
- compat/memcpy.h compat/strcasecmp.h modules.h mod/modvals.h tandem.h
+ compat/memset.h compat/memcpy.h compat/strcasecmp.h compat/strftime.h \
+ modules.h mod/modvals.h tandem.h
Index: eggdrop-devel/src/cmds.c
diff -u eggdrop-devel/src/cmds.c:1.40 eggdrop-devel/src/cmds.c:1.41
--- eggdrop-devel/src/cmds.c:1.40	Sat Sep  2 13:48:41 2000
+++ eggdrop-devel/src/cmds.c	Tue Sep 12 10:26:50 2000
@@ -3,7 +3,7 @@
  *   commands from a user via dcc
  *   (split in 2, this portion contains no-irc commands)
  * 
- * $Id: cmds.c,v 1.40 2000/09/02 18:48:41 fabian Exp $
+ * $Id: cmds.c,v 1.41 2000/09/12 15:26:50 fabian Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -148,7 +148,7 @@
 	ok = 1;
 	dprintf(idx, "Bots connected:\n");
       }
-      strftime(s, 14, "%d %b %H:%M", localtime(&dcc[i].timeval));
+      egg_strftime(s, 14, "%d %b %H:%M", localtime(&dcc[i].timeval));
       spaces[len = HANDLEN - strlen(dcc[i].nick)] = 0;
       if (atr & USER_OWNER) {
 	dprintf(idx, "  [%.2lu]  %s%c%s%s (%s) %s\n",
Index: eggdrop-devel/src/compat/Makefile.in
diff -u eggdrop-devel/src/compat/Makefile.in:1.4 eggdrop-devel/src/compat/Makefile.in:1.5
--- eggdrop-devel/src/compat/Makefile.in:1.4	Sun Jul 23 15:47:13 2000
+++ eggdrop-devel/src/compat/Makefile.in	Tue Sep 12 10:26:51 2000
@@ -1,5 +1,5 @@
 # Makefile for src/compat/
-# $Id: Makefile.in,v 1.4 2000/07/23 20:47:13 fabian Exp $
+# $Id: Makefile.in,v 1.5 2000/09/12 15:26:51 fabian Exp $
 
 SHELL = @SHELL@
 top_srcdir = @top_srcdir@
@@ -18,7 +18,7 @@
 CFLAGS = @CFLAGS@ -I../.. -I$(top_srcdir) -I$(top_srcdir)/src @DEFS@ $(CFLGS)
 CPPFLAGS = @CPPFLAGS@
 
-OBJS = inet_aton.o snprintf.o memset.o memcpy.o strcasecmp.o
+OBJS = inet_aton.o snprintf.o memset.o memcpy.o strcasecmp.o strftime.o
 
 doofus:
 	@echo ""
@@ -41,38 +41,52 @@
 	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
 
 #safety hash
-inet_aton.o: ./inet_aton.c ../../src/main.h ../../src/lang.h \
+gnu_strftime.o: ./gnu_strftime.c
+inet_aton.o: ./inet_aton.c ../../src/main.h ../../config.h \
+ ../../src/lang.h ../../src/eggdrop.h ../../src/flags.h \
+ ../../src/proto.h ../../lush.h ../../src/misc_file.h ../../src/cmdt.h \
+ ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
+ ../../src/users.h ../../src/compat/compat.h \
+ ../../src/compat/inet_aton.h ../../src/compat/snprintf.h \
+ ../../src/compat/memset.h ../../src/compat/memcpy.h \
+ ../../src/compat/strcasecmp.h ../../src/compat/strftime.h inet_aton.h
+memcpy.o: ./memcpy.c ../../src/main.h ../../config.h ../../src/lang.h \
  ../../src/eggdrop.h ../../src/flags.h ../../src/proto.h ../../lush.h \
  ../../src/misc_file.h ../../src/cmdt.h ../../src/tclegg.h \
  ../../src/tclhash.h ../../src/chan.h ../../src/users.h \
  ../../src/compat/compat.h ../../src/compat/inet_aton.h \
  ../../src/compat/snprintf.h ../../src/compat/memset.h \
- ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h inet_aton.h
-memcpy.o: ./memcpy.c ../../src/main.h ../../src/lang.h \
+ ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h \
+ ../../src/compat/strftime.h memcpy.h
+memset.o: ./memset.c ../../src/main.h ../../config.h ../../src/lang.h \
  ../../src/eggdrop.h ../../src/flags.h ../../src/proto.h ../../lush.h \
  ../../src/misc_file.h ../../src/cmdt.h ../../src/tclegg.h \
  ../../src/tclhash.h ../../src/chan.h ../../src/users.h \
  ../../src/compat/compat.h ../../src/compat/inet_aton.h \
  ../../src/compat/snprintf.h ../../src/compat/memset.h \
- ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h memcpy.h
-memset.o: ./memset.c ../../src/main.h ../../src/lang.h \
- ../../src/eggdrop.h ../../src/flags.h ../../src/proto.h ../../lush.h \
- ../../src/misc_file.h ../../src/cmdt.h ../../src/tclegg.h \
- ../../src/tclhash.h ../../src/chan.h ../../src/users.h \
- ../../src/compat/compat.h ../../src/compat/inet_aton.h \
- ../../src/compat/snprintf.h ../../src/compat/memset.h \
- ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h memset.h
-snprintf.o: ./snprintf.c ../../src/main.h ../../src/lang.h \
- ../../src/eggdrop.h ../../src/flags.h ../../src/proto.h ../../lush.h \
- ../../src/misc_file.h ../../src/cmdt.h ../../src/tclegg.h \
- ../../src/tclhash.h ../../src/chan.h ../../src/users.h \
- ../../src/compat/compat.h ../../src/compat/inet_aton.h \
- ../../src/compat/snprintf.h ../../src/compat/memset.h \
- ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h snprintf.h
-strcasecmp.o: ./strcasecmp.c ../../src/main.h ../../src/lang.h \
- ../../src/eggdrop.h ../../src/flags.h ../../src/proto.h ../../lush.h \
- ../../src/misc_file.h ../../src/cmdt.h ../../src/tclegg.h \
- ../../src/tclhash.h ../../src/chan.h ../../src/users.h \
- ../../src/compat/compat.h ../../src/compat/inet_aton.h \
- ../../src/compat/snprintf.h ../../src/compat/memset.h \
- ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h memcpy.h
+ ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h \
+ ../../src/compat/strftime.h memset.h
+snprintf.o: ./snprintf.c ../../src/main.h ../../config.h \
+ ../../src/lang.h ../../src/eggdrop.h ../../src/flags.h \
+ ../../src/proto.h ../../lush.h ../../src/misc_file.h ../../src/cmdt.h \
+ ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
+ ../../src/users.h ../../src/compat/compat.h \
+ ../../src/compat/inet_aton.h ../../src/compat/snprintf.h \
+ ../../src/compat/memset.h ../../src/compat/memcpy.h \
+ ../../src/compat/strcasecmp.h ../../src/compat/strftime.h snprintf.h
+strcasecmp.o: ./strcasecmp.c ../../src/main.h ../../config.h \
+ ../../src/lang.h ../../src/eggdrop.h ../../src/flags.h \
+ ../../src/proto.h ../../lush.h ../../src/misc_file.h ../../src/cmdt.h \
+ ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
+ ../../src/users.h ../../src/compat/compat.h \
+ ../../src/compat/inet_aton.h ../../src/compat/snprintf.h \
+ ../../src/compat/memset.h ../../src/compat/memcpy.h \
+ ../../src/compat/strcasecmp.h ../../src/compat/strftime.h memcpy.h
+strftime.o: ./strftime.c ../../src/main.h ../../config.h \
+ ../../src/lang.h ../../src/eggdrop.h ../../src/flags.h \
+ ../../src/proto.h ../../lush.h ../../src/misc_file.h ../../src/cmdt.h \
+ ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
+ ../../src/users.h ../../src/compat/compat.h \
+ ../../src/compat/inet_aton.h ../../src/compat/snprintf.h \
+ ../../src/compat/memset.h ../../src/compat/memcpy.h \
+ ../../src/compat/strcasecmp.h ../../src/compat/strftime.h strftime.h
Index: eggdrop-devel/src/compat/compat.h
diff -u eggdrop-devel/src/compat/compat.h:1.1 eggdrop-devel/src/compat/compat.h:1.2
--- eggdrop-devel/src/compat/compat.h:1.1	Thu Mar 23 17:20:07 2000
+++ eggdrop-devel/src/compat/compat.h	Tue Sep 12 10:26:51 2000
@@ -2,7 +2,7 @@
  * compat.h
  *   wrap-around header for all compability functions.
  * 
- * $Id: compat.h,v 1.1 2000/03/23 23:20:07 fabian Exp $
+ * $Id: compat.h,v 1.2 2000/09/12 15:26:51 fabian Exp $
  */
 /* 
  * Copyright (C) 2000  Eggheads
@@ -30,5 +30,6 @@
 #include "memset.h"
 #include "memcpy.h"
 #include "strcasecmp.h"
+#include "strftime.h"
 
-#endif				/* __EGG_COMPAT_COMPAT_H */
+#endif	/* !__EGG_COMPAT_COMPAT_H */
Index: eggdrop-devel/src/compat/inet_aton.h
diff -u eggdrop-devel/src/compat/inet_aton.h:1.1 eggdrop-devel/src/compat/inet_aton.h:1.2
--- eggdrop-devel/src/compat/inet_aton.h:1.1	Tue Mar 21 18:42:57 2000
+++ eggdrop-devel/src/compat/inet_aton.h	Tue Sep 12 10:26:51 2000
@@ -2,7 +2,7 @@
  * inet_aton.h
  *   prototypes for inet_aton.c
  * 
- * $Id: inet_aton.h,v 1.1 2000/03/22 00:42:57 fabian Exp $
+ * $Id: inet_aton.h,v 1.2 2000/09/12 15:26:51 fabian Exp $
  */
 /* 
  * Copyright (C) 2000  Eggheads
@@ -37,4 +37,4 @@
 #  define egg_inet_aton	inet_aton
 #endif
 
-#endif				/* __EGG_COMPAT_INET_ATON_H */
+#endif	/* !__EGG_COMPAT_INET_ATON_H */
Index: eggdrop-devel/src/compat/memcpy.h
diff -u eggdrop-devel/src/compat/memcpy.h:1.1 eggdrop-devel/src/compat/memcpy.h:1.2
--- eggdrop-devel/src/compat/memcpy.h:1.1	Thu Mar 23 17:20:07 2000
+++ eggdrop-devel/src/compat/memcpy.h	Tue Sep 12 10:26:51 2000
@@ -2,7 +2,7 @@
  * memcpy.h
  *   prototypes for memcpy.c
  * 
- * $Id: memcpy.h,v 1.1 2000/03/23 23:20:07 fabian Exp $
+ * $Id: memcpy.h,v 1.2 2000/09/12 15:26:51 fabian Exp $
  */
 /* 
  * Copyright (C) 2000  Eggheads
@@ -35,4 +35,4 @@
 #  define egg_memcpy	memcpy
 #endif
 
-#endif				/* __EGG_COMPAT_MEMCPY_H */
+#endif	/* !__EGG_COMPAT_MEMCPY_H */
Index: eggdrop-devel/src/compat/memset.h
diff -u eggdrop-devel/src/compat/memset.h:1.1 eggdrop-devel/src/compat/memset.h:1.2
--- eggdrop-devel/src/compat/memset.h:1.1	Thu Mar 23 17:20:07 2000
+++ eggdrop-devel/src/compat/memset.h	Tue Sep 12 10:26:51 2000
@@ -2,7 +2,7 @@
  * memset.h
  *   prototypes for memset.c
  * 
- * $Id: memset.h,v 1.1 2000/03/23 23:20:07 fabian Exp $
+ * $Id: memset.h,v 1.2 2000/09/12 15:26:51 fabian Exp $
  */
 /* 
  * Copyright (C) 2000  Eggheads
@@ -39,4 +39,4 @@
  */
 #define egg_bzero(dest, n)	egg_memset(dest, 0, n)
 
-#endif				/* __EGG_COMPAT_MEMSET_H */
+#endif	/* !__EGG_COMPAT_MEMSET_H */
Index: eggdrop-devel/src/compat/snprintf.h
diff -u eggdrop-devel/src/compat/snprintf.h:1.5 eggdrop-devel/src/compat/snprintf.h:1.6
--- eggdrop-devel/src/compat/snprintf.h:1.5	Sat May 13 15:28:02 2000
+++ eggdrop-devel/src/compat/snprintf.h	Tue Sep 12 10:26:51 2000
@@ -2,7 +2,7 @@
  * snprintf.h
  *   header file for snprintf.c
  *
- * $Id: snprintf.h,v 1.5 2000/05/13 20:28:02 fabian Exp $
+ * $Id: snprintf.h,v 1.6 2000/09/12 15:26:51 fabian Exp $
  */
 /* 
  * Copyright (C) 2000  Eggheads
@@ -22,8 +22,8 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
-#ifndef _COMPAT_SNPRINTF_H_
-#define _COMPAT_SNPRINTF_H_
+#ifndef _EGG_COMPAT_SNPRINTF_H_
+#define _EGG_COMPAT_SNPRINTF_H_
 
 #include "src/main.h"
 #include <stdio.h>
@@ -50,4 +50,4 @@
 #  define egg_snprintf	snprintf
 #endif
 
-#endif
+#endif	/* !_EGG_COMPAT_SNPRINTF_H_ */
Index: eggdrop-devel/src/compat/strcasecmp.h
diff -u eggdrop-devel/src/compat/strcasecmp.h:1.1 eggdrop-devel/src/compat/strcasecmp.h:1.2
--- eggdrop-devel/src/compat/strcasecmp.h:1.1	Thu Mar 23 17:20:07 2000
+++ eggdrop-devel/src/compat/strcasecmp.h	Tue Sep 12 10:26:51 2000
@@ -2,7 +2,7 @@
  * strcasecmp.h
  *   prototypes for strcasecmp.c
  * 
- * $Id: strcasecmp.h,v 1.1 2000/03/23 23:20:07 fabian Exp $
+ * $Id: strcasecmp.h,v 1.2 2000/09/12 15:26:51 fabian Exp $
  */
 /* 
  * Copyright (C) 2000  Eggheads
@@ -43,4 +43,4 @@
 #  define egg_strncasecmp	strncasecmp
 #endif
 
-#endif				/* __EGG_COMPAT_STRCASECMP_H */
+#endif	/* !__EGG_COMPAT_STRCASECMP_H */
Index: eggdrop-devel/src/main.h
diff -u eggdrop-devel/src/main.h:1.14 eggdrop-devel/src/main.h:1.15
--- eggdrop-devel/src/main.h:1.14	Sat Sep  9 06:39:09 2000
+++ eggdrop-devel/src/main.h	Tue Sep 12 10:26:50 2000
@@ -2,7 +2,7 @@
  * main.h
  *   include file to include most other include files
  * 
- * $Id: main.h,v 1.14 2000/09/09 11:39:09 fabian Exp $
+ * $Id: main.h,v 1.15 2000/09/12 15:26:50 fabian Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -27,7 +27,7 @@
 #define _EGG_MAIN_H
 
 #ifdef HAVE_CONFIG_H
-#  include <config.h>
+#  include "config.h"
 #endif
 
 /* UGH! Why couldn't Tcl pick a standard? */
Index: eggdrop-devel/src/md5/Makefile.in
diff -u eggdrop-devel/src/md5/Makefile.in:1.8 eggdrop-devel/src/md5/Makefile.in:1.9
--- eggdrop-devel/src/md5/Makefile.in:1.8	Sat Sep  9 06:39:10 2000
+++ eggdrop-devel/src/md5/Makefile.in	Tue Sep 12 10:26:51 2000
@@ -1,5 +1,5 @@
 # Makefile for src/md5/
-# $Id: Makefile.in,v 1.8 2000/09/09 11:39:10 fabian Exp $
+# $Id: Makefile.in,v 1.9 2000/09/12 15:26:51 fabian Exp $
 
 SHELL = @SHELL@
 top_srcdir = @top_srcdir@
@@ -41,10 +41,11 @@
 	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
 
 #safety hash
-md5c.o: ./md5c.c ../../src/main.h ../../src/lang.h ../../src/eggdrop.h \
- ../../src/flags.h ../../src/proto.h ../../lush.h \
+md5c.o: ./md5c.c ../../src/main.h ../../config.h ../../src/lang.h \
+ ../../src/eggdrop.h ../../src/flags.h ../../src/proto.h ../../lush.h \
  ../../src/misc_file.h ../../src/cmdt.h ../../src/tclegg.h \
  ../../src/tclhash.h ../../src/chan.h ../../src/users.h \
  ../../src/compat/compat.h ../../src/compat/inet_aton.h \
  ../../src/compat/snprintf.h ../../src/compat/memset.h \
- ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h md5.h
+ ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h \
+ ../../src/compat/strftime.h md5.h
Index: eggdrop-devel/src/misc.c
diff -u eggdrop-devel/src/misc.c:1.26 eggdrop-devel/src/misc.c:1.27
--- eggdrop-devel/src/misc.c:1.26	Sat Aug 26 11:07:03 2000
+++ eggdrop-devel/src/misc.c	Tue Sep 12 10:26:50 2000
@@ -7,7 +7,7 @@
  *   help system
  *   motd display and %var substitution
  * 
- * $Id: misc.c,v 1.26 2000/08/26 16:07:03 fabian Exp $
+ * $Id: misc.c,v 1.27 2000/09/12 15:26:50 fabian Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -358,7 +358,7 @@
     sprintf(out, "%d day%s ago", days, (days == 1) ? "" : "s");
     return;
   }
-  strftime(out, 6, "%H:%M", localtime(&then));
+  egg_strftime(out, 6, "%H:%M", localtime(&then));
 }
 
 /* Convert an interval (in seconds) to one of:
@@ -372,7 +372,7 @@
     sprintf(out, "in %d day%s", days, (days == 1) ? "" : "s");
     return;
   }
-  strftime(out, 9, "at %H:%M", localtime(&now));
+  egg_strftime(out, 9, "at %H:%M", localtime(&now));
 }
 
 /* Convert an interval (in seconds) to one of:
@@ -428,9 +428,9 @@
   tt = now;
   if (keep_all_logs) {
     if (!logfile_suffix[0])
-      strftime(ct, 12, ".%d%b%Y", localtime(&tt));
+      egg_strftime(ct, 12, ".%d%b%Y", localtime(&tt));
     else {
-      strftime(ct, 80, logfile_suffix, localtime(&tt));
+      egg_strftime(ct, 80, logfile_suffix, localtime(&tt));
       ct[80] = 0;
       s2 = ct;
       /* replace spaces by underscores */
@@ -442,7 +442,7 @@
     }
   }
   if ((out[0]) && (shtime)) {
-    strftime(s1, 9, "[%H:%M] ", localtime(&tt));
+    egg_strftime(s1, 9, "[%H:%M] ", localtime(&tt));
     strncpy(&s[0], s1, 8);
     out = s;
   }
@@ -825,7 +825,7 @@
       towrite = admin;
       break;
     case 'T':
-      strftime(sub, 6, "%H:%M", localtime(&now));
+      egg_strftime(sub, 6, "%H:%M", localtime(&now));
       towrite = sub;
       break;
     case 'N':
Index: eggdrop-devel/src/mod/assoc.mod/Makefile
diff -u eggdrop-devel/src/mod/assoc.mod/Makefile:1.10 eggdrop-devel/src/mod/assoc.mod/Makefile:1.11
--- eggdrop-devel/src/mod/assoc.mod/Makefile:1.10	Sun Jul  9 09:10:49 2000
+++ eggdrop-devel/src/mod/assoc.mod/Makefile	Tue Sep 12 10:26:51 2000
@@ -1,5 +1,5 @@
 # Makefile for src/mod/assoc.mod/
-# $Id: Makefile,v 1.10 2000/07/09 14:10:49 fabian Exp $
+# $Id: Makefile,v 1.11 2000/09/12 15:26:51 fabian Exp $
 
 srcdir = .
 
@@ -32,11 +32,12 @@
 
 #safety hash
 ../assoc.o: .././assoc.mod/assoc.c ../../../src/mod/module.h \
- ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \
- ../../../src/flags.h ../../../src/proto.h ../../../lush.h \
- ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \
- ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \
- ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \
- ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
- ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
+ ../../../src/main.h ../../../config.h ../../../src/lang.h \
+ ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
+ ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
+ ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+ ../../../src/users.h ../../../src/compat/compat.h \
+ ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+ ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  ../../../src/mod/modvals.h ../../../src/tandem.h
Index: eggdrop-devel/src/mod/blowfish.mod/Makefile
diff -u eggdrop-devel/src/mod/blowfish.mod/Makefile:1.10 eggdrop-devel/src/mod/blowfish.mod/Makefile:1.11
--- eggdrop-devel/src/mod/blowfish.mod/Makefile:1.10	Sun Jul  9 09:10:49 2000
+++ eggdrop-devel/src/mod/blowfish.mod/Makefile	Tue Sep 12 10:26:51 2000
@@ -1,5 +1,5 @@
 # Makefile for src/mod/blowfish.mod/
-# $Id: Makefile,v 1.10 2000/07/09 14:10:49 fabian Exp $
+# $Id: Makefile,v 1.11 2000/09/12 15:26:51 fabian Exp $
 
 srcdir = .
 
@@ -32,12 +32,13 @@
 
 #safety hash
 ../blowfish.o: .././blowfish.mod/blowfish.c ../../../src/mod/module.h \
- ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \
- ../../../src/flags.h ../../../src/proto.h ../../../lush.h \
- ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \
- ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \
- ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \
- ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
- ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
+ ../../../src/main.h ../../../config.h ../../../src/lang.h \
+ ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
+ ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
+ ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+ ../../../src/users.h ../../../src/compat/compat.h \
+ ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+ ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  ../../../src/mod/modvals.h ../../../src/tandem.h \
  ../blowfish.mod/blowfish.h ../blowfish.mod/bf_tab.h
Index: eggdrop-devel/src/mod/channels.mod/Makefile
diff -u eggdrop-devel/src/mod/channels.mod/Makefile:1.11 eggdrop-devel/src/mod/channels.mod/Makefile:1.12
--- eggdrop-devel/src/mod/channels.mod/Makefile:1.11	Sun Jul  9 09:10:49 2000
+++ eggdrop-devel/src/mod/channels.mod/Makefile	Tue Sep 12 10:26:52 2000
@@ -1,5 +1,5 @@
 # Makefile for src/mod/channels.mod/
-# $Id: Makefile,v 1.11 2000/07/09 14:10:49 fabian Exp $
+# $Id: Makefile,v 1.12 2000/09/12 15:26:52 fabian Exp $
 
 srcdir = .
 
@@ -32,13 +32,14 @@
 
 #safety hash
 ../channels.o: .././channels.mod/channels.c ../../../src/mod/module.h \
- ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \
- ../../../src/flags.h ../../../src/proto.h ../../../lush.h \
- ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \
- ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \
- ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \
- ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
- ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
+ ../../../src/main.h ../../../config.h ../../../src/lang.h \
+ ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
+ ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
+ ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+ ../../../src/users.h ../../../src/compat/compat.h \
+ ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+ ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  ../../../src/mod/modvals.h ../../../src/tandem.h \
  ../channels.mod/channels.h ../channels.mod/cmdschan.c \
  ../channels.mod/tclchan.c ../channels.mod/userchan.c \
Index: eggdrop-devel/src/mod/compress.mod/Makefile.in
diff -u eggdrop-devel/src/mod/compress.mod/Makefile.in:1.6 eggdrop-devel/src/mod/compress.mod/Makefile.in:1.7
--- eggdrop-devel/src/mod/compress.mod/Makefile.in:1.6	Sun Jul  9 09:10:49 2000
+++ eggdrop-devel/src/mod/compress.mod/Makefile.in	Tue Sep 12 10:26:52 2000
@@ -1,5 +1,5 @@
 # Makefile.in for src/mod/compress.mod/
-# $Id: Makefile.in,v 1.6 2000/07/09 14:10:49 fabian Exp $
+# $Id: Makefile.in,v 1.7 2000/09/12 15:26:52 fabian Exp $
 
 ZLIB = @ZLIB@
 srcdir = .
@@ -36,13 +36,14 @@
 
 #safety hash
 ../compress.o: .././compress.mod/compress.c ../../../src/mod/module.h \
- ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \
- ../../../src/flags.h ../../../src/proto.h ../../../lush.h \
- ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \
- ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \
- ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \
- ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
- ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
+ ../../../src/main.h ../../../config.h ../../../src/lang.h \
+ ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
+ ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
+ ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+ ../../../src/users.h ../../../src/compat/compat.h \
+ ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+ ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  ../../../src/mod/modvals.h ../../../src/tandem.h \
  ../../../src/mod/share.mod/share.h ../compress.mod/compress_config.h \
  ../compress.mod/compress.h ../compress.mod/tclcompress.c
Index: eggdrop-devel/src/mod/console.mod/Makefile
diff -u eggdrop-devel/src/mod/console.mod/Makefile:1.12 eggdrop-devel/src/mod/console.mod/Makefile:1.13
--- eggdrop-devel/src/mod/console.mod/Makefile:1.12	Tue Jul 11 15:47:28 2000
+++ eggdrop-devel/src/mod/console.mod/Makefile	Tue Sep 12 10:26:52 2000
@@ -1,5 +1,5 @@
 # Makefile for src/mod/console.mod/
-# $Id: Makefile,v 1.12 2000/07/11 20:47:28 tothwolf Exp $
+# $Id: Makefile,v 1.13 2000/09/12 15:26:52 fabian Exp $
 
 srcdir = .
 
@@ -32,11 +32,12 @@
 
 #safety hash
 ../console.o: .././console.mod/console.c ../../../src/mod/module.h \
- ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \
- ../../../src/flags.h ../../../src/proto.h ../../../lush.h \
- ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \
- ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \
- ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \
- ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
- ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
+ ../../../src/main.h ../../../config.h ../../../src/lang.h \
+ ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
+ ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
+ ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+ ../../../src/users.h ../../../src/compat/compat.h \
+ ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+ ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  ../../../src/mod/modvals.h ../../../src/tandem.h
Index: eggdrop-devel/src/mod/ctcp.mod/Makefile
diff -u eggdrop-devel/src/mod/ctcp.mod/Makefile:1.10 eggdrop-devel/src/mod/ctcp.mod/Makefile:1.11
--- eggdrop-devel/src/mod/ctcp.mod/Makefile:1.10	Sun Jul  9 09:10:49 2000
+++ eggdrop-devel/src/mod/ctcp.mod/Makefile	Tue Sep 12 10:26:52 2000
@@ -1,5 +1,5 @@
 # Makefile for src/mod/ctcp.mod/
-# $Id: Makefile,v 1.10 2000/07/09 14:10:49 fabian Exp $
+# $Id: Makefile,v 1.11 2000/09/12 15:26:52 fabian Exp $
 
 srcdir = .
 
@@ -32,12 +32,13 @@
 
 #safety hash
 ../ctcp.o: .././ctcp.mod/ctcp.c ../ctcp.mod/ctcp.h \
- ../../../src/mod/module.h ../../../src/main.h ../../../src/lang.h \
- ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
- ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
- ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
- ../../../src/users.h ../../../src/compat/compat.h \
+ ../../../src/mod/module.h ../../../src/main.h ../../../config.h \
+ ../../../src/lang.h ../../../src/eggdrop.h ../../../src/flags.h \
+ ../../../src/proto.h ../../../lush.h ../../../src/misc_file.h \
+ ../../../src/cmdt.h ../../../src/tclegg.h ../../../src/tclhash.h \
+ ../../../src/chan.h ../../../src/users.h ../../../src/compat/compat.h \
  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
- ../../../src/compat/strcasecmp.h ../../../src/mod/modvals.h \
- ../../../src/tandem.h ../../../src/mod/server.mod/server.h
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+ ../../../src/mod/modvals.h ../../../src/tandem.h \
+ ../../../src/mod/server.mod/server.h
Index: eggdrop-devel/src/mod/dns.mod/Makefile.in
diff -u eggdrop-devel/src/mod/dns.mod/Makefile.in:1.6 eggdrop-devel/src/mod/dns.mod/Makefile.in:1.7
--- eggdrop-devel/src/mod/dns.mod/Makefile.in:1.6	Sun Jul  9 09:10:49 2000
+++ eggdrop-devel/src/mod/dns.mod/Makefile.in	Tue Sep 12 10:26:52 2000
@@ -1,5 +1,5 @@
 # Makefile for src/mod/dns.mod/
-# $Id: Makefile.in,v 1.6 2000/07/09 14:10:49 fabian Exp $
+# $Id: Makefile.in,v 1.7 2000/09/12 15:26:52 fabian Exp $
 
 RESLIB = @RESLIB@
 srcdir = .
@@ -36,12 +36,13 @@
 
 #safety hash
 ../dns.o: .././dns.mod/dns.c ../../../src/mod/module.h \
- ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \
- ../../../src/flags.h ../../../src/proto.h ../../../lush.h \
- ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \
- ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \
- ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \
- ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
- ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
+ ../../../src/main.h ../../../config.h ../../../src/lang.h \
+ ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
+ ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
+ ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+ ../../../src/users.h ../../../src/compat/compat.h \
+ ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+ ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  ../../../src/mod/modvals.h ../../../src/tandem.h ../dns.mod/dns.h \
  ../dns.mod/coredns.c
Index: eggdrop-devel/src/mod/filesys.mod/Makefile
diff -u eggdrop-devel/src/mod/filesys.mod/Makefile:1.14 eggdrop-devel/src/mod/filesys.mod/Makefile:1.15
--- eggdrop-devel/src/mod/filesys.mod/Makefile:1.14	Sun Jul  9 09:10:49 2000
+++ eggdrop-devel/src/mod/filesys.mod/Makefile	Tue Sep 12 10:26:53 2000
@@ -1,5 +1,5 @@
 # Makefile for src/mod/filesys.mod/
-# $Id: Makefile,v 1.14 2000/07/09 14:10:49 fabian Exp $
+# $Id: Makefile,v 1.15 2000/09/12 15:26:53 fabian Exp $
 
 srcdir = .
 
@@ -39,10 +39,11 @@
  ../../../src/users.h ../../../src/compat/compat.h \
  ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
  ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
- ../../../src/compat/strcasecmp.h ../../../src/mod/modvals.h \
- ../../../src/tandem.h ../filesys.mod/filedb3.h \
- ../filesys.mod/filesys.h ../../../src/mod/transfer.mod/transfer.h \
- ../filesys.mod/files.h ../filesys.mod/dbcompat.h \
- ../filesys.mod/filelist.h ../filesys.mod/files.c ../../../src/stat.h \
- ../filesys.mod/filedb3.c ../filesys.mod/tclfiles.c \
- ../filesys.mod/dbcompat.c ../filesys.mod/filelist.c
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
+ ../../../src/mod/modvals.h ../../../src/tandem.h \
+ ../filesys.mod/filedb3.h ../filesys.mod/filesys.h \
+ ../../../src/mod/transfer.mod/transfer.h ../filesys.mod/files.h \
+ ../filesys.mod/dbcompat.h ../filesys.mod/filelist.h \
+ ../filesys.mod/files.c ../../../src/stat.h ../filesys.mod/filedb3.c \
+ ../filesys.mod/tclfiles.c ../filesys.mod/dbcompat.c \
+ ../filesys.mod/filelist.c
Index: eggdrop-devel/src/mod/filesys.mod/filedb3.c
diff -u eggdrop-devel/src/mod/filesys.mod/filedb3.c:1.14 eggdrop-devel/src/mod/filesys.mod/filedb3.c:1.15
--- eggdrop-devel/src/mod/filesys.mod/filedb3.c:1.14	Sat Sep  9 12:29:07 2000
+++ eggdrop-devel/src/mod/filesys.mod/filedb3.c	Tue Sep 12 10:26:53 2000
@@ -4,7 +4,7 @@
  * 
  * Rewritten by Fabian Knittel <fknittel at gmx.de>
  * 
- * $Id: filedb3.c,v 1.14 2000/09/09 17:29:07 fabian Exp $
+ * $Id: filedb3.c,v 1.15 2000/09/12 15:26:53 fabian Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -983,7 +983,7 @@
 	  if (fdbe->stat & FILE_HIDDEN)
 	    strcat(s2, " (hid)");
 	}
-	strftime(t, 10, "%d%b%Y", localtime(&fdbe->uploaded));
+	egg_strftime(t, 10, "%d%b%Y", localtime(&fdbe->uploaded));
 	if (fdbe->size < 1024)
 	  sprintf(s1, "%5d", fdbe->size);
 	else
Index: eggdrop-devel/src/mod/irc.mod/Makefile
diff -u eggdrop-devel/src/mod/irc.mod/Makefile:1.10 eggdrop-devel/src/mod/irc.mod/Makefile:1.11
--- eggdrop-devel/src/mod/irc.mod/Makefile:1.10	Sun Jul  9 09:10:49 2000
+++ eggdrop-devel/src/mod/irc.mod/Makefile	Tue Sep 12 10:26:53 2000
@@ -1,5 +1,5 @@
 # Makefile for src/mod/irc.mod/
-# $Id: Makefile,v 1.10 2000/07/09 14:10:49 fabian Exp $
+# $Id: Makefile,v 1.11 2000/09/12 15:26:53 fabian Exp $
 
 srcdir = .
 
@@ -32,13 +32,14 @@
 
 #safety hash
 ../irc.o: .././irc.mod/irc.c ../../../src/mod/module.h \
- ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \
- ../../../src/flags.h ../../../src/proto.h ../../../lush.h \
- ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \
- ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \
- ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \
- ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
- ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
+ ../../../src/main.h ../../../config.h ../../../src/lang.h \
+ ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
+ ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
+ ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+ ../../../src/users.h ../../../src/compat/compat.h \
+ ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+ ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  ../../../src/mod/modvals.h ../../../src/tandem.h ../irc.mod/irc.h \
  ../../../src/mod/server.mod/server.h \
  ../../../src/mod/channels.mod/channels.h ../irc.mod/chan.c \
Index: eggdrop-devel/src/mod/irc.mod/cmdsirc.c
diff -u eggdrop-devel/src/mod/irc.mod/cmdsirc.c:1.20 eggdrop-devel/src/mod/irc.mod/cmdsirc.c:1.21
--- eggdrop-devel/src/mod/irc.mod/cmdsirc.c:1.20	Sat Sep  2 14:34:36 2000
+++ eggdrop-devel/src/mod/irc.mod/cmdsirc.c	Tue Sep 12 10:26:53 2000
@@ -2,7 +2,7 @@
  * chancmds.c -- part of irc.mod
  *   handles commands direclty relating to channel interaction
  * 
- * $Id: cmdsirc.c,v 1.20 2000/09/02 19:34:36 fabian Exp $
+ * $Id: cmdsirc.c,v 1.21 2000/09/12 15:26:53 fabian Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -533,9 +533,9 @@
     while (m && m->nick[0]) {
       if (m->joined > 0) {
 	if ((now - (m->joined)) > 86400)
-	  strftime(s, 6, "%d%b", localtime(&(m->joined)));
+	  egg_strftime(s, 6, "%d%b", localtime(&(m->joined)));
 	else
-	  strftime(s, 6, "%H:%M", localtime(&(m->joined)));
+	  egg_strftime(s, 6, "%H:%M", localtime(&(m->joined)));
       } else
 	strcpy(s, " --- ");
       if (m->user == NULL) {
Index: eggdrop-devel/src/mod/irc.mod/irc.c
diff -u eggdrop-devel/src/mod/irc.mod/irc.c:1.33 eggdrop-devel/src/mod/irc.mod/irc.c:1.34
--- eggdrop-devel/src/mod/irc.mod/irc.c:1.33	Sat Sep  2 13:47:47 2000
+++ eggdrop-devel/src/mod/irc.mod/irc.c	Tue Sep 12 10:26:53 2000
@@ -2,7 +2,7 @@
  * irc.c -- part of irc.mod
  *   support for channels within the bot 
  * 
- * $Id: irc.c,v 1.33 2000/09/02 18:47:47 fabian Exp $
+ * $Id: irc.c,v 1.34 2000/09/12 15:26:53 fabian Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -141,7 +141,7 @@
 
   Context;
   /* Get current time into a string */
-  strftime(ct, 7, "%d %b", localtime(&now));
+  egg_strftime(ct, 7, "%d %b", localtime(&now));
 
   /* Put together log and kick messages */
   reason[0] = 0;
Index: eggdrop-devel/src/mod/irc.mod/msgcmds.c
diff -u eggdrop-devel/src/mod/irc.mod/msgcmds.c:1.15 eggdrop-devel/src/mod/irc.mod/msgcmds.c:1.16
--- eggdrop-devel/src/mod/irc.mod/msgcmds.c:1.15	Sun Aug  6 09:51:38 2000
+++ eggdrop-devel/src/mod/irc.mod/msgcmds.c	Tue Sep 12 10:26:53 2000
@@ -2,7 +2,7 @@
  * msgcmds.c -- part of irc.mod
  *   all commands entered via /MSG
  * 
- * $Id: msgcmds.c,v 1.15 2000/08/06 14:51:38 fabian Exp $
+ * $Id: msgcmds.c,v 1.16 2000/09/12 15:26:53 fabian Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -529,7 +529,7 @@
 	   (glob_op(fr) && !chan_deop(fr)) ||
 	   glob_friend(fr) || chan_op(fr) || chan_friend(fr))) {
 	tt = cr->laston;
-	strftime(s, 14, "%b %d %H:%M", localtime(&tt));
+	egg_strftime(s, 14, "%b %d %H:%M", localtime(&tt));
 	ok = 1;
 	sprintf(s1, "NOTICE %s :[%s] %s %s on %s", nick, u2->handle,
 		IRC_LASTSEENAT, s, chan->dname);
Index: eggdrop-devel/src/mod/notes.mod/Makefile
diff -u eggdrop-devel/src/mod/notes.mod/Makefile:1.11 eggdrop-devel/src/mod/notes.mod/Makefile:1.12
--- eggdrop-devel/src/mod/notes.mod/Makefile:1.11	Sun Jul  9 09:10:49 2000
+++ eggdrop-devel/src/mod/notes.mod/Makefile	Tue Sep 12 10:26:53 2000
@@ -1,5 +1,5 @@
 # Makefile for src/mod/notes.mod
-# $Id: Makefile,v 1.11 2000/07/09 14:10:49 fabian Exp $
+# $Id: Makefile,v 1.12 2000/09/12 15:26:53 fabian Exp $
 
 srcdir = .
 
@@ -32,12 +32,13 @@
 
 #safety hash
 ../notes.o: .././notes.mod/notes.c ../../../src/mod/module.h \
- ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \
- ../../../src/flags.h ../../../src/proto.h ../../../lush.h \
- ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \
- ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \
- ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \
- ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
- ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
+ ../../../src/main.h ../../../config.h ../../../src/lang.h \
+ ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
+ ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
+ ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+ ../../../src/users.h ../../../src/compat/compat.h \
+ ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+ ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  ../../../src/mod/modvals.h ../../../src/tandem.h ../notes.mod/notes.h \
  ../notes.mod/cmdsnote.c
Index: eggdrop-devel/src/mod/notes.mod/notes.c
diff -u eggdrop-devel/src/mod/notes.mod/notes.c:1.21 eggdrop-devel/src/mod/notes.mod/notes.c:1.22
--- eggdrop-devel/src/mod/notes.mod/notes.c:1.21	Thu Aug 17 20:04:38 2000
+++ eggdrop-devel/src/mod/notes.mod/notes.c	Tue Sep 12 10:26:53 2000
@@ -5,7 +5,7 @@
  *   note cmds
  *   note ignores
  * 
- * $Id: notes.c,v 1.21 2000/08/18 01:04:38 fabian Exp $
+ * $Id: notes.c,v 1.22 2000/09/12 15:26:53 fabian Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -508,7 +508,7 @@
 	  from = newsplit(&s1);
 	  dt = newsplit(&s1);
 	  tt = atoi(dt);
-	  strftime(wt, 14, "%b %d %H:%M", localtime(&tt));
+	  egg_strftime(wt, 14, "%b %d %H:%M", localtime(&tt));
 	  dt = wt;
 	  lapse = (int) ((now - tt) / 86400);
 	  if (lapse > note_life - 7) {
Index: eggdrop-devel/src/mod/seen.mod/Makefile
diff -u eggdrop-devel/src/mod/seen.mod/Makefile:1.10 eggdrop-devel/src/mod/seen.mod/Makefile:1.11
--- eggdrop-devel/src/mod/seen.mod/Makefile:1.10	Sun Jul  9 09:10:49 2000
+++ eggdrop-devel/src/mod/seen.mod/Makefile	Tue Sep 12 10:26:54 2000
@@ -1,5 +1,5 @@
 # Makefile for src/mod/seen.mod/
-# $Id: Makefile,v 1.10 2000/07/09 14:10:49 fabian Exp $
+# $Id: Makefile,v 1.11 2000/09/12 15:26:54 fabian Exp $
 
 srcdir = .
 
@@ -32,12 +32,13 @@
 
 #safety hash
 ../seen.o: .././seen.mod/seen.c ../../../src/mod/module.h \
- ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \
- ../../../src/flags.h ../../../src/proto.h ../../../lush.h \
- ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \
- ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \
- ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \
- ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
- ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
+ ../../../src/main.h ../../../config.h ../../../src/lang.h \
+ ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
+ ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
+ ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+ ../../../src/users.h ../../../src/compat/compat.h \
+ ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+ ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  ../../../src/mod/modvals.h ../../../src/tandem.h \
  ../../../src/mod/channels.mod/channels.h
Index: eggdrop-devel/src/mod/server.mod/Makefile
diff -u eggdrop-devel/src/mod/server.mod/Makefile:1.11 eggdrop-devel/src/mod/server.mod/Makefile:1.12
--- eggdrop-devel/src/mod/server.mod/Makefile:1.11	Sun Jul  9 09:10:49 2000
+++ eggdrop-devel/src/mod/server.mod/Makefile	Tue Sep 12 10:26:54 2000
@@ -1,5 +1,5 @@
 # Makefile for src/mod/server.mod/
-# $Id: Makefile,v 1.11 2000/07/09 14:10:49 fabian Exp $
+# $Id: Makefile,v 1.12 2000/09/12 15:26:54 fabian Exp $
 
 srcdir = .
 
@@ -32,13 +32,14 @@
 
 #safety hash
 ../server.o: .././server.mod/server.c ../../../src/mod/module.h \
- ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \
- ../../../src/flags.h ../../../src/proto.h ../../../lush.h \
- ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \
- ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \
- ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \
- ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
- ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
+ ../../../src/main.h ../../../config.h ../../../src/lang.h \
+ ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
+ ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
+ ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+ ../../../src/users.h ../../../src/compat/compat.h \
+ ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+ ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  ../../../src/mod/modvals.h ../../../src/tandem.h \
  ../server.mod/server.h ../server.mod/servmsg.c \
  ../server.mod/cmdsserv.c ../server.mod/tclserv.c
Index: eggdrop-devel/src/mod/share.mod/Makefile
diff -u eggdrop-devel/src/mod/share.mod/Makefile:1.11 eggdrop-devel/src/mod/share.mod/Makefile:1.12
--- eggdrop-devel/src/mod/share.mod/Makefile:1.11	Sun Jul  9 09:10:49 2000
+++ eggdrop-devel/src/mod/share.mod/Makefile	Tue Sep 12 10:26:54 2000
@@ -1,5 +1,5 @@
 # Makefile for src/mod/share.mod/
-# $Id: Makefile,v 1.11 2000/07/09 14:10:49 fabian Exp $
+# $Id: Makefile,v 1.12 2000/09/12 15:26:54 fabian Exp $
 
 srcdir = .
 
@@ -32,13 +32,14 @@
 
 #safety hash
 ../share.o: .././share.mod/share.c ../../../src/mod/module.h \
- ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \
- ../../../src/flags.h ../../../src/proto.h ../../../lush.h \
- ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \
- ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \
- ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \
- ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
- ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
+ ../../../src/main.h ../../../config.h ../../../src/lang.h \
+ ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
+ ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
+ ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+ ../../../src/users.h ../../../src/compat/compat.h \
+ ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+ ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  ../../../src/mod/modvals.h ../../../src/tandem.h \
  ../../../src/mod/transfer.mod/transfer.h \
  ../../../src/mod/channels.mod/channels.h ../share.mod/share.h \
Index: eggdrop-devel/src/mod/transfer.mod/Makefile
diff -u eggdrop-devel/src/mod/transfer.mod/Makefile:1.10 eggdrop-devel/src/mod/transfer.mod/Makefile:1.11
--- eggdrop-devel/src/mod/transfer.mod/Makefile:1.10	Sun Jul  9 09:10:49 2000
+++ eggdrop-devel/src/mod/transfer.mod/Makefile	Tue Sep 12 10:26:54 2000
@@ -1,5 +1,5 @@
 # Makefile for src/mod/transfer.mod/
-# $Id: Makefile,v 1.10 2000/07/09 14:10:49 fabian Exp $
+# $Id: Makefile,v 1.11 2000/09/12 15:26:54 fabian Exp $
 
 srcdir = .
 
@@ -32,12 +32,13 @@
 
 #safety hash
 ../transfer.o: .././transfer.mod/transfer.c ../../../src/mod/module.h \
- ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \
- ../../../src/flags.h ../../../src/proto.h ../../../lush.h \
- ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \
- ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \
- ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \
- ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
- ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
+ ../../../src/main.h ../../../config.h ../../../src/lang.h \
+ ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
+ ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
+ ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+ ../../../src/users.h ../../../src/compat/compat.h \
+ ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+ ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  ../../../src/mod/modvals.h ../../../src/tandem.h \
  ../transfer.mod/transfer.h
Index: eggdrop-devel/src/mod/wire.mod/Makefile
diff -u eggdrop-devel/src/mod/wire.mod/Makefile:1.12 eggdrop-devel/src/mod/wire.mod/Makefile:1.13
--- eggdrop-devel/src/mod/wire.mod/Makefile:1.12	Sun Jul  9 09:10:49 2000
+++ eggdrop-devel/src/mod/wire.mod/Makefile	Tue Sep 12 10:26:54 2000
@@ -1,5 +1,5 @@
 # Makefile for src/mod/wire.mod/
-# $Id: Makefile,v 1.12 2000/07/09 14:10:49 fabian Exp $
+# $Id: Makefile,v 1.13 2000/09/12 15:26:54 fabian Exp $
 
 srcdir = .
 
@@ -32,11 +32,12 @@
 
 #safety hash
 ../wire.o: .././wire.mod/wire.c ../../../src/mod/module.h \
- ../../../src/main.h ../../../src/lang.h ../../../src/eggdrop.h \
- ../../../src/flags.h ../../../src/proto.h ../../../lush.h \
- ../../../src/misc_file.h ../../../src/cmdt.h ../../../src/tclegg.h \
- ../../../src/tclhash.h ../../../src/chan.h ../../../src/users.h \
- ../../../src/compat/compat.h ../../../src/compat/inet_aton.h \
- ../../../src/compat/snprintf.h ../../../src/compat/memset.h \
- ../../../src/compat/memcpy.h ../../../src/compat/strcasecmp.h \
+ ../../../src/main.h ../../../config.h ../../../src/lang.h \
+ ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
+ ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
+ ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
+ ../../../src/users.h ../../../src/compat/compat.h \
+ ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
+ ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
+ ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  ../../../src/mod/modvals.h ../../../src/tandem.h ../wire.mod/wire.h
Index: eggdrop-devel/src/patch.h
diff -u eggdrop-devel/src/patch.h:1.310 eggdrop-devel/src/patch.h:1.311
--- eggdrop-devel/src/patch.h:1.310	Tue Sep 12 10:25:40 2000
+++ eggdrop-devel/src/patch.h	Tue Sep 12 10:26:51 2000
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  * 
- * $Id: patch.h,v 1.310 2000/09/12 15:25:40 fabian Exp $
+ * $Id: patch.h,v 1.311 2000/09/12 15:26:51 fabian Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -40,11 +40,11 @@
 /*
  *
  */
-patch("968775083");	/* current unixtime */
+patch("968775140");	/* current unixtime */
 /*
  *
  */
-patch("notebeep2");
+patch("strftime_compat");
 /*
  *
  */
Index: eggdrop-devel/src/tclmisc.c
diff -u eggdrop-devel/src/tclmisc.c:1.13 eggdrop-devel/src/tclmisc.c:1.14
--- eggdrop-devel/src/tclmisc.c:1.13	Sat Sep  9 06:39:09 2000
+++ eggdrop-devel/src/tclmisc.c	Tue Sep 12 10:26:51 2000
@@ -3,7 +3,7 @@
  *   Tcl stubs for file system commands
  *   Tcl stubs for everything else
  * 
- * $Id: tclmisc.c,v 1.13 2000/09/09 11:39:09 fabian Exp $
+ * $Id: tclmisc.c,v 1.14 2000/09/12 15:26:51 fabian Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -423,7 +423,7 @@
   else
     t = now;
     tm1 = localtime(&t);
-  if (strftime(buf, sizeof(buf) - 1, argv[1], tm1)) {
+  if (egg_strftime(buf, sizeof(buf) - 1, argv[1], tm1)) {
     Tcl_AppendResult(irp, buf, NULL);
     return TCL_OK;
   }
Index: eggdrop-devel/src/users.c
diff -u eggdrop-devel/src/users.c:1.18 eggdrop-devel/src/users.c:1.19
--- eggdrop-devel/src/users.c:1.18	Tue Sep  5 11:00:30 2000
+++ eggdrop-devel/src/users.c	Tue Sep 12 10:26:51 2000
@@ -10,7 +10,7 @@
  * 
  * dprintf'ized, 9nov1995
  * 
- * $Id: users.c,v 1.18 2000/09/05 16:00:30 fabian Exp $
+ * $Id: users.c,v 1.19 2000/09/12 15:26:51 fabian Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -490,9 +490,9 @@
   else {
     now2 = now - li->laston;
     if (now2 > 86400)
-      strftime(s1, 7, "%d %b", localtime(&li->laston));
+      egg_strftime(s1, 7, "%d %b", localtime(&li->laston));
     else
-      strftime(s1, 6, "%H:%M", localtime(&li->laston));
+      egg_strftime(s1, 6, "%H:%M", localtime(&li->laston));
   }
   Context;
   spaces[l] = 0;
@@ -512,9 +512,9 @@
       else {
 	now2 = now - (ch->laston);
 	if (now2 > 86400)
-	  strftime(s1, 7, "%d %b", localtime(&ch->laston));
+	  egg_strftime(s1, 7, "%d %b", localtime(&ch->laston));
 	else
-	  strftime(s1, 6, "%H:%M", localtime(&ch->laston));
+	  egg_strftime(s1, 6, "%H:%M", localtime(&ch->laston));
       }
       fr.match = FR_CHAN;
       fr.chan = ch->flags;
----------------------- End of diff -----------------------



More information about the Changes mailing list