This is patch15 to PennMUSH 1.7.6. After applying this patch, you will have version 1.7.6p15 To apply this patch, save it to a file in your top-level MUSH directory, and do the following: patch -p1 < 1.7.6-patch15 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. - Alan/Javelin In this patch: Fixes: * Improved freebsd hints. [SW] * Channel user memory allocation error corrected. Prereq: 1.7.6p14 *** 1_7_6.179/Patchlevel Tue, 23 Sep 2003 20:16:30 -0500 dunemush (pennmush/5_Patchlevel 1.17.1.11.1.1.1.14 600) --- 1_7_6.183(w)/Patchlevel Sun, 25 Jan 2004 20:25:01 -0600 dunemush (pennmush/5_Patchlevel 1.17.1.11.1.1.1.15 600) *************** *** 1,2 **** Do not edit this file. It is maintained by the official PennMUSH patches. ! This is PennMUSH 1.7.6p14 --- 1,2 ---- Do not edit this file. It is maintained by the official PennMUSH patches. ! This is PennMUSH 1.7.6p15 *** 1_7_6.179/CHANGES.176 Wed, 24 Sep 2003 11:52:51 -0500 dunemush (pennmush/g/17_CHANGES 1.10.1.6.1.2.1.2.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1.1.3.1.1.1.1.1.9.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.2.1.1.1.1 600) --- 1_7_6.183(w)/CHANGES.176 Wed, 28 Jan 2004 12:10:31 -0600 dunemush (pennmush/g/17_CHANGES 1.10.1.6.1.2.1.2.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1.1.3.1.1.1.1.1.9.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1 600) *************** *** 18,23 **** --- 18,30 ---- ========================================================================== + Version 1.7.6 patchlevel 15 January 25, 2004 + + Fixes: + * Improved freebsd hints. [SW] + * Channel user memory allocation error corrected. + + Version 1.7.6 patchlevel 14 September 23, 2003 Fixes: *** 1_7_6.179/game/txt/hlp/pennvOLD.hlp Mon, 25 Aug 2003 11:48:44 -0500 dunemush (pennmush/g/30_pennvOLD.h 1.1.1.1.1.1.1.1.1.1.1.1.1.1 660) --- 1_7_6.183(w)/game/txt/hlp/pennvOLD.hlp Wed, 28 Jan 2004 12:10:32 -0600 dunemush (pennmush/g/30_pennvOLD.h 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1 660) *************** *** 4417,4423 **** For information on a specific patchlevel of one of the versions listed, type 'help p'. For example, 'help 1.7.2p3' ! 1.7.6: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 1.7.5: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 1.7.4: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 --- 4417,4423 ---- For information on a specific patchlevel of one of the versions listed, type 'help p'. For example, 'help 1.7.2p3' ! 1.7.6: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 1.7.5: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 1.7.4: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 *** 1_7_6.179/game/txt/hlp/pennv176.hlp Wed, 24 Sep 2003 11:52:51 -0500 dunemush (pennmush/g/33_pennv176.h 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.2.1.1.1.1 660) --- 1_7_6.183(w)/game/txt/hlp/pennv176.hlp Wed, 28 Jan 2004 12:10:32 -0600 dunemush (pennmush/g/33_pennv176.h 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.2.1.1.1.1.1.1.1.2 660) *************** *** 1,4 **** ! & 1.7.6p14 & 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.7.6p15 & 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,16 **** --- 11,24 ---- A list of the patchlevels associated with each release can be read in 'help patchlevels'. + Version 1.7.6 patchlevel 15 January 25, 2004 + + Fixes: + * Improved freebsd hints. [SW] + * Channel user memory allocation error corrected. + + + & 1.7.6p14 Version 1.7.6 patchlevel 14 September 23, 2003 Fixes: *** 1_7_6.179/hints/freebsd.sh Fri, 25 May 2001 11:53:48 -0500 dunemush (pennmush/50_freebsd.sh 1.3 600) --- 1_7_6.183(w)/hints/freebsd.sh Sat, 24 Jan 2004 13:14:42 -0600 dunemush (pennmush/50_freebsd.sh 1.4 600) *************** *** 1,5 **** usenm=false - inclwanted='/usr/local/include' i_malloc='undef' i_values='undef' --- 1,6 ---- usenm=false i_malloc='undef' i_values='undef' + ccflags='-D_POSIX_C_SOURCE=2 -I/usr/local/include' + d_attribut=true *** 1_7_6.179/src/extchat.c Mon, 29 Sep 2003 17:03:36 -0500 dunemush (pennmush/c/23_extchat.c 1.1.1.1.1.1.1.1.1.2.1.1.1.3.1.1.1.5.1.1.1.1.1.5.1.2.1.3.1.3.1.1.1.4.1.2.1.6.1.2.1.1.2.4.2.9.1.2.1.2.1.3.1.2.1.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.3.1.2.1.1.2.1.1.2.1.1.1.1.1.1.1.1.1.1 660) --- 1_7_6.183(w)/src/extchat.c Thu, 29 Jan 2004 09:09:52 -0600 dunemush (pennmush/c/23_extchat.c 1.1.1.1.1.1.1.1.1.2.1.1.1.3.1.1.1.5.1.1.1.1.1.5.1.2.1.3.1.3.1.1.1.4.1.2.1.6.1.2.1.1.2.4.2.9.1.2.1.2.1.3.1.2.1.2.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.3.1.2.1.1.2.1.1.2.1.1.1.1.1.1.1.1.1.2 660) *************** *** 225,231 **** CHANUSER *u; u = (CHANUSER *) mush_malloc(sizeof(CHANUSER), "CHANUSER"); if (!u) ! return NULL; CUdbref(u) = who; CUtype(u) = CU_DEFAULT_FLAGS; u->title[0] = '\0'; --- 225,231 ---- CHANUSER *u; u = (CHANUSER *) mush_malloc(sizeof(CHANUSER), "CHANUSER"); if (!u) ! panic("Couldn't allocate memory in new_user in extchat.c"); CUdbref(u) = who; CUtype(u) = CU_DEFAULT_FLAGS; u->title[0] = '\0'; *************** *** 287,298 **** ChanNumUsers(ch) = getref(fp); ChanMaxUsers(ch) = ChanNumUsers(ch); ChanUsers(ch) = NULL; ! if (ChanNumUsers(ch) > 0) { ! ret = load_chanusers(fp, ch); ! if (ret < 0) ! return 0; ! ChanNumUsers(ch) = ret; ! } return 1; } --- 287,294 ---- ChanNumUsers(ch) = getref(fp); ChanMaxUsers(ch) = ChanNumUsers(ch); ChanUsers(ch) = NULL; ! if (ChanNumUsers(ch) > 0) ! ChanNumUsers(ch) = load_chanusers(fp, ch); return 1; } *************** *** 308,315 **** /* Don't bother if the player isn't a valid dbref or the wrong type */ if (GoodObject(player) && Chan_Ok_Type(ch, player)) { user = new_user(player); - if (!user) - return 0; CUtype(user) = getref(fp); strcpy(CUtitle(user), getstring_noalloc(fp)); CUnext(user) = NULL; --- 304,309 ---- *** 1_7_6.179/hdrs/version.h Tue, 23 Sep 2003 20:16:30 -0500 dunemush (pennmush/c/47_version.h 1.32.1.2.1.7.1.9.1.1.1.17.1.2.1.13 660) --- 1_7_6.183(w)/hdrs/version.h Thu, 29 Jan 2004 09:09:54 -0600 dunemush (pennmush/c/47_version.h 1.32.1.2.1.7.1.9.1.1.1.17.1.2.1.14 660) *************** *** 1,2 **** ! #define VERSION "PennMUSH version 1.7.6 patchlevel 14 [09/23/2003]" ! #define SHORTVN "PennMUSH 1.7.6p14" --- 1,2 ---- ! #define VERSION "PennMUSH version 1.7.6 patchlevel 15 [01/25/2004]" ! #define SHORTVN "PennMUSH 1.7.6p15"