PennMUSH Community

Changeset 499

Show
Ignore:
Timestamp:
08/16/06 02:31:03 (2 years ago)
Author:
pennmush
Message:

PennMUSH 1.8.0p8 Archival

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.0/CHANGES.180

    r497 r499  
    1212 
    1313========================================================================== 
     14 
     15Version 1.8.0 patchlevel 8                      September 15, 2005 
     16 
     17Fixes: 
     18  * /noflagcopy switch to @cpattr/@mvattr works now. Report by 
     19    Kimiko Muffin. 
     20  * SHS encryption now works on 64-bit architectures that define 
     21    uint32_t. Report by Licenser@M*U*S*H. 
     22  * MySQL detection by Configure was accidentally removed 
     23    in 1.8.0p7/1.8.1p2. It's back. Report by Walker@M*U*S*H. 
     24    Same applies to SO_KEEPIDLE and some other Configure units. 
     25 
    1426 
    1527Version 1.8.0 patchlevel 7                      August 29, 2005 
  • 1.8.0/Configure

    r479 r499  
    1919# 
    2020 
    21 # $Id: Configure 1.21.1.4.1.1.1.1.1.1.1.7.1.14 Mon, 28 Jun 2004 09:33:37 -0500 dunemush $ 
     21# $Id: Head.U 1.3 Mon, 10 Nov 2003 14:51:32 -0600 dunemush $ 
    2222# 
    23 # Generated on Mon Jun 28 09:20:55 CDT 2004 [metaconfig 3.0 PL70] 
     23# Generated on Thu Sep 15 18:12:50 CDT 2005 [metaconfig 3.0 PL70] 
    2424 
    2525cat >/tmp/c1$$ <<EOF 
     
    356356d_timelocal='' 
    357357d_toupper='' 
     358d_uint32_t='' 
    358359d_uptime='' 
    359360d_urandom='' 
     
    383384i_setjmp='' 
    384385i_stddef='' 
     386i_stdint='' 
    385387i_stdlib='' 
    386388i_string='' 
     
    53145316$rm -f test_toupper* core 
    53155317 
    5316 : uptime 
    5317 echo " " 
    5318 if $test -x $uptime ; then 
    5319     val="$define" 
    5320 else 
    5321     val="$undef" 
    5322 fi 
    5323 set d_uptime; eval $setvar 
    5324  
    5325 : see if /dev/urandom is present 
    5326 echo " " 
    5327 if $test -c /dev/urandom ; then 
    5328     val="$define" 
    5329 else 
    5330     val="$undef" 
    5331 fi 
    5332 set d_urandom; eval $setvar 
    5333  
    5334 : see if union wait is available 
    5335 echo " " 
    5336 set X $cppflags 
    5337 shift 
    5338 flags='' 
    5339 also='' 
    5340 for f in $*; do 
    5341     case "$f" in 
    5342     *NO_PROTO*) ;; 
    5343     *) flags="$flags $f";; 
    5344     esac 
    5345 done 
    5346 xxx="`./findhdr sys/wait.h`" 
    5347 case "x$xxx" in 
    5348 x) xxx=/dev/null 
    5349 esac 
    5350 $cat "$xxx" | $cppstdin $flags $cppminus >wait.out 2>/dev/null 
    5351 if $contains 'union.*wait.*{' wait.out >/dev/null 2>&1 ; then 
    5352     echo "Looks like your <sys/wait.h> knows about 'union wait'..." >&4 
    5353     val="$define" 
    5354     also='also ' 
    5355     if $contains 'extern.*wait[     ]*([    ]*int' wait.out >/dev/null 2>&1 
    5356     then 
    5357         echo "But wait() seems to expect an 'int' pointer (POSIX way)." >&4 
    5358         val="$undef" 
    5359         also='' 
    5360     elif $contains 'extern.*wait[   ]*([    ]*union' wait.out >/dev/null 2>&1 
    5361     then 
    5362         echo "And indeed wait() expects an 'union wait' pointer (BSD way)." >&4 
    5363     else 
    5364         echo "So we'll use that for wait()." >&4 
    5365     fi 
    5366 else 
    5367     echo "No trace of 'union wait' in <sys/wait.h>..." >&4 
    5368     val="$undef" 
    5369     echo "Your wait() should be happy with a plain 'int' pointer." >&4 
    5370 fi 
    5371 set d_uwait 
    5372 eval $setvar 
    5373 $rm -f wait.out 
    5374  
    53755318: get C preprocessor symbols handy 
    53765319echo " " 
     
    54795422fi 
    54805423$rm -f ccsym* 
     5424 
     5425: see if this is a stdint system 
     5426val="$undef" 
     5427if $test "`./findhdr stdint.h`"; then 
     5428    val="$define" 
     5429    echo "<stdint.h> found." >&4 
     5430fi 
     5431echo " " 
     5432set i_stdint; eval $setvar 
     5433: see if we have uint32_t 
     5434echo "Let's try to figure out a really big double." >&4 
     5435echo " " 
     5436    $cat >d_uint32.c <<EOCP 
     5437#include <stdio.h> 
     5438#$i_stdint I_STDINT 
     5439#ifdef I_STDINT 
     5440#include <stdint.h> 
     5441#endif 
     5442 
     5443int main() 
     5444{ 
     5445  uint32_t a; 
     5446  a = 2*2*2*2; 
     5447  a *= a; /* 2^8 */ 
     5448  a *= a; /* 2^16 */ 
     5449  a *= a; /* 2^32 */ 
     5450  a += 1; /* 2^32 + 1 */ 
     5451  if (a == 1) 
     5452    printf("ok\n"); 
     5453  else 
     5454    printf("not ok\n"); 
     5455} 
     5456EOCP 
     5457 
     5458if $cc $ccflags $ldflags d_uint32.c -o d_uint32 $libs >/dev/null 2>&1; then 
     5459          val=`./d_uint32` 
     5460          if test $val = "ok" ; then 
     5461        val="$define" 
     5462        set d_uint32_t; eval $setvar 
     5463        echo "You have uint32_t." >&4 
     5464      else 
     5465        val="$undef" 
     5466        set d_uint32_t; eval $setvar 
     5467        echo "You don't have uint32_t, hope you're a 32 bit machine." >&4 
     5468      fi 
     5469else 
     5470      val="$undef" 
     5471      set d_uint32_t; eval $setvar 
     5472      echo "I can't tell if you have uint32_t, hope you're a 32 bit machine." >&4 
     5473fi 
     5474 
     5475$rm -f d_uint32* 
     5476 
     5477: uptime 
     5478echo " " 
     5479if $test -x $uptime ; then 
     5480    val="$define" 
     5481else 
     5482    val="$undef" 
     5483fi 
     5484set d_uptime; eval $setvar 
     5485 
     5486: see if /dev/urandom is present 
     5487echo " " 
     5488if $test -c /dev/urandom ; then 
     5489    val="$define" 
     5490else 
     5491    val="$undef" 
     5492fi 
     5493set d_urandom; eval $setvar 
     5494 
     5495: see if union wait is available 
     5496echo " " 
     5497set X $cppflags 
     5498shift 
     5499flags='' 
     5500also='' 
     5501for f in $*; do 
     5502    case "$f" in 
     5503    *NO_PROTO*) ;; 
     5504    *) flags="$flags $f";; 
     5505    esac 
     5506done 
     5507xxx="`./findhdr sys/wait.h`" 
     5508case "x$xxx" in 
     5509x) xxx=/dev/null 
     5510esac 
     5511$cat "$xxx" | $cppstdin $flags $cppminus >wait.out 2>/dev/null 
     5512if $contains 'union.*wait.*{' wait.out >/dev/null 2>&1 ; then 
     5513    echo "Looks like your <sys/wait.h> knows about 'union wait'..." >&4 
     5514    val="$define" 
     5515    also='also ' 
     5516    if $contains 'extern.*wait[     ]*([    ]*int' wait.out >/dev/null 2>&1 
     5517    then 
     5518        echo "But wait() seems to expect an 'int' pointer (POSIX way)." >&4 
     5519        val="$undef" 
     5520        also='' 
     5521    elif $contains 'extern.*wait[   ]*([    ]*union' wait.out >/dev/null 2>&1 
     5522    then 
     5523        echo "And indeed wait() expects an 'union wait' pointer (BSD way)." >&4 
     5524    else 
     5525        echo "So we'll use that for wait()." >&4 
     5526    fi 
     5527else 
     5528    echo "No trace of 'union wait' in <sys/wait.h>..." >&4 
     5529    val="$undef" 
     5530    echo "Your wait() should be happy with a plain 'int' pointer." >&4 
     5531fi 
     5532set d_uwait 
     5533eval $setvar 
     5534$rm -f wait.out 
    54815535 
    54825536: see if this is a termio system 
     
    69897043d_timelocal='$d_timelocal' 
    69907044d_toupper='$d_toupper' 
     7045d_uint32_t='$d_uint32_t' 
    69917046d_uptime='$d_uptime' 
    69927047d_urandom='$d_urandom' 
     
    70407095i_stdarg='$i_stdarg' 
    70417096i_stddef='$i_stddef' 
     7097i_stdint='$i_stdint' 
    70427098i_stdlib='$i_stdlib' 
    70437099i_string='$i_string' 
  • 1.8.0/Patchlevel

    r497 r499  
    11Do not edit this file. It is maintained by the official PennMUSH patches. 
    2 This is PennMUSH 1.8.0p7 
     2This is PennMUSH 1.8.0p8 
  • 1.8.0/config_h.SH

    r479 r499  
    2626 * For a more permanent change edit config.sh and rerun config_h.SH. 
    2727 * 
    28  * \$Id: config_h.SH 1.17.1.2.1.1.1.11 Mon, 24 May 2004 14:14:15 -0500 dunemush
     28 * \$Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp
    2929 */ 
    3030 
     
    730730#$d_toupper HAS_SAFE_TOUPPER /**/ 
    731731 
     732/* HAS_UINT32_T: 
     733 *  If defined, this system has the uint32_t type. 
     734 */ 
     735#$d_uint32_t HAS_UINT32_T   /**/ 
     736 
    732737/* UPTIME_PATH: 
    733738 *  This symbol gives the full path to the uptime(1) program if 
     
    808813#$i_setjmp I_SETJMP     /**/ 
    809814 
     815/* I_STDINT: 
     816 *  This symbol, if defined, indicates that the program should include 
     817 *  <stdint.h>. 
     818 */ 
     819#$i_stdint I_STDINT     /**/ 
     820 
    810821/* USE_TIOCNOTTY: 
    811822 *  This symbol, if defined indicate to the C program that the ioctl() 
  • 1.8.0/confmagic.h

    r479 r499  
    77 * without the -M option. 
    88 * 
    9  *  $Id: confmagic.h 1.9 Fri, 15 Feb 2002 16:56:28 -0600 dunemush
     9 *  $Id: Magic_h.U,v 3.0.1.2 1993/11/10 17:32:58 ram Exp
    1010 */ 
    1111 
  • 1.8.0/game/txt/hlp/pennv180.hlp

    r497 r499  
    1 & 1.8.0p7 
     1& 1.8.0p8 
    22& changes 
    33This is a list of changes in this patchlevel which are probably of 
     
    1212be read in 'help patchlevels'. 
    1313 
     14Version 1.8.0 patchlevel 8                      September 15, 2005 
     15 
     16Fixes: 
     17  * /noflagcopy switch to @cpattr/@mvattr works now. Report by 
     18    Kimiko Muffin. 
     19  * SHS encryption now works on 64-bit architectures that define 
     20    uint32_t. Report by Licenser@M*U*S*H. 
     21  * MySQL detection by Configure was accidentally removed 
     22    in 1.8.0p7/1.8.1p2. It's back. Report by Walker@M*U*S*H. 
     23    Same applies to SO_KEEPIDLE and some other Configure units. 
     24 
     25 
     26& 1.8.0p7 
    1427Version 1.8.0 patchlevel 7                      August 29, 2005 
    1528 
  • 1.8.0/game/txt/hlp/pennvOLD.hlp

    r497 r499  
    44184418type 'help <version>p<patchlevel>'. For example, 'help 1.7.2p3' 
    44194419 
    4420 1.8.0: 0, 1, 2, 3, 4, 5, 6, 7 
     44201.8.0: 0, 1, 2, 3, 4, 5, 6, 7, 8 
    442144211.7.7: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 
    44224422       19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 
  • 1.8.0/hdrs/shs.h

    r461 r499  
    33 
    44#include "config.h" 
     5#ifdef I_STDINT 
     6#include <stdint.h> 
     7#endif 
    58#include "confmagic.h" 
    69 
     
    1619#else 
    1720typedef unsigned char BYTE; 
     21#ifdef HAS_UINT32_T 
     22typedef uint32_t LONG; 
     23#else 
    1824typedef unsigned long LONG; 
     25#endif 
    1926#endif 
    2027 
  • 1.8.0/hdrs/version.h

    r497 r499  
    11#define VERSION "1.8.0" 
    2 #define PATCHLEVEL "7
    3 #define PATCHDATE "[08/29/2005]" 
    4 #define NUMVERSION 1008000007 
     2#define PATCHLEVEL "8
     3#define PATCHDATE "[09/15/2005]" 
     4#define NUMVERSION 1008000008 
  • 1.8.0/src/command.c

    r495 r499  
    9494   "SET LOWERCASE LIST GLOBALS DEFAULTS COSTS FLAGS FUNCTIONS COMMANDS ATTRIBS", 
    9595   cmd_config, CMD_T_ANY | CMD_T_EQSPLIT, 0, 0}, 
    96   {"@CPATTR", "CONVERT", cmd_cpattr, CMD_T_ANY | CMD_T_EQSPLIT | CMD_T_RS_ARGS, 
     96  {"@CPATTR", "CONVERT NOFLAGCOPY", cmd_cpattr, 
     97   CMD_T_ANY | CMD_T_EQSPLIT | CMD_T_RS_ARGS, 
    9798   0, 0}, 
    9899  {"@CREATE", NULL, cmd_create, CMD_T_ANY | CMD_T_EQSPLIT | CMD_T_NOGAGGED, 
     
    181182  {"@MOTD", "CONNECT LIST WIZARD DOWN FULL", cmd_motd, 
    182183   CMD_T_ANY | CMD_T_NOGAGGED, 0, 0}, 
    183   {"@MVATTR", "CONVERT", cmd_mvattr, CMD_T_ANY | CMD_T_EQSPLIT | CMD_T_RS_ARGS, 
     184  {"@MVATTR", "CONVERT NOFLAGCOPY", cmd_mvattr, 
     185   CMD_T_ANY | CMD_T_EQSPLIT | CMD_T_RS_ARGS, 
    184186   0, 0}, 
    185187  {"@NAME", NULL, cmd_name, CMD_T_ANY | CMD_T_EQSPLIT | CMD_T_NOGAGGED