This is patch01 to PennMUSH 1.8.2. After applying this patch, you will have version 1.8.2p1 To apply this patch, save it to a file in your top-level MUSH directory, and do the following: patch -p1 < 1.8.2-patch01 make clean make install If you use GNU patch 2.2, you probably want the above to be 'patch -b -p1', not just 'patch -p1'. Unix (or cygwin) users need not worry about failed hunks in src/switchinc.c, hdrs/switches.h, hdrs/cmds.h, or hdrs/funs.h. These files are automatically rebuilt on compile. On the off chance they appear not to be, simply rm them and re-run make. Then @shutdown and restart your MUSH. - Ervin/Noltar In this patch: Fixes: * Corrected inadvertent breakage of null comparisons. Patched by Javelin. * Added overview since 1.8.0 to help 1.8.2p0. [EEH] Prereq: 1.8.2p0 *** 1_8_2p0/Patchlevel Sun Nov 26 13:01:17 2006 --- 1_8_2p1/Patchlevel Sun Nov 26 17:44:53 2006 *************** *** 1,2 **** Do not edit this file. It is maintained by the official PennMUSH patches. ! This is PennMUSH 1.8.2p0 --- 1,2 ---- Do not edit this file. It is maintained by the official PennMUSH patches. ! This is PennMUSH 1.8.2p1 *** 1_8_2p0/CHANGES.182 Sun Nov 26 13:01:17 2006 --- 1_8_2p1/CHANGES.182 Sun Nov 26 17:44:53 2006 *************** *** 14,30 **** ========================================================================== Version 1.8.2 patchlevel 0 November 26, 2006 ! Minor Changes: * decompose() now properly handles all manner of spaces, as well as replacing 5 or more spaces with [space()]. Report by Malix. [GM] ! Fixes: * Fix crash bug in decompose(). Report by Malix. * The mush can listen to ports above 32000. Suggested by Nathan Baum. * Fix the mix() bug that prepends the separator to the list. [GM] * Win32 experienced erratic time behavior when compiled with MSVC++ 8 ! or higher. Reported by Intrevis@M*U*S*H, * Win32 project and readme files for MSVC++ 6 and .Net updated. [EEH] * Help fixes by Kevin@M*U*S*H. --- 14,75 ---- ========================================================================== + Version 1.8.2 patchlevel 1 November 26, 2006 + + Fixes: + * Corrected inadvertent breakage of null comparisons. Patched by + Javelin. + * Added overview since 1.8.0 to help 1.8.2p0. [EEH] + + Version 1.8.2 patchlevel 0 November 26, 2006 ! Major Changes (since 1.8.0): ! * Players may have multiple aliases. ! * 'home' is now a standard command. ! * Errors in matching switches to commands are ignored when the command ! is hook/ignored or hook/overriden. ! * @attrib/access no longer treats one-word flag lists that don't match ! a single flag as a set of flag characters. ! * pcre updated to 6.4. ! * NT_TCP code has been removed from the server. ! * The FIXED flag's restriction on 'home' has been moved to restrict.cnf. ! * New commands: @edit/check, @function/preserve, @hook/list, @prompt, ! @nsprompt, @list/locks, UNIMPLEMENTED_COMMAND, PROMPT_NEWLINES, ! @poll/clear. ! * New functions: alias, fullalias, attrib_set, sortkey, namegrab/all, ! ns/prompt, textentries, cdesc, cusers, cmsgs, cbuffer, cstatus, ! clflags, numversion, nl/nsearch, nchildren, decompose, mapsql, ! wildgrep/i, ordinal, ulambda, speak, unique, nextdbref, namelist, ! crecall, l/m/x/xmwhoid, stringsecs ! * New attributes: invformat, mailforwardlist, mailfilter ! * New substitutions: %+, % (percent-space), %i0-%i9, %u ! * New locks: mailforward, take ! * New behaviors: @flag/alias, @attribute/access, flip(), reverse(), ! lsearch(), extract(), center(), setq(), setr(), page, align(), ! regedit(), delete(), @search, @pemit/list, @poll, width(), height(), ! locate(), @chan/recall, insert(), default(), @conformat, link(). ! * New flags: loud, track_money. ! * New powers: pueblo_send, many_attribs. ! * New attribute flags: aahear, amhear. ! * New config directives: channel_flags. ! * New function restriction "localize" causes q-registers to be ! saved and restored around the function as if localize() or ! ulocal() were used; handy for @functions. ! * New DBREFLIST^ lock key checks to see if the enactor ! appears in a list of dbrefs/objids stored on an attribute of ! the object. ! * The LIGHT flag now overrides the DARK flag consistently. ! ! Minor Changes (since 1.8.1): * decompose() now properly handles all manner of spaces, as well as replacing 5 or more spaces with [space()]. Report by Malix. [GM] ! Fixes (since 1.8.1): * Fix crash bug in decompose(). Report by Malix. * The mush can listen to ports above 32000. Suggested by Nathan Baum. * Fix the mix() bug that prepends the separator to the list. [GM] * Win32 experienced erratic time behavior when compiled with MSVC++ 8 ! or higher. Reported by Intrevis@M*U*S*H. * Win32 project and readme files for MSVC++ 6 and .Net updated. [EEH] * Help fixes by Kevin@M*U*S*H. *** 1_8_2p0/game/txt/hlp/pennv182.hlp Sun Nov 26 13:01:17 2006 --- 1_8_2p1/game/txt/hlp/pennv182.hlp Sun Nov 26 17:44:53 2006 *************** *** 1,4 **** ! & 1.8.2p0 & changes This is a list of changes in this patchlevel which are probably of interest to players. More information about new commands and functions --- 1,4 ---- ! & 1.8.2p1 & changes This is a list of changes in this patchlevel which are probably of interest to players. More information about new commands and functions *************** *** 11,24 **** A list of the patchlevels associated with each release can be read in 'help patchlevels'. Version 1.8.2 patchlevel 0 November 26, 2006 ! Minor Changes: * decompose() now properly handles all manner of spaces, as well as replacing 5 or more spaces with [space()]. Report by Malix. [GM] ! Fixes: * Fix crash bug in decompose(). Report by Malix. * The mush can listen to ports above 32000. Suggested by Nathan Baum. * Fix the mix() bug that prepends the separator to the list. [GM] --- 11,69 ---- A list of the patchlevels associated with each release can be read in 'help patchlevels'. + Version 1.8.2 patchlevel 1 November 26, 2006 + + Fixes: + * Corrected inadvertent breakage of null comparisons. Patched by + Javelin. + * Added overview since 1.8.0 to help 1.8.2p0. [EEH] + + & 1.8.2p0 Version 1.8.2 patchlevel 0 November 26, 2006 ! Major Changes (since 1.8.0): ! * Players may have multiple aliases. ! * 'home' is now a standard command. ! * Errors in matching switches to commands are ignored when the command ! is hook/ignored or hook/overriden. ! * @attrib/access no longer treats one-word flag lists that don't match ! a single flag as a set of flag characters. ! * pcre updated to 6.4. ! * NT_TCP code has been removed from the server. ! * The FIXED flag's restriction on 'home' has been moved to restrict.cnf. ! * New commands: @edit/check, @function/preserve, @hook/list, @prompt, ! @nsprompt, @list/locks, UNIMPLEMENTED_COMMAND, PROMPT_NEWLINES, ! @poll/clear. ! * New functions: alias, fullalias, attrib_set, sortkey, namegrab/all, ! ns/prompt, textentries, cdesc, cusers, cmsgs, cbuffer, cstatus, ! clflags, numversion, nl/nsearch, nchildren, decompose, mapsql, ! wildgrep/i, ordinal, ulambda, speak, unique, nextdbref, namelist, ! crecall, l/m/x/xmwhoid, stringsecs ! * New attributes: invformat, mailforwardlist, mailfilter ! * New substitutions: %+, % (percent-space), %i0-%i9, %u ! * New locks: mailforward, take ! * New behaviors: @flag/alias, @attribute/access, flip(), reverse(), ! lsearch(), extract(), center(), setq(), setr(), page, align(), ! regedit(), delete(), @search, @pemit/list, @poll, width(), height(), ! locate(), @chan/recall, insert(), default(), @conformat, link(). ! * New flags: loud, track_money. ! * New powers: pueblo_send, many_attribs. ! * New attribute flags: aahear, amhear. ! * New config directives: channel_flags. ! * New function restriction "localize" causes q-registers to be ! saved and restored around the function as if localize() or ! ulocal() were used; handy for @functions. ! * New DBREFLIST^ lock key checks to see if the enactor ! appears in a list of dbrefs/objids stored on an attribute of ! the object. ! * The LIGHT flag now overrides the DARK flag consistently. ! ! Minor Changes (since 1.8.1): * decompose() now properly handles all manner of spaces, as well as replacing 5 or more spaces with [space()]. Report by Malix. [GM] ! Fixes (since 1.8.1): * Fix crash bug in decompose(). Report by Malix. * The mush can listen to ports above 32000. Suggested by Nathan Baum. * Fix the mix() bug that prepends the separator to the list. [GM] *** 1_8_2p0/hdrs/version.h Sun Nov 26 13:01:17 2006 --- 1_8_2p1/hdrs/version.h Sun Nov 26 17:44:53 2006 *************** *** 1,4 **** #define VERSION "1.8.2" ! #define PATCHLEVEL "0" #define PATCHDATE "[11/26/2006]" ! #define NUMVERSION 1008002000 --- 1,4 ---- #define VERSION "1.8.2" ! #define PATCHLEVEL "1" #define PATCHDATE "[11/26/2006]" ! #define NUMVERSION 1008002001 *** 1_8_2p0/po/Makefile Sun Nov 26 13:01:17 2006 --- 1_8_2p1/po/Makefile Sun Nov 26 17:44:53 2006 *************** *** 1,7 **** .SUFFIXES: .po .pox .mo POFILES=ru_RU.po nl_NL.po sv_SE.po hu_HU.po es_ES.po pt_BR.po fr_FR.po \ ! da_DK.po de_DE.po no_NO.po pl_PL.po ro_RO.po id_ID.po eo.po bg_BG.po pt_PT.po \ zh_TW.po .pox.po: $*.pox pennmush.pot --- 1,7 ---- .SUFFIXES: .po .pox .mo POFILES=ru_RU.po nl_NL.po sv_SE.po hu_HU.po es_ES.po pt_BR.po fr_FR.po \ ! da_DK.po de_DE.po no_NO.po pl_PL.po ro_RO.po id_ID.po eo.po hr_HR.po pt_PT.po \ zh_TW.po .pox.po: $*.pox pennmush.pot *** 1_8_2p0/src/wild.c Sun Nov 26 13:01:17 2006 --- 1_8_2p1/src/wild.c Sun Nov 26 17:44:53 2006 *************** *** 615,621 **** return quick_wild_new(s, d, cs); } } else ! return 0; } /** Does a string contain a wildcard character (* or ?)? --- 615,621 ---- return quick_wild_new(s, d, cs); } } else ! return (!d || !*d) ? 1 : 0; } /** Does a string contain a wildcard character (* or ?)?