PennMUSH Community

Changeset 1178

Show
Ignore:
Timestamp:
12/31/07 23:17:07 (1 year ago)
Author:
shawnw
Message:

Update from trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.2/branches/devel/CHANGES.182

    r1153 r1178  
    1313 
    1414========================================================================== 
     15 
     16Version 1.8.2 patchlevel 8                     Jan 01, 2008 
     17 
     18Minor changes: 
     19 * 'make versions' now provides some feedback. 
     20 
     21Fixes: 
     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. 
    1527 
    1628Version 1.8.2 patchlevel 7                     October 6, 2007 
  • 1.8.2/branches/devel/Patchlevel

    r1095 r1178  
    11Do not edit this file. It is maintained by the official PennMUSH patches. 
    2 This is PennMUSH 1.8.2p7 
     2This is PennMUSH 1.8.2p8 
  • 1.8.2/branches/devel/game/txt/hlp/pennv182.hlp

    r1116 r1178  
    1 & 1.8.2p7 
     1& 1.8.2p8 
    22& changes 
    33This is a list of changes in this patchlevel which are probably of 
     
    1212be read in 'help patchlevels'. 
    1313 
     14Version 1.8.2 patchlevel 8                     Jan 01, 2008 
     15 
     16Minor changes: 
     17 * 'make versions' now provides some feedback. 
     18 
     19Fixes: 
     20 * width() and height() do not return 0 when set to invalid input. 
     21   By Talvo. 
     22 * Array underflow bug found by running under Valgrind. 
     23 * Crash bug when too many objects are nested. Reported by Paige, fixed 
     24   by Javelin and Intervis. 
     25 
     26& 1.8.2p7 
    1427Version 1.8.2 patchlevel 7                     October 6, 2007 
    1528 
     
    2437  * The open database file wasn't getting closed on a failed save. 
    2538  * Crash bug in sortkey(). Fix by Nathan Baum. 
     39  * Crash bug in pathological container cases reported by Paige@M*U*S*H 
     40    fixed by Javelin. 
    2641  * 'help @desc' brings up @describe instead of @descformat. 
    2742    Suggested by Nymeria. 
  • 1.8.2/branches/devel/game/txt/hlp/pennvOLD.hlp

    r1095 r1178  
    44184418type 'help <version>p<patchlevel>'. For example, 'help 1.7.2p3' 
    44194419 
    4420 1.8.2: 0, 1, 2, 3, 4, 5, 6, 7 
     44201.8.2: 0, 1, 2, 3, 4, 5, 6, 7, 8 
    442144211.8.1: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 
    442244221.8.0: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 
  • 1.8.2/branches/devel/hdrs/version.h

    r1116 r1178  
    11#define VERSION "1.8.2" 
    2 #define PATCHLEVEL "7
    3 #define PATCHDATE "[10/06/2007]" 
    4 #define NUMVERSION 1008002007 
     2#define PATCHLEVEL "8
     3#define PATCHDATE "[01/01/2008]" 
     4#define NUMVERSION 1008002008 
  • 1.8.2/branches/devel/src/bsd.c

    r1086 r1178  
    42644264  if (!*args[0]) 
    42654265    safe_str(T("#-1 FUNCTION REQUIRES ONE ARGUMENT"), buff, bp); 
    4266   else if ((match = lookup_desc(executor, args[0]))
     4266  else if ((match = lookup_desc(executor, args[0])) && match->width > 0
    42674267    safe_integer(match->width, buff, bp); 
    42684268  else if (args[1]) 
     
    42774277  if (!*args[0]) 
    42784278    safe_str(T("#-1 FUNCTION REQUIRES ONE ARGUMENT"), buff, bp); 
    4279   else if ((match = lookup_desc(executor, args[0]))
     4279  else if ((match = lookup_desc(executor, args[0])) && match->height > 0
    42804280    safe_integer(match->height, buff, bp); 
    42814281  else if (args[1]) 
  • 1.8.2/branches/devel/src/strutil.c

    r1010 r1178  
    993993  for (p = str; *p; p++) ; 
    994994  /* And trailing */ 
    995   for (p--; (*p == ' ') && (p > str); p--) ; 
     995  for (p--; p > str && *p == ' '; p--) ; 
    996996  p++; 
    997997  *p = '\0'; 
  • 1.8.2/branches/devel/utils/mkvershlp.pl

    r1029 r1178  
    33# Generate game/txt/hlp/ files from the CHANGES file(s). 
    44# Should be run by Makefile from top-level directory 
     5#  
     6# Requires the extra Sort::Versions module. Install through CPAN. 
    57# 
    68# Usage: mkvershlp game/txt/hlp CHANGES.176 CHANGES.OLD ... 
     
    1315use Text::Wrap; 
    1416 
     17BEGIN { 
     18    print "Rebuilding HELP CHANGES entries...\n"; 
     19} 
     20 
     21END { 
     22    print "Done.\n"; 
     23} 
     24 
    1525my $targetdir = shift; 
    1626my @sources = @ARGV; 
    17 my $verspat = '^Version (\S+) patchlevel (\S+)'; 
     27my $verspat = qr'^Version (\S+) patchlevel (\S+)'; 
    1828my %patchlevels; 
    1929 
     
    2333foreach my $file (@sources) { 
    2434  next if $file =~ /~$/o; 
    25   warn "Can't open $file!\n", next unless open(IN,"<$file")
     35  warn "Can't open $file!\n", next unless open IN, "<", $file
    2636  my $target = $file; 
    2737  $target =~ s/.*\.(.*)/pennv$1.hlp/; 
    28   open(OUT,">$targetdir/$target") or die "Unable to open $targetdir/$target\n"; 
     38  open(OUT,">","$targetdir/$target") or die "Unable to open $targetdir/$target\n"; 
    2939  my $started = 0; 
    3040  while (<IN>) {