Difference for common/porting.c from version 1.31 to 1.32


version 1.31 version 1.32
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_porting_c =   * static char *rcsid_porting_c =
  *   "$Id: porting.c,v 1.31 2006/05/21 12:41:48 akirschbaum Exp $";   *   "$Id: porting.c,v 1.32 2006/05/21 12:43:30 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 224
 
Line 224
  */   */
 char *strdup_local(const char *str) {  char *strdup_local(const char *str) {
   char *c=(char *)malloc(sizeof(char)*(strlen(str)+1));    char *c=(char *)malloc(sizeof(char)*(strlen(str)+1));
     if (c!=NULL)
   strcpy(c,str);    strcpy(c,str);
   return c;    return c;
 }  }


Legend:
line(s) removed in v.1.31 
line(s) changed
 line(s) added in v.1.32

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