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

Diff for /OpenXM_contrib2/asir2000/io/tcpf_win_mini.c between version 1.3 and 1.4

version 1.3, 2006/09/29 09:02:49 version 1.4, 2013/08/20 14:22:33
Line 1 
Line 1 
 /* $OpenXM: OpenXM_contrib2/asir2000/io/tcpf_win_mini.c,v 1.2 2006/09/26 05:50:31 noro Exp $ */  /* $OpenXM: OpenXM_contrib2/asir2000/io/tcpf_win_mini.c,v 1.3 2006/09/29 09:02:49 noro Exp $ */
   
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 60  int win_ox_launch()
Line 60  int win_ox_launch()
         return 0;          return 0;
 }  }
   
 void win_get_rootdir();  
   
 void win_spawn_server(char *control_port_str,char *server_port_str)  void win_spawn_server(char *control_port_str,char *server_port_str)
 {  {
         char AsirExe[BUFSIZ];          char AsirExe[BUFSIZ];
Line 89  void win_get_rootdir()
Line 87  void win_get_rootdir()
 {  {
         char *slash;          char *slash;
   
         GetCurrentDirectory(BUFSIZ,rootdir);          GetModuleFileName(NULL,rootdir,BUFSIZ);
           slash = strrchr(rootdir,'\\');
           *slash = 0;
         slash = strrchr(rootdir,'\\');          slash = strrchr(rootdir,'\\');
         if ( slash ) *slash = 0;          if ( slash ) *slash = 0;
 }  }

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

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