Changeset 1284
- Timestamp:
- 09/23/08 14:10:05 (2 months ago)
- Files:
-
- 1.8.3/branches/gc/CHANGES.182 (modified) (2 diffs)
- 1.8.3/branches/gc/CHANGES.183 (modified) (1 diff)
- 1.8.3/branches/gc/MANIFEST (modified) (1 diff)
- 1.8.3/branches/gc/Makefile.in (modified) (2 diffs)
- 1.8.3/branches/gc/Patchlevel (modified) (1 diff)
- 1.8.3/branches/gc/aclocal.m4 (modified) (1 diff)
- 1.8.3/branches/gc/config.h.in (modified) (3 diffs)
- 1.8.3/branches/gc/configure (modified) (11 diffs)
- 1.8.3/branches/gc/configure.in (modified) (4 diffs)
- 1.8.3/branches/gc/confmagic.h (modified) (2 diffs)
- 1.8.3/branches/gc/game/txt/hlp/penncmd.hlp (modified) (4 diffs)
- 1.8.3/branches/gc/game/txt/hlp/pennfunc.hlp (modified) (1 diff)
- 1.8.3/branches/gc/game/txt/hlp/penntop.hlp (modified) (1 diff)
- 1.8.3/branches/gc/game/txt/hlp/pennv182.hlp (modified) (2 diffs)
- 1.8.3/branches/gc/game/txt/hlp/pennv183.hlp (modified) (2 diffs)
- 1.8.3/branches/gc/game/txt/hlp/pennvOLD.hlp (modified) (1 diff)
- 1.8.3/branches/gc/hdrs/ansi.h (modified) (2 diffs)
- 1.8.3/branches/gc/hdrs/command.h (modified) (3 diffs)
- 1.8.3/branches/gc/hdrs/externs.h (modified) (2 diffs)
- 1.8.3/branches/gc/hdrs/mypcre.h (copied) (copied from 1.8.3/tags/p6/hdrs/mypcre.h)
- 1.8.3/branches/gc/hdrs/mysocket.h (modified) (1 diff)
- 1.8.3/branches/gc/hdrs/parse.h (modified) (1 diff)
- 1.8.3/branches/gc/hdrs/pcre.h (deleted)
- 1.8.3/branches/gc/hdrs/shs.h (modified) (1 diff)
- 1.8.3/branches/gc/hdrs/strtree.h (modified) (1 diff)
- 1.8.3/branches/gc/hdrs/version.h (modified) (1 diff)
- 1.8.3/branches/gc/hints/openbsd.txt (modified) (1 diff)
- 1.8.3/branches/gc/src/Makefile.in (modified) (72 diffs)
- 1.8.3/branches/gc/src/access.c (modified) (1 diff)
- 1.8.3/branches/gc/src/atr_tab.c (modified) (1 diff)
- 1.8.3/branches/gc/src/attrib.c (modified) (1 diff)
- 1.8.3/branches/gc/src/bsd.c (modified) (7 diffs)
- 1.8.3/branches/gc/src/cmdlocal.dst (modified) (3 diffs)
- 1.8.3/branches/gc/src/cmds.c (modified) (1 diff)
- 1.8.3/branches/gc/src/command.c (modified) (26 diffs)
- 1.8.3/branches/gc/src/conf.c (modified) (1 diff)
- 1.8.3/branches/gc/src/cque.c (modified) (1 diff)
- 1.8.3/branches/gc/src/create.c (modified) (1 diff)
- 1.8.3/branches/gc/src/extchat.c (modified) (5 diffs)
- 1.8.3/branches/gc/src/extmail.c (modified) (2 diffs)
- 1.8.3/branches/gc/src/flaglocal.dst (modified) (1 diff)
- 1.8.3/branches/gc/src/flags.c (modified) (1 diff)
- 1.8.3/branches/gc/src/funcrypt.c (modified) (1 diff)
- 1.8.3/branches/gc/src/function.c (modified) (1 diff)
- 1.8.3/branches/gc/src/fundb.c (modified) (3 diffs)
- 1.8.3/branches/gc/src/funlist.c (modified) (14 diffs)
- 1.8.3/branches/gc/src/funmath.c (modified) (5 diffs)
- 1.8.3/branches/gc/src/game.c (modified) (1 diff)
- 1.8.3/branches/gc/src/help.c (modified) (11 diffs)
- 1.8.3/branches/gc/src/htmltab.c (modified) (3 diffs)
- 1.8.3/branches/gc/src/ident.c (modified) (16 diffs)
- 1.8.3/branches/gc/src/info_master.c (modified) (2 diffs)
- 1.8.3/branches/gc/src/info_slave.c (modified) (21 diffs)
- 1.8.3/branches/gc/src/lmathtab.c (modified) (2 diffs)
- 1.8.3/branches/gc/src/lock.c (modified) (1 diff)
- 1.8.3/branches/gc/src/log.c (modified) (2 diffs)
- 1.8.3/branches/gc/src/look.c (modified) (9 diffs)
- 1.8.3/branches/gc/src/markup.c (modified) (20 diffs)
- 1.8.3/branches/gc/src/move.c (modified) (3 diffs)
- 1.8.3/branches/gc/src/myrlimit.c (modified) (2 diffs)
- 1.8.3/branches/gc/src/mysocket.c (modified) (13 diffs)
- 1.8.3/branches/gc/src/notify.c (modified) (2 diffs)
- 1.8.3/branches/gc/src/parse.c (modified) (3 diffs)
- 1.8.3/branches/gc/src/pcre.c (modified) (3 diffs)
- 1.8.3/branches/gc/src/set.c (modified) (3 diffs)
- 1.8.3/branches/gc/src/shs.c (modified) (5 diffs)
- 1.8.3/branches/gc/src/speech.c (modified) (5 diffs)
- 1.8.3/branches/gc/src/ssl_slave.c (modified) (13 diffs)
- 1.8.3/branches/gc/src/strtree.c (modified) (2 diffs)
- 1.8.3/branches/gc/src/strutil.c (modified) (2 diffs)
- 1.8.3/branches/gc/src/timer.c (modified) (2 diffs)
- 1.8.3/branches/gc/src/wait.c (modified) (5 diffs)
- 1.8.3/branches/gc/src/wild.c (modified) (7 diffs)
- 1.8.3/branches/gc/src/wiz.c (modified) (8 diffs)
- 1.8.3/branches/gc/win32/cmds.h (modified) (1 diff)
- 1.8.3/branches/gc/win32/confmagic.h (modified) (1 diff)
- 1.8.3/branches/gc/win32/funs.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.3/branches/gc/CHANGES.182
r1129 r1284 14 14 ========================================================================== 15 15 16 Version 1.8.2 patchlevel 8 Jan 01, 2008 17 18 Minor changes: 19 * 'make versions' now provides some feedback. 20 21 Fixes: 22 * width() and height() do not return 0 when set to invalid input. 23 By Talvo. 24 * Array underflow bug found by running under Valgrind. 25 * Crash bug when too many objects are nested. Reported by Paige, fixed 26 by Javelin and Intervis. 27 16 28 Version 1.8.2 patchlevel 7 October 6, 2007 17 29 … … 26 38 * The open database file wasn't getting closed on a failed save. 27 39 * Crash bug in sortkey(). Fix by Nathan Baum. 40 * Crash bug in pathological container cases reported by Paige@M*U*S*H 41 fixed by Javelin. 28 42 * 'help @desc' brings up @describe instead of @descformat. 29 43 Suggested by Nymeria. 1.8.3/branches/gc/CHANGES.183
r1129 r1284 14 14 15 15 ========================================================================== 16 17 Version 1.8.3 patchlevel 6 Jan 01, 2008 18 19 Major changes: 20 * If configure finds a copy of the pcre library installed, that will 21 be used instead of the (old) version bundled with Penn. use 22 --with-pcre=/path/to/it if it's not in the usual places, or 23 --with-pcre=no to force use of the bundled version. 24 25 Minor changes: 26 * @sitelock when there are no rules will now say that instead of 27 having no output. By Talvo. 28 * Log files use locking to prevent the small chance of more than one 29 process writing to the same error log at the same time. 30 * info_slave's logging is more clear as to its source. 31 * Several places that used the select() system call now favor poll() 32 and/or socket timeouts instead. (The main event loop still uses 33 select() for now.) 34 * A wildcard help topic search (help foo*) that only matches one 35 entry will display that entry. Suggested by Cheetah. 36 * New switches for commands no longer have to be added to the 37 SWITCHES file; the internal list of switches is now built based on 38 what switches are given in the command table and cmdlocal.c 39 additions. Suggested by Talek. 40 41 42 Flags and powers: 43 * The announce power now also grants the ability to change the motd. 44 Suggested by Yuriko. 45 * New hook power grants rights to use @hook. Suggested by Paige. 46 * Windows compile fixes by Intrevis. 47 48 Commands: 49 * @motd gives better feedback when clearing a message. 50 * The @tport/@otport/@atport/etc. attributes that get evalulated on a 51 @teleport now get the dbref of the object doing the teleport in %0 52 and the teleported object's old location in %1. Suggested by Daniel 53 Cheng. 54 55 Functions: 56 * root() uses an improved algorithm to give a more precise 57 result. 58 * log(N,2) uses the C log2() function if available. 59 * log(N,e) takes the natural logarithm of N, like ln(). 60 * lports() now takes an optional viewer argument, a la lwho(). By 61 Talvo. 62 63 Fixes: 64 * Typo in info_slave preventing simultaneous hostname lookups fixed. 65 * Compiliation fix with some compilers. Reported by Kimiko. 66 * ident lookups of new connections was broken for several 67 patchlevels. Works again. Sometimes. 68 * Cleaned up some warnings generated by gcc 4.2 69 * Fixed some minor bugs detected by running under valgrind. 70 * OpenBSD configuration fixes. 16 71 17 72 Version 1.8.3 patchlevel 5 October 6, 2007 1.8.3/branches/gc/MANIFEST
r1129 r1284 111 111 hdrs/oldflags.h 112 112 hdrs/parse.h 113 hdrs/ pcre.h113 hdrs/mypcre.h 114 114 hdrs/privtab.h 115 115 hdrs/ptab.h 1.8.3/branches/gc/Makefile.in
r1129 r1284 4 4 5 5 VERSION=1.8.3 6 PATCHLEVEL= 56 PATCHLEVEL=6 7 7 8 8 # … … 21 21 SQL_LDFLAGS=@MYSQL_LDFLAGS@ @POSTGRESQL_LDFLAGS@ @SQLITE3_LDFLAGS@ 22 22 23 CCFLAGS=@CFLAGS@ -I.. -I../hdrs 24 LDFLAGS=@LDFLAGS@ -lgc25 CLIBS=@LIBS@ 23 CCFLAGS=@CFLAGS@ -I.. -I../hdrs @PCRE_CFLAGS@ 24 LDFLAGS=@LDFLAGS@ 25 CLIBS=@LIBS@ @PCRE_LIBS@ -lgc -lpthread 26 26 INSTALL=@INSTALL@ 27 27 INSTALLDIR=$installdir 1.8.3/branches/gc/Patchlevel
r1129 r1284 1 1 Do not edit this file. It is maintained by the official PennMUSH patches. 2 This is PennMUSH 1.8.3p 52 This is PennMUSH 1.8.3p6 1.8.3/branches/gc/aclocal.m4
r908 r1284 882 882 fi 883 883 ]) 884 ##### http://autoconf-archive.cryp.to/ax_path_lib_pcre.html 885 # 886 # SYNOPSIS 887 # 888 # AX_PATH_LIB_PCRE [(A/NA)] 889 # 890 # DESCRIPTION 891 # 892 # check for pcre lib and set PCRE_LIBS and PCRE_CFLAGS accordingly. 893 # 894 # also provide --with-pcre option that may point to the $prefix of 895 # the pcre installation - the macro will check $pcre/include and 896 # $pcre/lib to contain the necessary files. 897 # 898 # the usual two ACTION-IF-FOUND / ACTION-IF-NOT-FOUND are supported 899 # and they can take advantage of the LIBS/CFLAGS additions. 900 # 901 # LAST MODIFICATION 902 # 903 # 2006-10-13 904 # 905 # COPYLEFT 906 # 907 # Copyright (c) 2006 Guido U. Draheim <guidod@gmx.de> 908 # 909 # This program is free software; you can redistribute it and/or 910 # modify it under the terms of the GNU General Public License as 911 # published by the Free Software Foundation; either version 2 of the 912 # License, or (at your option) any later version. 913 # 914 # This program is distributed in the hope that it will be useful, but 915 # WITHOUT ANY WARRANTY; without even the implied warranty of 916 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 917 # General Public License for more details. 918 # 919 # You should have received a copy of the GNU General Public License 920 # along with this program; if not, write to the Free Software 921 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 922 # 02111-1307, USA. 923 # 924 # As a special exception, the respective Autoconf Macro's copyright 925 # owner gives unlimited permission to copy, distribute and modify the 926 # configure scripts that are the output of Autoconf when processing 927 # the Macro. You need not follow the terms of the GNU General Public 928 # License when using or distributing such scripts, even though 929 # portions of the text of the Macro appear in them. The GNU General 930 # Public License (GPL) does govern all other use of the material that 931 # constitutes the Autoconf Macro. 932 # 933 # This special exception to the GPL applies to versions of the 934 # Autoconf Macro released by the Autoconf Macro Archive. When you 935 # make and distribute a modified version of the Autoconf Macro, you 936 # may extend this special exception to the GPL to apply to your 937 # modified version as well. 938 939 AC_DEFUN([AX_PATH_LIB_PCRE],[dnl 940 AC_MSG_CHECKING([lib pcre]) 941 AC_ARG_WITH(pcre, 942 [ --with-pcre[[=prefix]] path to system pcre],, 943 with_pcre="yes") 944 if test ".$with_pcre" = ".no" ; then 945 AC_MSG_RESULT([disabled]) 946 m4_ifval($2,$2) 947 else 948 AC_MSG_RESULT([(testing)]) 949 AC_CHECK_LIB(pcre, pcre_study) 950 if test "$ac_cv_lib_pcre_pcre_study" = "yes" ; then 951 PCRE_LIBS="-lpcre" 952 AC_MSG_CHECKING([lib pcre]) 953 AC_MSG_RESULT([$PCRE_LIBS]) 954 m4_ifval($1,$1) 955 else 956 OLDLDFLAGS="$LDFLAGS" ; LDFLAGS="$LDFLAGS -L$with_pcre/lib" 957 OLDCPPFLAGS="$CPPFLAGS" ; CPPFLAGS="$CPPFLAGS -I$with_pcre/include" 958 OLDLIBS="$LIBS" 959 AC_CHECK_LIB(pcre, pcre_compile) 960 CPPFLAGS="$OLDCPPFLAGS" 961 LDFLAGS="$OLDLDFLAGS" 962 LIBS="$OLDLIBS" 963 if test "$ac_cv_lib_pcre_pcre_compile" = "yes" ; then 964 AC_MSG_RESULT(.setting PCRE_LIBS -L$with_pcre/lib -lpcre) 965 PCRE_LIBS="-L$with_pcre/lib -lpcre" 966 test -d "$with_pcre/include" && PCRE_CFLAGS="-I$with_pcre/include" 967 AC_MSG_CHECKING([lib pcre]) 968 AC_MSG_RESULT([$PCRE_LIBS]) 969 m4_ifval($1,$1) 970 else 971 AC_MSG_CHECKING([lib pcre]) 972 AC_MSG_RESULT([no, (WARNING)]) 973 m4_ifval($2,$2) 974 fi 975 fi 976 fi 977 AC_SUBST([PCRE_LIBS]) 978 AC_SUBST([PCRE_CFLAGS]) 979 ]) 1.8.3/branches/gc/config.h.in
r1129 r1284 67 67 #undef HAVE_SYS_UIO_H 68 68 69 #undef HAVE_POLL_H 70 71 #undef HAVE_SYS_EPOLL_H 72 73 #undef HAVE_SYS_SELECT_H 74 69 75 /* C99ish headers. The first two are really really nice to have. */ 70 76 … … 88 94 #define HAS_OPENSSL 89 95 #endif 96 97 #undef HAVE_PCRE 90 98 91 99 /* Types */ … … 277 285 #undef HAVE_GETPPID 278 286 287 #undef HAVE_PSELECT 288 289 #undef HAVE_POLL 290 291 #undef HAVE_PPOLL 292 293 #undef HAVE_POLLTS 294 279 295 #undef HAVE_KQUEUE 296 297 #undef HAVE_EPOLL_CTL 280 298 281 299 #undef HAVE_VALLOC 1.8.3/branches/gc/configure
r1129 r1284 682 682 EGREP 683 683 HAVE_SSL 684 PCRE_LIBS 685 PCRE_CFLAGS 684 686 MYSQL_CONFIG 685 687 MYSQL_VERSION … … 1284 1286 with the default search path) 1285 1287 1288 --with-pcre[=prefix] path to system pcre 1286 1289 --with-mysql=[ARG] use MySQL client library [default=yes], optionally 1287 1290 specify path to mysql_config … … 7303 7306 7304 7307 7308 7309 7310 for ac_header in poll.h sys/epoll.h sys/select.h 7311 do 7312 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7313 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7314 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7316 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7317 echo $ECHO_N "(cached) $ECHO_C" >&6 7318 fi 7319 ac_res=`eval echo '${'$as_ac_Header'}'` 7320 { echo "$as_me:$LINENO: result: $ac_res" >&5 7321 echo "${ECHO_T}$ac_res" >&6; } 7322 else 7323 # Is the header compilable? 7324 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7325 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7326 cat >conftest.$ac_ext <<_ACEOF 7327 /* confdefs.h. */ 7328 _ACEOF 7329 cat confdefs.h >>conftest.$ac_ext 7330 cat >>conftest.$ac_ext <<_ACEOF 7331 /* end confdefs.h. */ 7332 $ac_includes_default 7333 #include <$ac_header> 7334 _ACEOF 7335 rm -f conftest.$ac_objext 7336 if { (ac_try="$ac_compile" 7337 case "(($ac_try" in 7338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7339 *) ac_try_echo=$ac_try;; 7340 esac 7341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7342 (eval "$ac_compile") 2>conftest.er1 7343 ac_status=$? 7344 grep -v '^ *+' conftest.er1 >conftest.err 7345 rm -f conftest.er1 7346 cat conftest.err >&5 7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7348 (exit $ac_status); } && { 7349 test -z "$ac_c_werror_flag" || 7350 test ! -s conftest.err 7351 } && test -s conftest.$ac_objext; then 7352 ac_header_compiler=yes 7353 else 7354 echo "$as_me: failed program was:" >&5 7355 sed 's/^/| /' conftest.$ac_ext >&5 7356 7357 ac_header_compiler=no 7358 fi 7359 7360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7361 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7362 echo "${ECHO_T}$ac_header_compiler" >&6; } 7363 7364 # Is the header present? 7365 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7367 cat >conftest.$ac_ext <<_ACEOF 7368 /* confdefs.h. */ 7369 _ACEOF 7370 cat confdefs.h >>conftest.$ac_ext 7371 cat >>conftest.$ac_ext <<_ACEOF 7372 /* end confdefs.h. */ 7373 #include <$ac_header> 7374 _ACEOF 7375 if { (ac_try="$ac_cpp conftest.$ac_ext" 7376 case "(($ac_try" in 7377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7378 *) ac_try_echo=$ac_try;; 7379 esac 7380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7381 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7382 ac_status=$? 7383 grep -v '^ *+' conftest.er1 >conftest.err 7384 rm -f conftest.er1 7385 cat conftest.err >&5 7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7387 (exit $ac_status); } >/dev/null && { 7388 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7389 test ! -s conftest.err 7390 }; then 7391 ac_header_preproc=yes 7392 else 7393 echo "$as_me: failed program was:" >&5 7394 sed 's/^/| /' conftest.$ac_ext >&5 7395 7396 ac_header_preproc=no 7397 fi 7398 7399 rm -f conftest.err conftest.$ac_ext 7400 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7401 echo "${ECHO_T}$ac_header_preproc" >&6; } 7402 7403 # So? What about this header? 7404 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7405 yes:no: ) 7406 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7407 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7409 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7410 ac_header_preproc=yes 7411 ;; 7412 no:yes:* ) 7413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7417 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7418 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7419 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7420 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7423 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7424 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7425 7426 ;; 7427 esac 7428 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7431 echo $ECHO_N "(cached) $ECHO_C" >&6 7432 else 7433 eval "$as_ac_Header=\$ac_header_preproc" 7434 fi 7435 ac_res=`eval echo '${'$as_ac_Header'}'` 7436 { echo "$as_me:$LINENO: result: $ac_res" >&5 7437 echo "${ECHO_T}$ac_res" >&6; } 7438 7439 fi 7440 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7441 cat >>confdefs.h <<_ACEOF 7442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7443 _ACEOF 7444 7445 fi 7446 7447 done 7448 7305 7449 ### C language support 7306 7450 # Only need to check C99 and GNU extensions … … 11591 11735 11592 11736 if test "$HAVE_SSL" = "yes"; then 11593 cat >>confdefs.h <<\_ACEOF11737 cat >>confdefs.h <<\_ACEOF 11594 11738 #define HAVE_SSL 1 11739 _ACEOF 11740 11741 fi 11742 11743 # system libpcre 11744 { echo "$as_me:$LINENO: checking lib pcre" >&5 11745 echo $ECHO_N "checking lib pcre... $ECHO_C" >&6; } 11746 11747 # Check whether --with-pcre was given. 11748 if test "${with_pcre+set}" = set; then 11749 withval=$with_pcre; 11750 else 11751 with_pcre="yes" 11752 fi 11753 11754 if test ".$with_pcre" = ".no" ; then 11755 { echo "$as_me:$LINENO: result: disabled" >&5 11756 echo "${ECHO_T}disabled" >&6; } 11757 11758 else 11759 { echo "$as_me:$LINENO: result: (testing)" >&5 11760 echo "${ECHO_T}(testing)" >&6; } 11761 11762 { echo "$as_me:$LINENO: checking for pcre_study in -lpcre" >&5 11763 echo $ECHO_N "checking for pcre_study in -lpcre... $ECHO_C" >&6; } 11764 if test "${ac_cv_lib_pcre_pcre_study+set}" = set; then 11765 echo $ECHO_N "(cached) $ECHO_C" >&6 11766 else 11767 ac_check_lib_save_LIBS=$LIBS 11768 LIBS="-lpcre $LIBS" 11769 cat >conftest.$ac_ext <<_ACEOF 11770 /* confdefs.h. */ 11771 _ACEOF 11772 cat confdefs.h >>conftest.$ac_ext 11773 cat >>conftest.$ac_ext <<_ACEOF 11774 /* end confdefs.h. */ 11775 11776 /* Override any GCC internal prototype to avoid an error. 11777 Use char because int might match the return type of a GCC 11778 builtin and then its argument prototype would still apply. */ 11779 #ifdef __cplusplus 11780 extern "C" 11781 #endif 11782 char pcre_study (); 11783 int 11784 main () 11785 { 11786 return pcre_study (); 11787 ; 11788 return 0; 11789 } 11790 _ACEOF 11791 rm -f conftest.$ac_objext conftest$ac_exeext 11792 if { (ac_try="$ac_link" 11793 case "(($ac_try" in 11794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11795 *) ac_try_echo=$ac_try;; 11796 esac 11797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11798 (eval "$ac_link") 2>conftest.er1 11799 ac_status=$? 11800 grep -v '^ *+' conftest.er1 >conftest.err 11801 rm -f conftest.er1 11802 cat conftest.err >&5 11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11804 (exit $ac_status); } && { 11805 test -z "$ac_c_werror_flag" || 11806 test ! -s conftest.err 11807 } && test -s conftest$ac_exeext && 11808 $as_test_x conftest$ac_exeext; then 11809 ac_cv_lib_pcre_pcre_study=yes 11810 else 11811 echo "$as_me: failed program was:" >&5 11812 sed 's/^/| /' conftest.$ac_ext >&5 11813 11814 ac_cv_lib_pcre_pcre_study=no 11815 fi 11816 11817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11818 conftest$ac_exeext conftest.$ac_ext 11819 LIBS=$ac_check_lib_save_LIBS 11820 fi 11821 { echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_pcre_study" >&5 11822 echo "${ECHO_T}$ac_cv_lib_pcre_pcre_study" >&6; } 11823 if test $ac_cv_lib_pcre_pcre_study = yes; then 11824 cat >>confdefs.h <<_ACEOF 11825 #define HAVE_LIBPCRE 1 11826 _ACEOF 11827 11828 LIBS="-lpcre $LIBS" 11829 11830 fi 11831 11832 if test "$ac_cv_lib_pcre_pcre_study" = "yes" ; then 11833 PCRE_LIBS="-lpcre" 11834 { echo "$as_me:$LINENO: checking lib pcre" >&5 11835 echo $ECHO_N "checking lib pcre... $ECHO_C" >&6; } 11836 { echo "$as_me:$LINENO: result: $PCRE_LIBS" >&5 11837 echo "${ECHO_T}$PCRE_LIBS" >&6; } 11838 11839 else 11840 OLDLDFLAGS="$LDFLAGS" ; LDFLAGS="$LDFLAGS -L$with_pcre/lib" 11841 OLDCPPFLAGS="$CPPFLAGS" ; CPPFLAGS="$CPPFLAGS -I$with_pcre/include" 11842 OLDLIBS="$LIBS" 11843 11844 { echo "$as_me:$LINENO: checking for pcre_compile in -lpcre" >&5 11845 echo $ECHO_N "checking for pcre_compile in -lpcre... $ECHO_C" >&6; } 11846 if test "${ac_cv_lib_pcre_pcre_compile+set}" = set; then 11847 echo $ECHO_N "(cached) $ECHO_C" >&6 11848 else 11849 ac_check_lib_save_LIBS=$LIBS 11850 LIBS="-lpcre $LIBS" 11851 cat >conftest.$ac_ext <<_ACEOF 11852 /* confdefs.h. */ 11853 _ACEOF 11854 cat confdefs.h >>conftest.$ac_ext 11855 cat >>conftest.$ac_ext <<_ACEOF 11856 /* end confdefs.h. */ 11857 11858 /* Override any GCC internal prototype to avoid an error. 11859 Use char because int might match the return type of a GCC 11860 builtin and then its argument prototype would still apply. */ 11861 #ifdef __cplusplus 11862 extern "C" 11863 #endif 11864 char pcre_compile (); 11865 int 11866 main () 11867 { 11868 return pcre_compile (); 11869 ; 11870 return 0; 11871 } 11872 _ACEOF 11873 rm -f conftest.$ac_objext conftest$ac_exeext 11874 if { (ac_try="$ac_link" 11875 case "(($ac_try" in 11876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11877 *) ac_try_echo=$ac_try;; 11878 esac 11879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11880 (eval "$ac_link") 2>conftest.er1 11881 ac_status=$? 11882 grep -v '^ *+' conftest.er1 >conftest.err 11883 rm -f conftest.er1 11884 cat conftest.err >&5 11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11886 (exit $ac_status); } && { 11887 test -z "$ac_c_werror_flag" || 11888 test ! -s conftest.err 11889 } && test -s conftest$ac_exeext && 11890 $as_test_x conftest$ac_exeext; then 11891 ac_cv_lib_pcre_pcre_compile=yes 11892 else 11893 echo "$as_me: failed program was:" >&5 11894 sed 's/^/| /' conftest.$ac_ext >&5 11895 11896 ac_cv_lib_pcre_pcre_compile=no 11897 fi 11898 11899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11900 conftest$ac_exeext conftest.$ac_ext 11901 LIBS=$ac_check_lib_save_LIBS 11902 fi 11903 { echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_pcre_compile" >&5 11904 echo "${ECHO_T}$ac_cv_lib_pcre_pcre_compile" >&6; } 11905 if test $ac_cv_lib_pcre_pcre_compile = yes; then 11906 cat >>confdefs.h <<_ACEOF 11907 #define HAVE_LIBPCRE 1 11908 _ACEOF 11909 11910 LIBS="-lpcre $LIBS" 11911 11912 fi 11913 11914 CPPFLAGS="$OLDCPPFLAGS" 11915 LDFLAGS="$OLDLDFLAGS" 11916 LIBS="$OLDLIBS" 11917 if test "$ac_cv_lib_pcre_pcre_compile" = "yes" ; then 11918 { echo "$as_me:$LINENO: result: .setting PCRE_LIBS -L$with_pcre/lib -lpcre" >&5 11919 echo "${ECHO_T}.setting PCRE_LIBS -L$with_pcre/lib -lpcre" >&6; } 11920 PCRE_LIBS="-L$with_pcre/lib -lpcre" 11921 test -d "$with_pcre/include" && PCRE_CFLAGS="-I$with_pcre/include" 11922 { echo "$as_me:$LINENO: checking lib pcre" >&5 11923 echo $ECHO_N "checking lib pcre... $ECHO_C" >&6; } 11924 { echo "$as_me:$LINENO: result: $PCRE_LIBS" >&5 11925 echo "${ECHO_T}$PCRE_LIBS" >&6; } 11926 11927 else 11928 { echo "$as_me:$LINENO: checking lib pcre" >&5 11929 echo $ECHO_N "checking lib pcre... $ECHO_C" >&6; } 11930 { echo "$as_me:$LINENO: result: no, (WARNING)" >&5 11931 echo "${ECHO_T}no, (WARNING)" >&6; } 11932 11933 fi 11934 fi 11935 fi 11936 11937 11938 11939 if test "no$PCRE_LIBS" != "no"; then 11940 cat >>confdefs.h <<\_ACEOF 11941 #define HAVE_PCRE 1 11595 11942 _ACEOF 11596 11943 … … 12319 12666 12320 12667 _ACEOF 12321 rm -f conftest.$ac_objext 12322 if { (ac_try="$ac_ compile"12323 case "(($ac_try" in 12324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12325 *) ac_try_echo=$ac_try;; 12326 esac 12327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12328 (eval "$ac_ compile") 2>conftest.er112668 rm -f conftest.$ac_objext conftest$ac_exeext 12669 if { (ac_try="$ac_link" 12670 case "(($ac_try" in 12671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12672 *) ac_try_echo=$ac_try;; 12673 esac 12674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12675 (eval "$ac_link") 2>conftest.er1 12329 12676 ac_status=$? 12330 12677 grep -v '^ *+' conftest.er1 >conftest.err … … 12335 12682 test -z "$ac_c_werror_flag" || 12336 12683 test ! -s conftest.err 12337 } && test -s conftest.$ac_objext; then 12684 } && test -s conftest$ac_exeext && 12685 $as_test_x conftest$ac_exeext; then 12338 12686 { echo "$as_me:$LINENO: result: yes" >&5 12339 12687 echo "${ECHO_T}yes" >&6; } … … 12350 12698 fi 12351 12699 12352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12701 conftest$ac_exeext conftest.$ac_ext 12353 12702 12354 12703 { echo "$as_me:$LINENO: checking for gai_strerror" >&5 … … 14178 14527 14179 14528 14180 14181 for ac_func in socketpair sigaction sigprocmask imaxdiv kqueue valloc writev 14529 for ac_func in socketpair sigaction sigprocmask imaxdiv valloc writev 14182 14530 do 14183 14531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` … … 14273 14621 14274 14622 14275 for ac_func in fcntl 14623 14624 14625 14626 14627 14628 14629 for ac_func in fcntl pselect poll ppoll pollts kqueue epoll_ctl 14276 14630 do 14277 14631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` … … 16559 16913 EGREP!$EGREP$ac_delim 16560 16914 HAVE_SSL!$HAVE_SSL$ac_delim 16915 PCRE_LIBS!$PCRE_LIBS$ac_delim 16916 PCRE_CFLAGS!$PCRE_CFLAGS$ac_delim 16561 16917 MYSQL_CONFIG!$MYSQL_CONFIG$ac_delim 16562 16918 MYSQL_VERSION!$MYSQL_VERSION$ac_delim … … 16574 16930 _ACEOF 16575 16931 16576 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8 1; then16932 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then 16577 16933 break 16578 16934 elif $ac_last_try; then 1.8.3/branches/gc/configure.in
r1129 r1284 106 106 AC_CHECK_HEADER(sys/types.h, [AC_DEFINE(I_SYS_TYPES)]) 107 107 AC_CHECK_HEADERS([sys/un.h ieeefp.h sys/resource.h sys/event.h sys/uio.h]) 108 108 AC_CHECK_HEADERS([poll.h sys/epoll.h sys/select.h]) 109 109 ### C language support 110 110 # Only need to check C99 and GNU extensions … … 149 149 CHECK_SSL 150 150 if test "$HAVE_SSL" = "yes"; then 151 AC_DEFINE(HAVE_SSL) 151 AC_DEFINE(HAVE_SSL) 152 fi 153 154 # system libpcre 155 AX_PATH_LIB_PCRE() 156 if test "no$PCRE_LIBS" != "no"; then 157 AC_DEFINE(HAVE_PCRE) 152 158 fi 153 159 … … 163 169 AC_CHECK_FUNCS([fpsetmask fpsetround]) 164 170 AC_MSG_CHECKING([for isnormal]) 165 AC_ COMPILE_IFELSE([171 AC_LINK_IFELSE([ 166 172 #include <math.h> 167 173 int main(void) { … … 191 197 fi 192 198 AC_CHECK_FUNCS([cbrt log2 getuid geteuid seteuid getpriority setpriority]) 193 AC_CHECK_FUNCS([socketpair sigaction sigprocmask imaxdiv kqueuevalloc writev])194 AC_CHECK_FUNCS([fcntl ])199 AC_CHECK_FUNCS([socketpair sigaction sigprocmask imaxdiv valloc writev]) 200 AC_CHECK_FUNCS([fcntl pselect poll ppoll pollts kqueue epoll_ctl]) 195 201 196 202 AC_FUNC_SNPRINTF 1.8.3/branches/gc/confmagic.h
r978 r1284 13 13 #define _confmagic_h_ 14 14 15 /* 15 #define inline __inline 16 17 /* 16 18 * (which isn't exportable from the U.S.), then don't encrypt 17 19 */ … … 55 57 #endif 56 58 59 #if defined(HAVE_POLLTS) && !defined(HAVE_PPOLL) 60 /* Linux's ppoll() is identical to NetBSD's pollts() in all but name. */ 61 #define ppoll pollts 62 #define HAVE_PPOLL 57 63 #endif 64 65 #endif 1.8.3/branches/gc/game/txt/hlp/penncmd.hlp
r1129 r1284 356 356 in its new location. 357 357 358 See also: @tel, ACTION LISTS 358 %0 is the object causing the teleport, and %1 is the old location 359 of the teleported object. 360 361 See also: @tel, ACTION LISTS, @tport, @otport, @oxtport 359 362 & @atrchown 360 363 @atrchown <object>/<attribute> = <new_owner>. … … 2564 2567 is teleported to. If you want to set a message that will be shown 2565 2568 to the room that the object is teleported OUT of, use @oxtport. 2569 2570 %0 is the object causing the teleport, and %1 is the old location 2571 of the teleported object. 2566 2572 2567 2573 If the =<message> part is omitted, the message will be reset. … … 3304 3310 @teleport[/silent][/inside] [<object>=] <room>. 3305 3311 3306 Teleports <object> to <room>. <object> must be a thing; if you do not3307 supply a thing, the object is assumed to be yourself. The destination3308 must be either JUMP_OK or controlled by you, and you must either3309 control <object> or <object>'s current location. Also, the destination,3310 if a room, cannot be teleport-locked against <object>. Mortals cannot3311 teleport HEAVY objects. If the target room has a drop-to, <object>3312 will go to the drop-to room instead.3312 Teleports <object> to <room>. <object> must be a thing; if you do 3313 not supply a thing, the object is assumed to be yourself. The 3314 destination must be either JUMP_OK or controlled by you, and you 3315 must either control <object> or <object>'s current location. Also, 3316 the destination, if a room, cannot be teleport-locked against 3317 <object>. Mortals cannot teleport HEAVY objects. If the target room 3318 has a drop-to, <object> will go to the drop-to room instead. 3313 3319 3314 3320 Privileged players who teleport a player to another player send them 3315 to the location of the target, unless the /inside switch is used, 3316 inwhich case they are sent to the inventory of the target.3321 to the location of the target, unless the /inside switch is used, in 3322 which case they are sent to the inventory of the target. 3317 3323 3318 3324 Teleportation from a room can be stopped by setting the NO_TEL flag. 3319 Royalty and Wizards can _always_ teleport to any location, regardless 3320 of NO_TEL or teleport locks. 3321 3322 Teleportation triggers the @oxtport/@tport/@otport/@atport attributes, 3323 unless <room> is an exit or the /silent switch is given. 3324 3325 As a special case, using "home" as the <room> teleports the object 3326 to its home. 3325 Royalty and Wizards can _always_ teleport to any location, 3326 regardless of NO_TEL or teleport locks. 3327 3328 Teleportation triggers the @oxtport/@tport/@otport/@atport 3329 attributes, unless <room> is an exit or the /silent switch is 3330 given. With @oxtport, %0 is the dbref of the object causing the 3331 dbref. The others, in addition to %0, get the former location of the 3332 object that was teleported passed in %1. 3333 3334 As a special case, using "home" as the <room> has the same effect as 3335 the home command, and does not act like a normal teleport. 3327 3336 3328 3337 See also: JUMP_OK, NO_TEL, @oxtport, @tport, @otport, @atport, @lock … … 3331 3340 3332 3341 Sets the <message> shown to <object> when <object> is teleported. 3342 3343 %0 is the object causing the teleport, and %1 is the old location 3344 of the teleported object. 3345 3346 See also: @otport, @atport, @oxtport 3333 3347 & @trigger 3334 3348 @trigger <object>/<attribute> [=<value 0>,<val. 1>,...,<val 9>] 1.8.3/branches/gc/game/txt/hlp/pennfunc.hlp
r1129 r1284 2274 2274 log(<number>[, <base>]) 2275 2275 2276 Returns the logarithm (base 10, or the given base) of <number>. 2276 Returns the logarithm (base 10, or the given base) of <number>. 2277 <base> can be a floating-point number, or 'e' for the natural 2278 logarithm. 2279 2280 See also: ln() 2277 2281 & LPARENT() 2278 2282 lparent(<object>) 1.8.3/branches/gc/game/txt/hlp/penntop.hlp
r981 r1284 1050 1050 halt Can @halt others' objects and do @allhalt. 1051 1051 hide Can hide on the WHO list. 1052 hook Can use the @hook command. 1052 1053 idle No inactivity timeout. 1053 1054 link_anywhere Can @link an exit to anyplace. 1.8.3/branches/gc/game/txt/hlp/pennv182.hlp
r1129 r1284 1
