Changeset 1178
- Timestamp:
- 12/31/07 23:17:07 (1 year ago)
- Files:
-
- 1.8.2/branches/devel/CHANGES.182 (modified) (1 diff)
- 1.8.2/branches/devel/Patchlevel (modified) (1 diff)
- 1.8.2/branches/devel/game/txt/hlp/pennv182.hlp (modified) (3 diffs)
- 1.8.2/branches/devel/game/txt/hlp/pennvOLD.hlp (modified) (1 diff)
- 1.8.2/branches/devel/hdrs/version.h (modified) (1 diff)
- 1.8.2/branches/devel/src/bsd.c (modified) (2 diffs)
- 1.8.2/branches/devel/src/strutil.c (modified) (1 diff)
- 1.8.2/branches/devel/utils/mkvershlp.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.2/branches/devel/CHANGES.182
r1153 r1178 13 13 14 14 ========================================================================== 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. 15 27 16 28 Version 1.8.2 patchlevel 7 October 6, 2007 1.8.2/branches/devel/Patchlevel
r1095 r1178 1 1 Do not edit this file. It is maintained by the official PennMUSH patches. 2 This is PennMUSH 1.8.2p 72 This is PennMUSH 1.8.2p8 1.8.2/branches/devel/game/txt/hlp/pennv182.hlp
r1116 r1178 1 & 1.8.2p 71 & 1.8.2p8 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.2 patchlevel 8 Jan 01, 2008 15 16 Minor changes: 17 * 'make versions' now provides some feedback. 18 19 Fixes: 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 14 27 Version 1.8.2 patchlevel 7 October 6, 2007 15 28 … … 24 37 * The open database file wasn't getting closed on a failed save. 25 38 * 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. 26 41 * 'help @desc' brings up @describe instead of @descformat. 27 42 Suggested by Nymeria. 1.8.2/branches/devel/game/txt/hlp/pennvOLD.hlp
r1095 r1178 4418 4418 type 'help <version>p<patchlevel>'. For example, 'help 1.7.2p3' 4419 4419 4420 1.8.2: 0, 1, 2, 3, 4, 5, 6, 7 4420 1.8.2: 0, 1, 2, 3, 4, 5, 6, 7, 8 4421 4421 1.8.1: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 4422 4422 1.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 1 1 #define VERSION "1.8.2" 2 #define PATCHLEVEL " 7"3 #define PATCHDATE "[ 10/06/2007]"4 #define NUMVERSION 100800200 72 #define PATCHLEVEL "8" 3 #define PATCHDATE "[01/01/2008]" 4 #define NUMVERSION 1008002008 1.8.2/branches/devel/src/bsd.c
r1086 r1178 4264 4264 if (!*args[0]) 4265 4265 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) 4267 4267 safe_integer(match->width, buff, bp); 4268 4268 else if (args[1]) … … 4277 4277 if (!*args[0]) 4278 4278 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) 4280 4280 safe_integer(match->height, buff, bp); 4281 4281 else if (args[1]) 1.8.2/branches/devel/src/strutil.c
r1010 r1178 993 993 for (p = str; *p; p++) ; 994 994 /* And trailing */ 995 for (p--; (*p == ' ') && (p > str); p--) ;995 for (p--; p > str && *p == ' '; p--) ; 996 996 p++; 997 997 *p = '\0'; 1.8.2/branches/devel/utils/mkvershlp.pl
r1029 r1178 3 3 # Generate game/txt/hlp/ files from the CHANGES file(s). 4 4 # Should be run by Makefile from top-level directory 5 # 6 # Requires the extra Sort::Versions module. Install through CPAN. 5 7 # 6 8 # Usage: mkvershlp game/txt/hlp CHANGES.176 CHANGES.OLD ... … … 13 15 use Text::Wrap; 14 16 17 BEGIN { 18 print "Rebuilding HELP CHANGES entries...\n"; 19 } 20 21 END { 22 print "Done.\n"; 23 } 24 15 25 my $targetdir = shift; 16 26 my @sources = @ARGV; 17 my $verspat = '^Version (\S+) patchlevel (\S+)';27 my $verspat = qr'^Version (\S+) patchlevel (\S+)'; 18 28 my %patchlevels; 19 29 … … 23 33 foreach my $file (@sources) { 24 34 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; 26 36 my $target = $file; 27 37 $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"; 29 39 my $started = 0; 30 40 while (<IN>) {
