version 1.2, 2006/09/29 09:02:49 |
version 1.3, 2006/12/05 01:47:08 |
|
|
/* $OpenXM: OpenXM_contrib2/asir2000/io/io_win_mini.c,v 1.1 2006/09/26 05:35:26 noro Exp $ */ |
/* $OpenXM: OpenXM_contrib2/asir2000/io/io_win_mini.c,v 1.2 2006/09/29 09:02:49 noro Exp $ */ |
|
|
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 352 void loadstr(FILE *s,char **p) |
|
Line 352 void loadstr(FILE *s,char **p) |
|
char *t; |
char *t; |
|
|
read_int(s,&len); |
read_int(s,&len); |
if ( len ) { |
t = (char *)malloc(len+1); |
t = (char *)malloc(len+1); read_string(s,t,len); t[len] = 0; |
if ( len ) read_string(s,t,len); |
} else |
t[len] = 0; |
t = ""; |
|
*p = t; |
*p = t; |
} |
} |
|
|