[BACK]Return to io_win_mini.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / io

Diff for /OpenXM_contrib2/asir2000/io/io_win_mini.c between version 1.2 and 1.3

version 1.2, 2006/09/29 09:02:49 version 1.3, 2006/12/05 01:47:08
Line 1 
Line 1 
 /* $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;
 }  }
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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