Difference for common/map.c from version 1.35 to 1.36


version 1.35 version 1.36
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_map_c =   * static char *rcsid_map_c =
  *   "$Id: map.c,v 1.35 2002/01/03 21:32:56 garbled Exp $";   *   "$Id: map.c,v 1.36 2002/02/06 05:54:46 mwedel Exp $";
  */   */
   
 /*  /*
Line 785
 
Line 785
      msgpos += strlen(buf);       msgpos += strlen(buf);
  }   }
      }       }
        /* There are lots of maps that have empty messages (eg, msg/endmsg
         * with nothing between).  There is no reason in those cases to
                * keep the empty message.  Also, msgbuf contains garbage data
         * when msgpos is zero, so copying it results in crashes
         */
        if (msgpos != 0)
      m->msg = strdup_local(msgbuf);       m->msg = strdup_local(msgbuf);
  }    }
  /* first strcmp value on these are old names supported   /* first strcmp value on these are old names supported


Legend:
line(s) removed in v.1.35 
line(s) changed
 line(s) added in v.1.36

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