Difference for common/shstr.c from version 1.9 to 1.10


version 1.9 version 1.10
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_shstr_c =   * static char *rcsid_shstr_c =
  *   "$Id: shstr.c,v 1.9 2006/03/12 17:03:35 tchize Exp $";   *   "$Id: shstr.c,v 1.10 2006/03/18 17:15:24 ryo_saeba Exp $";
  *   *
  * shstr.c   * shstr.c
  *   *
Line 202
 
Line 202
 add_refcount(const char *str) {  add_refcount(const char *str) {
     GATHER(add_ref_stats.calls);      GATHER(add_ref_stats.calls);
     ++(SS(str)->refcount);      ++(SS(str)->refcount);
     /* This function should be declared       return str;
      *    const char *add_refcount(const char *)  
      * Unfortunately, that would require changing a lot of structs  
      *  
      *   Yup, many changes, but may have make some bugs more visible :)  
      *   -- Ryo 2005-08-12  
      */  
     return (char*)str;  
 }  }
   
 /*  /*


Legend:
line(s) removed in v.1.9 
line(s) changed
 line(s) added in v.1.10

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:17