[BACK]Return to mathcap.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_toolkit

Diff for /OpenXM/src/ox_toolkit/mathcap.c between version 1.17 and 1.18

version 1.17, 2016/08/23 02:24:19 version 1.18, 2016/08/23 05:36:39
Line 1 
Line 1 
 /* -*- mode: C; coding: euc-japan -*- */  /* -*- mode: C; coding: euc-japan -*- */
 /* $OpenXM: OpenXM/src/ox_toolkit/mathcap.c,v 1.16 2016/06/29 05:07:23 ohara Exp $ */  /* $OpenXM: OpenXM/src/ox_toolkit/mathcap.c,v 1.17 2016/08/23 02:24:19 ohara Exp $ */
   
 /* This module includes functions for handling mathcap databases. */  /* This module includes functions for handling mathcap databases. */
   
Line 268  static char **clone_str_list(char **src)
Line 268  static char **clone_str_list(char **src)
 {  {
     int i,len;      int i,len;
     char **new = NULL;      char **new = NULL;
     if(!src) {      if(src) {
         for(len=0; src[len]!=NULL; len++) {          for(len=0; src[len]!=NULL; len++) {
         }          }
         new = (char **)MALLOC(sizeof(char *)*(len+1));          new = (char **)MALLOC(sizeof(char *)*(len+1));

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>