version 1.17, 2016/08/23 02:24:19 |
version 1.18, 2016/08/23 05:36:39 |
|
|
/* -*- 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)); |