PennMUSH Community

Changeset 817

Show
Ignore:
Timestamp:
05/05/07 23:46:54 (2 years ago)
Author:
shawnw
Message:

One last forgotten configure check, bumped patchlevel, ran make indent, versions.

Files:

Legend:

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

    r815 r817  
    1515========================================================================== 
    1616 
    17 Version 1.8.2 patchlevel 4                      ???, 2007 
     17Version 1.8.2 patchlevel 4                      May ??, 2007 
    1818 
    1919Minor changes: 
  • 1.8.3/branches/devel/CHANGES.183

    r809 r817  
    1515========================================================================== 
    1616 
    17 Version 1.8.3 patchlevel 2                      ??    ??, 2007 
     17Version 1.8.3 patchlevel 2                      May ??, 2007 
    1818 
    1919Major changes: 
  • 1.8.3/branches/devel/Patchlevel

    r717 r817  
    11Do not edit this file. It is maintained by the official PennMUSH patches. 
    2 This is PennMUSH 1.8.3p1 
     2This is PennMUSH 1.8.3p2 
  • 1.8.3/branches/devel/config.h.in

    r815 r817  
    197197 
    198198#undef SENDMAIL 
     199 
     200#undef HAVE_SAFE_TOUPPER 
    199201 
    200202/* Optional language features */ 
  • 1.8.3/branches/devel/configure

    r803 r817  
    79857985 
    79867986 
     7987  { echo "$as_me:$LINENO: checking for uint8_t" >&5 
     7988echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; } 
     7989if test "${ac_cv_c_uint8_t+set}" = set; then 
     7990  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7991else 
     7992  ac_cv_c_uint8_t=no 
     7993     for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \ 
     7994     'unsigned long long int' 'unsigned short int' 'unsigned char'; do 
     7995       cat >conftest.$ac_ext <<_ACEOF 
     7996/* confdefs.h.  */ 
     7997_ACEOF 
     7998cat confdefs.h >>conftest.$ac_ext 
     7999cat >>conftest.$ac_ext <<_ACEOF 
     8000/* end confdefs.h.  */ 
     8001$ac_includes_default 
     8002int 
     8003main () 
     8004{ 
     8005static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)]; 
     8006test_array [0] = 0 
     8007 
     8008  ; 
     8009  return 0; 
     8010} 
     8011_ACEOF 
     8012rm -f conftest.$ac_objext 
     8013if { (ac_try="$ac_compile" 
     8014case "(($ac_try" in 
     8015  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8016  *) ac_try_echo=$ac_try;; 
     8017esac 
     8018eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8019  (eval "$ac_compile") 2>conftest.er1 
     8020  ac_status=$? 
     8021  grep -v '^ *+' conftest.er1 >conftest.err 
     8022  rm -f conftest.er1 
     8023  cat conftest.err >&5 
     8024  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8025  (exit $ac_status); } && 
     8026     { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 
     8027  { (case "(($ac_try" in 
     8028  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8029  *) ac_try_echo=$ac_try;; 
     8030esac 
     8031eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8032  (eval "$ac_try") 2>&5 
     8033  ac_status=$? 
     8034  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8035  (exit $ac_status); }; } && 
     8036     { ac_try='test -s conftest.$ac_objext' 
     8037  { (case "(($ac_try" in 
     8038  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     8039  *) ac_try_echo=$ac_try;; 
     8040esac 
     8041eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     8042  (eval "$ac_try") 2>&5 
     8043  ac_status=$? 
     8044  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     8045  (exit $ac_status); }; }; then 
     8046  case $ac_type in 
     8047  uint8_t) ac_cv_c_uint8_t=yes ;; 
     8048  *) ac_cv_c_uint8_t=$ac_type ;; 
     8049esac 
     8050 
     8051else 
     8052  echo "$as_me: failed program was:" >&5 
     8053sed 's/^/| /' conftest.$ac_ext >&5 
     8054 
     8055 
     8056fi 
     8057 
     8058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     8059       test "$ac_cv_c_uint8_t" != no && break 
     8060     done 
     8061fi 
     8062{ echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5 
     8063echo "${ECHO_T}$ac_cv_c_uint8_t" >&6; } 
     8064  case $ac_cv_c_uint8_t in #( 
     8065  no|yes) ;; #( 
     8066  *) 
     8067 
     8068cat >>confdefs.h <<\_ACEOF 
     8069#define _UINT8_T 1 
     8070_ACEOF 
     8071 
     8072 
     8073cat >>confdefs.h <<_ACEOF 
     8074#define uint8_t $ac_cv_c_uint8_t 
     8075_ACEOF 
     8076;; 
     8077  esac 
     8078 
     8079 
    79878080  { echo "$as_me:$LINENO: checking for uint16_t" >&5 
    79888081echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } 
     
    1324013333 
    1324113334 
    13242 ### Variables, constants and defines 
     13335### Variables, constants, defines and other misc. stuff 
    1324313336 
    1324413337{ echo "$as_me:$LINENO: checking whether h_errno is declared" >&5 
     
    1333213425_ACEOF 
    1333313426 
     13427 
     13428fi 
     13429 
     13430 
     13431 
     13432# Will toupper()ing an already uppercase character be a problem? 
     13433{ echo "$as_me:$LINENO: checking if it is safe to toupper uppers" >&5 
     13434echo $ECHO_N "checking if it is safe to toupper uppers... $ECHO_C" >&6; } 
     13435cat >conftest.$ac_ext <<_ACEOF 
     13436/* confdefs.h.  */ 
     13437_ACEOF 
     13438cat confdefs.h >>conftest.$ac_ext 
     13439cat >>conftest.$ac_ext <<_ACEOF 
     13440/* end confdefs.h.  */ 
     13441#include <ctype.h> 
     13442int 
     13443main () 
     13444{ 
     13445 
     13446if (toupper('A') == 'A') 
     13447    return 0; 
     13448else 
     13449    return 1; 
     13450 
     13451  ; 
     13452  return 0; 
     13453} 
     13454_ACEOF 
     13455rm -f conftest.$ac_objext 
     13456if { (ac_try="$ac_compile" 
     13457case "(($ac_try" in 
     13458  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     13459  *) ac_try_echo=$ac_try;; 
     13460esac 
     13461eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     13462  (eval "$ac_compile") 2>conftest.er1 
     13463  ac_status=$? 
     13464  grep -v '^ *+' conftest.er1 >conftest.err 
     13465  rm -f conftest.er1 
     13466  cat conftest.err >&5 
     13467  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     13468  (exit $ac_status); } && 
     13469     { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 
     13470  { (case "(($ac_try" in 
     13471  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     13472  *) ac_try_echo=$ac_try;; 
     13473esac 
     13474eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     13475  (eval "$ac_try") 2>&5 
     13476  ac_status=$? 
     13477  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     13478  (exit $ac_status); }; } && 
     13479     { ac_try='test -s conftest.$ac_objext' 
     13480  { (case "(($ac_try" in 
     13481  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
     13482  *) ac_try_echo=$ac_try;; 
     13483esac 
     13484eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
     13485  (eval "$ac_try") 2>&5 
     13486  ac_status=$? 
     13487  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     13488  (exit $ac_status); }; }; then 
     13489  ac_safe_toupper=yes 
     13490else 
     13491  echo "$as_me: failed program was:" >&5 
     13492sed 's/^/| /' conftest.$ac_ext >&5 
     13493 
     13494    ac_safe_toupper=no 
     13495fi 
     13496 
     13497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
     13498{ echo "$as_me:$LINENO: result: $ac_safe_toupper" >&5 
     13499echo "${ECHO_T}$ac_safe_toupper" >&6; } 
     13500if test "x$ac_safe_toupper" = xyes; then 
     13501    cat >>confdefs.h <<\_ACEOF 
     13502#define HAVE_SAFE_TOUPPER 1 
     13503_ACEOF 
    1333413504 
    1333513505fi 
  • 1.8.3/branches/devel/configure.in

    r815 r817  
    175175 
    176176 
    177 ### Variables, constants and defines 
     177### Variables, constants, defines and other misc. stuff 
    178178 
    179179AC_CHECK_DECLS(h_errno, [AC_DEFINE(HAVE_H_ERRNO)],,[AC_INCLUDES_DEFAULT 
     
    183183]) 
    184184 
     185# Will toupper()ing an already uppercase character be a problem? 
     186AC_MSG_CHECKING(if it is safe to toupper uppers) 
     187AC_TRY_COMPILE( 
     188[#include <ctype.h>], 
     189[ 
     190if (toupper('A') == 'A') 
     191    return 0; 
     192else 
     193    return 1; 
     194], ac_safe_toupper=yes, ac_safe_toupper=no) 
     195AC_MSG_RESULT([$ac_safe_toupper]) 
     196if test "x$ac_safe_toupper" = xyes; then 
     197    AC_DEFINE(HAVE_SAFE_TOUPPER) 
     198fi 
     199 
     200 
     201 
    185202# Which flavor of child killing to use? Prefer SIGCHLD. 
    186203 
  • 1.8.3/branches/devel/game/txt/hlp/pennv182.hlp

    r717 r817  
     1& 1.8.2p4 
     2Version 1.8.2 patchlevel 4                      May ??, 2007 
     3 
     4Minor changes: 
     5  * speak() uses accented names. Sketch. 
     6  * config() no longer lists options that can't be set 
     7    with @config/set. Suggested by Trispis. [SW] 
     8  * 'page foo\=bar' pages the last person you paged. Fix by Nathan 
     9    Baum. 
     10  * Receipt of a SIGUSR1 (Causing a shutdown/reboot) is explictly 
     11    logged. Suggested by Interloper. [SW] 
     12  * @wipe reports the number of attributes deleted. [183] 
     13 
     14Fixes: 
     15  * You can no longer save objects slated to be destroyed 
     16    by using @set foo=!GOING (The help file for GOING now tells 
     17    the truth) Reported by Cooee. [SW]  
     18  * Useless variable in real_unparse() removed. Reported by 
     19    Taladan. [SW] 
     20  * 'make portmsg' works, and portmsg.c rewritten to current 
     21    Penn standards. [SW] 
     22  * case() would replace #$ in the default argument, contrary 
     23    to the help file. Reported by Talvo. [SW] 
     24  * Memory leak in grep(). [SW] 
     25  * Quotes can be around the player name on the login screen 
     26    always, instead of just when player_name_spaces was 
     27    on. Suggested by Dan Widdis. [SW] 
     28  * '{think foo} bar' exhibited odd behavior. [GM] 
     29  * 'make test' wouldn't work right unless '.' was in you path. 
     30     Fix by Nathan Baum. 
     31  * stdin and stdout weren't getting closed, potentially causing 
     32    problems when trying to log out of a shell after starting 
     33    a mush. Reported by K Moon. [SW] 
     34  * NetBSD compile and general warning fixes. [SW] 
     35  * Favor difftime(3) over subtraction of time_t variables. [SW] 
     36  * Clarification of attribute trees in HELP @WIPE. Suggested by 
     37    Talvo. 
     38  * Loading a db with empty attributes used as the roots of 
     39    attribute trees didn't work if empty_attrs is set to no. 
     40    Reported by Kevin. [SW] 
     41  * Bugs in wiping attribute trees with attributes the wiper 
     42    doesn't have permission to delete fixed. [SW] 
     43  
    144& 1.8.2p3 
    245Version 1.8.2 patchlevel 3                      March 11, 2007 
  • 1.8.3/branches/devel/game/txt/hlp/pennv183.hlp

    r717 r817  
    1 & 1.8.3p1 
     1& 1.8.3p2 
    22& changes 
    33This is a list of changes in this patchlevel which are probably of 
     
    1212be read in 'help patchlevels'. 
    1313 
     14Version 1.8.3 patchlevel 2                      May ??, 2007 
     15 
     16Major changes: 
     17  * configuration is now done by autoconf. ./Configure is 
     18    now ./configure and its options have changed. See 
     19    INSTALL and ./configure --help [SW] 
     20  * Support for the postgresql SQL server. Javelin. 
     21  * Support for sqlite3 SQL databases. [SW] 
     22 
     23Minor changes: 
     24  * You can no longer run a mush as root. [SW] 
     25  * @cemit/noisy. Suggested by Kimiko. [SW] 
     26  * @function sorts the list of user-defined functions 
     27    by object and then name. Suggested by Trinsec. [SW] 
     28  * Better logging of the register login screen command 
     29    for systems without a sendmail program. [SW] 
     30  * Assorted refactoring of source code. [SW] 
     31   
     32Functions: 
     33  * isobjid(). By Balerion. 
     34  * player() returns the dbref of the player connected to a given 
     35    port.  By  Nathan Baum. 
     36  * root(X,3) uses the C cbrt() function if available. [SW] 
     37  * New formats for align() that allow flowing text. Javelin. 
     38  * isdbref() understands objids. By Balerion. 
     39 
     40Fixes: 
     41  * regmatch() broken with %q-registers. Javelin.  
     42  * Better checking of dbref config options to make sure they're 
     43    valid objects. Suggested by Talvo. [SW] 
     44  * Fixed assorted cases of accidently modifying const objects. 
     45    Thanks to Jake. [SW] 
     46  * Fixed a crash bug in strmatch(). [GM] 
     47  * wrap() of Pueblo tags didn't work very well. Fixed by 
     48    Sketch. 
     49  * @wipe's count is accurate when attribute trees are being 
     50    deleted. Reported by Talvo. 
     51  
     52& 1.8.3p1 
    1453Version 1.8.3 patchlevel 1                      March 11, 2007 
    1554 
  • 1.8.3/branches/devel/game/txt/hlp/pennvOLD.hlp

    r681 r817  
    44184418type 'help <version>p<patchlevel>'. For example, 'help 1.7.2p3' 
    44194419 
    4420 1.8.3: 0, 1 
    4421 1.8.2: 0, 1, 2, 3 
     44201.8.3: 0, 1, 2 
     44211.8.2: 0, 1, 2, 3, 4 
    442244221.8.1: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 
    442344231.8.0: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 
  • 1.8.3/branches/devel/hdrs/attrib.h

    r815 r817  
    4242  AE_OKAY = 0, /**< Success */ 
    4343  AE_ERROR = -1, /**< general failure */ 
    44   AE_SAFE = -2, /**< attempt to overwrite a safe attribute */ 
     44  AE_SAFE = -2,    /**< attempt to overwrite a safe attribute */ 
    4545  AE_BADNAME = -3, /**< invalid name */ 
    4646  AE_TOOMANY = -4, /**< too many attribs */ 
    47   AE_TREE = -5, /**< unable to delete/create entire tree */ 
     47  AE_TREE = -5,    /**< unable to delete/create entire tree */ 
    4848  AE_NOTFOUND = -6 /** No such attribute */ 
    4949} atr_err; 
     
    5656            uint8_t derefs); 
    5757extern atr_err atr_add(dbref thing, char const *RESTRICT atr, 
    58            char const *RESTRICT s, dbref player, uint32_t flags); 
     58               char const *RESTRICT s, dbref player, uint32_t flags); 
    5959extern atr_err atr_clr(dbref thing, char const *atr, dbref player); 
    6060extern atr_err wipe_atr(dbref thing, char const *atr, dbref player); 
     
    110110#define AF_CASE         0x800   /**< Match $/^ patterns case-sensitive */ 
    111111#define AF_SAFE         0x1000  /**< This attribute may not be modified */ 
    112 #define AF_ROOT         0x2000  /**< Root of an attribute tree */ 
    113 #define AF_UNDEF1       0x4000  /**< Undefined; reserved for a future flag */ 
    114 #define AF_UNDEF2       0x8000  /**< Undefined; reserved for a future flag */ 
     112#define AF_ROOT         0x2000 /**< Root of an attribute tree */ 
     113#define AF_UNDEF1       0x4000 /**< Undefined; reserved for a future flag */ 
     114#define AF_UNDEF2       0x8000 /**< Undefined; reserved for a future flag */ 
    115115#define AF_STATIC       0x10000 /**< OBSOLETE! Leave here but don't use */ 
    116116#define AF_COMMAND      0x20000 /**< INTERNAL: value starts with $ */ 
     
    129129#define AF_MHEAR        0x20000000  /**< ^-listens can be triggered by %! */ 
    130130#define AF_AHEAR        0x40000000  /**< ^-listens can be triggered by anyone */ 
    131 #define AF_UNDEF3       0x80000000      /**< Undefined; reserved for a future flag */ 
     131#define AF_UNDEF3       0x80000000 /**< Undefined; reserved for a future flag */ 
    132132 
    133133#define AF_MAXVALUE          0x100000000     /**< Largest attribute flag value. */ 
    134134 
    135 extern ATTR attr[]; /**< external predefined attributes. */ 
     135    extern ATTR attr[]; 
     136            /**< external predefined attributes. */ 
    136137 
    137138#define AL_ATTR(alist)          (alist) 
  • 1.8.3/branches/devel/hdrs/case.h

    r399 r817  
    44#include "config.h" 
    55 
    6 #ifdef HAS_SAFE_TOUPPER 
     6#ifdef HAVE_SAFE_TOUPPER 
    77#define DOWNCASE(x)     tolower((unsigned char)x) 
    88#define UPCASE(x)       toupper((unsigned char)x) 
  • 1.8.3/branches/devel/src/Makefile.in

    r807 r817  
    157157    @INDENT@ -npro -kr -ci2 -ss -psl -ip4 -i2 -cs -l80 -lc75 \ 
    158158    -T accent_info -T acsflag -T aig_func -T ALIST -T ansi_string \ 
    159     -T ATRALIAS -T ATTR -T ATTRPAGE -T BOOL -T boolexp \ 
     159    -T atr_err -T ATRALIAS -T ATTR -T ATTRPAGE -T BOOL -T boolexp \ 
    160160    -T boolexp_type -T BQUE -T branch_chain -T BUFFERQ \ 
    161161    -T build_ansi_codes -T bvm_opcode -T BYTE -T CDESC -T CHAN \ 
  • 1.8.3/branches/devel/src/attrib.c

    r815 r817  
    6565static ATTR *alloc_atr(void); 
    6666static ATTR *pop_free_list(void); 
    67 static void push_free_list(ATTR*); 
    68 static void atr_free_one(ATTR*); 
     67static void push_free_list(ATTR *); 
     68static void atr_free_one(ATTR *); 
    6969static ATTR *find_atr_pos_in_list(ATTR ***pos, char const *name); 
    7070static int can_create_attr(dbref player, dbref obj, char const *atr_name, 
     
    563563    root->data = chunk_create(t, u_strlen(t), 0); 
    564564    free(t); 
    565       }       
    566     } 
    567   } 
    568    
     565      } 
     566    } 
     567  } 
     568 
    569569  AL_FLAGS(ptr) = flags; 
    570570  AL_FLAGS(ptr) &= ~AF_COMMAND & ~AF_LISTEN; 
     
    661661      free(t); 
    662662    } 
    663       } else  
     663      } else 
    664664    AL_FLAGS(root) |= AF_ROOT; 
    665665 
     
    721721 
    722722  for (sub = atr_sub_branch(root); 
    723        sub && string_prefix(AL_NAME(sub), AL_NAME(root)); 
    724        sub = next) { 
     723       sub && string_prefix(AL_NAME(sub), AL_NAME(root)); sub = next) { 
    725724    if (AL_FLAGS(sub) & AF_ROOT) { 
    726725      if (!atr_clear_children(player, thing, sub)) { 
     
    744743    atr_free_one(sub); 
    745744    AttrCount(thing)--; 
    746        
     745 
    747746  } 
    748747 
     
    778777 
    779778  if ((AL_FLAGS(ptr) & AF_ROOT) && !we_are_wiping) 
    780       return AE_TREE; 
     779    return AE_TREE; 
    781780 
    782781  /* We only hit this if wiping. */ 
    783782  if (AL_FLAGS(ptr) & AF_ROOT) 
    784783    can_clear = atr_clear_children(player, thing, ptr); 
    785    
     784 
    786785  if (can_clear) { 
    787786    char *p; 
     
    795794    atr_free_one(ptr); 
    796795    AttrCount(thing)--; 
    797      
     796 
    798797    /* If this was the only leaf of a tree, clear the AF_ROOT flag from 
    799798     * the parent. */ 
     
    811810    if (!atr_sub_branch(root)) 
    812811      AL_FLAGS(root) &= ~AF_ROOT; 
    813       }         
     812      } 
    814813    } 
    815814 
     
    17241723  was_hearer = Hearer(thing); 
    17251724  was_listener = Listener(thing); 
    1726   res = 
    1727     s ? atr_add(thing, name, s, player, (flags & 0x02) ? AF_NOPROG : 0) 
     1725  res = s ? atr_add(thing, name, s, player, (flags & 0x02) ? AF_NOPROG : 0) 
    17281726    : atr_clr(thing, name, player); 
    17291727  switch (res) { 
     
    17351733    if (!s) { 
    17361734      notify_format(player, 
    1737             T("Unable to remove '%s' because of a protected tree attribute."), 
     1735            T 
     1736            ("Unable to remove '%s' because of a protected tree attribute."), 
    17381737            name); 
    17391738      return 0; 
    17401739    } else { 
    17411740      notify_format(player, 
    1742             T("Unable to set '%s' because of a failure to create a needed parent attribute."), 
    1743             name);     
     1741            T 
     1742            ("Unable to set '%s' because of a failure to create a needed parent attribute."), 
     1743            name); 
    17441744      return 0; 
    17451745    } 
     
    19831983 * \return the pointer to an attribute, or NULL on error. 
    19841984 */ 
    1985 static ATTR
     1985static ATTR
    19861986pop_free_list(void) 
    19871987{ 
     
    20002000 */ 
    20012001static void 
    2002 push_free_list(ATTR *a)  
     2002push_free_list(ATTR *a) 
    20032003{ 
    20042004  memset(a, 0, sizeof(*a)); 
  • 1.8.3/branches/devel/src/chunk.c

    r815 r817  
    957957static void 
    958958write_used_chunk(uint16_t region, uint16_t offset, uint16_t full_len, 
    959          unsigned char const *data, uint16_t data_len, 
    960          uint8_t derefs) 
     959         unsigned char const *data, uint16_t data_len, uint8_t derefs) 
    961960{ 
    962961  unsigned char *cptr = ChunkPointer(region, offset); 
  • 1.8.3/branches/devel/src/csrimalloc.c

    r807 r817  
    970970#ifdef CSRI_TRACE 
    971971/* Tracing malloc definitions - helps find leaks */ 
    972     univptr_t 
    973       trace__malloc 
    974     _((size_t nbytes, const char *fname, int linenum)); 
    975     univptr_t 
    976       trace__calloc 
    977     _((size_t nelem, size_t elsize, const char *fname, int linenum)); 
    978     univptr_t 
    979       trace__realloc 
    980     _((univptr_t cp, size_t nbytes, const char *fname, int linenum)); 
    981     univptr_t trace__valloc 
    982     _((size_t size, const char *fname, int linenum)); 
    983     univptr_t 
    984       trace__memalign 
    985     _((size_t alignment, size_t size, const char *fname, int linenum)); 
    986     univptr_t trace__emalloc 
    987     _((size_t nbytes, const char *fname, int linenum)); 
     972univptr_t trace__malloc 
     973_((size_t nbytes, const char *fname, int linenum)); 
     974univptr_t trace__calloc 
     975_((size_t nelem, size_t elsize, const char *fname, int linenum)); 
     976univptr_t trace__realloc 
     977_((univptr_t cp, size_t nbytes, const char *fname, int linenum)); 
     978    univptr_t trace__valloc _((size_t size, const char *fname, int linenum)); 
     979univptr_t trace__memalign 
     980_((size_t alignment, size_t size, const char *fname, int linenum)); 
     981    univptr_t trace__emalloc _((size_t nbytes, const char *fname, int linenum)); 
    988982univptr_t 
    989983  trace__ecalloc _((size_t nelem, size_t sz, const char *fname, int linenum)); 
    990 univptr_t trace__erealloc 
    991 _((univptr_t ptr, size_t nbytes, const char *fname, int linenum)); 
    992     char *trace__strdup _((const char *s, const char *fname, int linenum)); 
    993     char *trace__strsave _((const char *s, const char *fname, int linenum)); 
     984    univptr_t 
     985      trace__erealloc 
     986    _((univptr_t ptr, size_t nbytes, const char *fname, int linenum)); 
     987    char * 
     988      trace__strdup 
     989    _((const char *s, const char *fname, int linenum)); 
     990    char * 
     991      trace__strsave 
     992    _((const char *s, const char *fname, int linenum)); 
    994993    void 
    995      trace__free _((univptr_t cp, const char *fname, int linenum)); 
     994    trace__free 
     995    _((univptr_t cp, const char *fname, int linenum)); 
    996996    void 
    997      trace__cfree _((univptr_t cp, const char *fname, int linenum)); 
     997    trace__cfree 
     998    _((univptr_t cp, const char *fname, int linenum)); 
    998999#else               /* CSRI_TRACE */ 
    999     univptr_t 
    1000       malloc 
    1001     _((size_t nbytes)); 
    1002     univptr_t 
    1003       calloc 
    1004     _((size_t nelem, size_t elsize)); 
    1005     univptr_t 
    1006       realloc 
    1007     _((univptr_t cp, size_t nbytes)); 
    1008     univptr_t 
    1009       valloc 
    1010     _((size_t size)); 
    1011     univptr_t 
    1012       memalign 
    1013     _((size_t alignment, size_t size)); 
    1014     univptr_t 
    1015       emalloc 
    1016     _((size_t nbytes)); 
    1017     univptr_t 
    1018       ecalloc 
    1019     _((size_t nelem, size_t sz)); 
    1020     univptr_t 
    1021       erealloc 
    1022     _((univptr_t ptr, size_t nbytes)); 
    1023 Free_t free 
    1024 _((univptr_t cp)); 
    1025 Free_t cfree 
    1026 _((univptr_t cp)); 
     1000univptr_t malloc 
     1001_((size_t nbytes)); 
     1002univptr_t calloc 
     1003_((size_t nelem, size_t elsize)); 
     1004univptr_t realloc 
     1005_((univptr_t cp, size_t nbytes)); 
     1006univptr_t valloc 
     1007_((size_t size)); 
     1008univptr_t memalign 
     1009_((size_t alignment, size_t size)); 
     1010univptr_t emalloc 
     1011_((size_t nbytes)); 
     1012univptr_t ecalloc 
     1013_((size_t nelem, size_t sz)); 
     1014univptr_t erealloc 
     1015_((univptr_t ptr, size_t nbytes)); 
     1016    Free_t free _((univptr_t cp)); 
     1017    Free_t cfree _((univptr_t cp)); 
    10271018#endif              /* CSRI_TRACE */ 
    10281019 
     
    10321023     int is_end_ptr, const char *filename, int linenumber)); 
    10331024    void 
    1034     __m_prnode _((SPBLK * spblk)); 
     1025    __m_prnode _((SPBLK * spblk)); 
    10351026    void 
    1036     mal_contents _((FILE * fp)); 
     1027    mal_contents _((FILE * fp)); 
    10371028#ifdef CSRI_DEBUG 
    10381029    void 
    1039     mal_debug _((int level)); 
     1030    mal_debug _((int level)); 
    10401031    int 
    1041     mal_verify _((int fullcheck)); 
     1032    mal_verify _((int fullcheck)); 
    10421033#endif 
    10431034    void 
    1044     mal_dumpleaktrace _((FILE * fp)); 
     1035    mal_dumpleaktrace _((FILE * fp)); 
    10451036    void 
    1046     mal_heapdump _((FILE * fp)); 
     1037    mal_heapdump _((FILE * fp)); 
    10471038    void 
    1048     mal_leaktrace _((int value)); 
     1039    mal_leaktrace _((int value)); 
    10491040    void 
    1050     mal_sbrkset _((int n)); 
     1041    mal_sbrkset _((int n)); 
    10511042    void 
    1052     mal_slopset _((int n)); 
     1043    mal_slopset _((int n)); 
    10531044#ifdef CSRI_PROFILESIZES 
    10541045    void 
    1055     mal_statsdump _((FILE * fp)); 
     1046    mal_statsdump _((FILE * fp)); 
    10561047#endif 
    10571048    void 
    1058     mal_trace _((int value)); 
     1049    mal_trace _((int value)); 
    10591050    void 
    1060     mal_mmap _((char *fname)); 
     1051    mal_mmap _((char *fname)); 
    10611052 
    10621053#ifdef CSRI_TRACE 
  • 1.8.3/branches/devel/src/db.c

    r815 r817  
    13821382      } 
    13831383 
    1384       if (IsPlayer(i) && (strlen(o->name) > (size_t)PLAYER_NAME_LIMIT)) { 
     1384      if (IsPlayer(i) && (strlen(o->name) > (size_t) PLAYER_NAME_LIMIT)) { 
    13851385    char buff[BUFFER_LEN + 1];  /* The name plus a NUL */ 
    13861386    strncpy(buff, o->name, PLAYER_NAME_LIMIT); 
  • 1.8.3/branches/devel/src/gmalloc.c

    r807 r817  
    378378 
    379379/* Search index in the info table.  */ 
    380     __malloc_size_t 
    381       _heapindex; 
     380__malloc_size_t _heapindex; 
    382381 
    383382/* Limit of valid info table indices.  */ 
    384     __malloc_size_t 
    385       _heaplimit; 
     383__malloc_size_t _heaplimit; 
    386384 
    387385/* Free lists for each fragment size.  */ 
     
    390388 
    391389/* Instrumentation.  */ 
    392     __malloc_size_t 
    393       _chunks_used; 
    394     __malloc_size_t 
    395       _bytes_used; 
    396     __malloc_size_t 
    397       _chunks_free; 
    398     __malloc_size_t 
    399       _bytes_free; 
     390__malloc_size_t _chunks_used; 
     391__malloc_size_t _bytes_used; 
     392__malloc_size_t _chunks_free; 
     393__malloc_size_t _bytes_free; 
    400394 
    401395/* Are you experienced?  */ 
  • 1.8.3/branches/devel/src/move.c

    r815 r817  
    11791179  strcpy(flwr, unparse_dbref(follower)); 
    11801180  strcpy(tbuf1, atr_value(a)); 
    1181   (void) atr_add(leader, "FOLLOWERS", 
    1182          remove_word(tbuf1, flwr, ' '), GOD, 0); 
     1181  (void) atr_add(leader, "FOLLOWERS", remove_word(tbuf1, flwr, ' '), GOD, 0); 
    11831182} 
    11841183 
     
    11961195  strcpy(ldr, unparse_dbref(leader)); 
    11971196  strcpy(tbuf1, atr_value(a)); 
    1198   (void) atr_add(follower, "FOLLOWING", 
    1199          remove_word(tbuf1, ldr, ' '), GOD, 0); 
     1197  (void) atr_add(follower, "FOLLOWING", remove_word(tbuf1, ldr, ' '), GOD, 0); 
    12001198} 
    12011199 
  • 1.8.3/branches/devel/src/set.c

    r815 r817  
    11101110  case AE_TREE: 
    11111111    notify_format(player, 
    1112           T("Attribute %s cannot be wiped because a child attribute cannot be wiped."), 
     1112          T 
     1113          ("Attribute %s cannot be wiped because a child attribute cannot be wiped."), 
    11131114          AL_NAME(atr)); 
    11141115    /* Fall through */ 
  • 1.8.3/branches/devel/src/wiz.c

    r815 r817  
    204204    limit = owned; 
    205205 
    206   (void) atr_add(Owner(who), "RQUOTA", tprintf("%d", limit - owned), GOD, 
    207          0); 
     206  (void) atr_add(Owner(who), "RQUOTA", tprintf("%d", limit - owned), GOD, 0); 
    208207 
    209208  notify_format(player, T("Objects: %d   Limit: %d"), owned, limit); 
     
    270269    (void) atr_add(who, "RQUOTA", "0", GOD, 0); 
    271270      else 
    272     (void) atr_add(who, "RQUOTA", tprintf("%d", limit - owned), GOD, 
    273                0); 
     271    (void) atr_add(who, "RQUOTA", tprintf("%d", limit - owned), GOD, 0); 
    274272    } 
    275273  }