Changeset 499
- Timestamp:
- 08/16/06 02:31:03 (2 years ago)
- Files:
-
- 1.8.0/CHANGES.180 (modified) (1 diff)
- 1.8.0/Configure (modified) (7 diffs)
- 1.8.0/Patchlevel (modified) (1 diff)
- 1.8.0/config_h.SH (modified) (3 diffs)
- 1.8.0/confmagic.h (modified) (1 diff)
- 1.8.0/game/txt/hlp/pennv180.hlp (modified) (2 diffs)
- 1.8.0/game/txt/hlp/pennvOLD.hlp (modified) (1 diff)
- 1.8.0/hdrs/shs.h (modified) (2 diffs)
- 1.8.0/hdrs/version.h (modified) (1 diff)
- 1.8.0/src/command.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.0/CHANGES.180
r497 r499 12 12 13 13 ========================================================================== 14 15 Version 1.8.0 patchlevel 8 September 15, 2005 16 17 Fixes: 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 14 26 15 27 Version 1.8.0 patchlevel 7 August 29, 2005 1.8.0/Configure
r479 r499 19 19 # 20 20 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 $ 22 22 # 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] 24 24 25 25 cat >/tmp/c1$$ <<EOF … … 356 356 d_timelocal='' 357 357 d_toupper='' 358 d_uint32_t='' 358 359 d_uptime='' 359 360 d_urandom='' … … 383 384 i_setjmp='' 384 385 i_stddef='' 386 i_stdint='' 385 387 i_stdlib='' 386 388 i_string='' … … 5314 5316 $rm -f test_toupper* core 5315 5317 5316 : uptime5317 echo " "5318 if $test -x $uptime ; then5319 val="$define"5320 else5321 val="$undef"5322 fi5323 set d_uptime; eval $setvar5324 5325 : see if /dev/urandom is present5326 echo " "5327 if $test -c /dev/urandom ; then5328 val="$define"5329 else5330 val="$undef"5331 fi5332 set d_urandom; eval $setvar5333 5334 : see if union wait is available5335 echo " "5336 set X $cppflags5337 shift5338 flags=''5339 also=''5340 for f in $*; do5341 case "$f" in5342 *NO_PROTO*) ;;5343 *) flags="$flags $f";;5344 esac5345 done5346 xxx="`./findhdr sys/wait.h`"5347 case "x$xxx" in5348 x) xxx=/dev/null5349 esac5350 $cat "$xxx" | $cppstdin $flags $cppminus >wait.out 2>/dev/null5351 if $contains 'union.*wait.*{' wait.out >/dev/null 2>&1 ; then5352 echo "Looks like your <sys/wait.h> knows about 'union wait'..." >&45353 val="$define"5354 also='also '5355 if $contains 'extern.*wait[ ]*([ ]*int' wait.out >/dev/null 2>&15356 then5357 echo "But wait() seems to expect an 'int' pointer (POSIX way)." >&45358 val="$undef"5359 also=''5360 elif $contains 'extern.*wait[ ]*([ ]*union' wait.out >/dev/null 2>&15361 then5362 echo "And indeed wait() expects an 'union wait' pointer (BSD way)." >&45363 else5364 echo "So we'll use that for wait()." >&45365 fi5366 else5367 echo "No trace of 'union wait' in <sys/wait.h>..." >&45368 val="$undef"5369 echo "Your wait() should be happy with a plain 'int' pointer." >&45370 fi5371 set d_uwait5372 eval $setvar5373 $rm -f wait.out5374 5375 5318 : get C preprocessor symbols handy 5376 5319 echo " " … … 5479 5422 fi 5480 5423 $rm -f ccsym* 5424 5425 : see if this is a stdint system 5426 val="$undef" 5427 if $test "`./findhdr stdint.h`"; then 5428 val="$define" 5429 echo "<stdint.h> found." >&4 5430 fi 5431 echo " " 5432 set i_stdint; eval $setvar 5433 : see if we have uint32_t 5434 echo "Let's try to figure out a really big double." >&4 5435 echo " " 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 5443 int 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 } 5456 EOCP 5457 5458 if $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 5469 else 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 5473 fi 5474 5475 $rm -f d_uint32* 5476 5477 : uptime 5478 echo " " 5479 if $test -x $uptime ; then 5480 val="$define" 5481 else 5482 val="$undef" 5483 fi 5484 set d_uptime; eval $setvar 5485 5486 : see if /dev/urandom is present 5487 echo " " 5488 if $test -c /dev/urandom ; then 5489 val="$define" 5490 else 5491 val="$undef" 5492 fi 5493 set d_urandom; eval $setvar 5494 5495 : see if union wait is available 5496 echo " " 5497 set X $cppflags 5498 shift 5499 flags='' 5500 also='' 5501 for f in $*; do 5502 case "$f" in 5503 *NO_PROTO*) ;; 5504 *) flags="$flags $f";; 5505 esac 5506 done 5507 xxx="`./findhdr sys/wait.h`" 5508 case "x$xxx" in 5509 x) xxx=/dev/null 5510 esac 5511 $cat "$xxx" | $cppstdin $flags $cppminus >wait.out 2>/dev/null 5512 if $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 5527 else 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 5531 fi 5532 set d_uwait 5533 eval $setvar 5534 $rm -f wait.out 5481 5535 5482 5536 : see if this is a termio system … … 6989 7043 d_timelocal='$d_timelocal' 6990 7044 d_toupper='$d_toupper' 7045 d_uint32_t='$d_uint32_t' 6991 7046 d_uptime='$d_uptime' 6992 7047 d_urandom='$d_urandom' … … 7040 7095 i_stdarg='$i_stdarg' 7041 7096 i_stddef='$i_stddef' 7097 i_stdint='$i_stdint' 7042 7098 i_stdlib='$i_stdlib' 7043 7099 i_string='$i_string' 1.8.0/Patchlevel
r497 r499 1 1 Do not edit this file. It is maintained by the official PennMUSH patches. 2 This is PennMUSH 1.8.0p 72 This is PennMUSH 1.8.0p8 1.8.0/config_h.SH
r479 r499 26 26 * For a more permanent change edit config.sh and rerun config_h.SH. 27 27 * 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 $ 29 29 */ 30 30 … … 730 730 #$d_toupper HAS_SAFE_TOUPPER /**/ 731 731 732 /* HAS_UINT32_T: 733 * If defined, this system has the uint32_t type. 734 */ 735 #$d_uint32_t HAS_UINT32_T /**/ 736 732 737 /* UPTIME_PATH: 733 738 * This symbol gives the full path to the uptime(1) program if … … 808 813 #$i_setjmp I_SETJMP /**/ 809 814 815 /* I_STDINT: 816 * This symbol, if defined, indicates that the program should include 817 * <stdint.h>. 818 */ 819 #$i_stdint I_STDINT /**/ 820 810 821 /* USE_TIOCNOTTY: 811 822 * This symbol, if defined indicate to the C program that the ioctl() 1.8.0/confmagic.h
r479 r499 7 7 * without the -M option. 8 8 * 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 $ 10 10 */ 11 11 1.8.0/game/txt/hlp/pennv180.hlp
r497 r499 1 & 1.8.0p 71 & 1.8.0p8 2 2 & changes 3 3 This is a list of changes in this patchlevel which are probably of … … 12 12 be read in 'help patchlevels'. 13 13 14 Version 1.8.0 patchlevel 8 September 15, 2005 15 16 Fixes: 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 14 27 Version 1.8.0 patchlevel 7 August 29, 2005 15 28 1.8.0/game/txt/hlp/pennvOLD.hlp
r497 r499 4418 4418 type 'help <version>p<patchlevel>'. For example, 'help 1.7.2p3' 4419 4419 4420 1.8.0: 0, 1, 2, 3, 4, 5, 6, 7 4420 1.8.0: 0, 1, 2, 3, 4, 5, 6, 7, 8 4421 4421 1.7.7: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 4422 4422 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 3 3 4 4 #include "config.h" 5 #ifdef I_STDINT 6 #include <stdint.h> 7 #endif 5 8 #include "confmagic.h" 6 9 … … 16 19 #else 17 20 typedef unsigned char BYTE; 21 #ifdef HAS_UINT32_T 22 typedef uint32_t LONG; 23 #else 18 24 typedef unsigned long LONG; 25 #endif 19 26 #endif 20 27 1.8.0/hdrs/version.h
r497 r499 1 1 #define VERSION "1.8.0" 2 #define PATCHLEVEL " 7"3 #define PATCHDATE "[0 8/29/2005]"4 #define NUMVERSION 100800000 72 #define PATCHLEVEL "8" 3 #define PATCHDATE "[09/15/2005]" 4 #define NUMVERSION 1008000008 1.8.0/src/command.c
r495 r499 94 94 "SET LOWERCASE LIST GLOBALS DEFAULTS COSTS FLAGS FUNCTIONS COMMANDS ATTRIBS", 95 95 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, 97 98 0, 0}, 98 99 {"@CREATE", NULL, cmd_create, CMD_T_ANY | CMD_T_EQSPLIT | CMD_T_NOGAGGED, … … 181 182 {"@MOTD", "CONNECT LIST WIZARD DOWN FULL", cmd_motd, 182 183 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, 184 186 0, 0}, 185 187 {"@NAME", NULL, cmd_name, CMD_T_ANY | CMD_T_EQSPLIT | CMD_T_NOGAGGED
