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

Diff for /OpenXM_contrib2/asir2000/builtin/batch.c between version 1.3 and 1.5

version 1.3, 2000/08/22 05:03:56 version 1.5, 2015/08/06 10:01:51
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2000/builtin/batch.c,v 1.2 2000/08/21 08:31:18 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/builtin/batch.c,v 1.4 2001/10/09 01:36:05 noro Exp $
 */  */
 #if !defined(VISUAL)  #if !defined(VISUAL) && !defined(__MINGW32__) && !defined(__MINGW64__)
   
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
Line 75  static void read_until_eof();
Line 75  static void read_until_eof();
 static HANDLE hRead,hWrite,hNotify,hNotify_Ack,hIntr,hIntr_Ack,hKill,hProc;  static HANDLE hRead,hWrite,hNotify,hNotify_Ack,hIntr,hIntr_Ack,hKill,hProc;
   
 int exec_file(char *bindir,char *fname) {  int exec_file(char *bindir,char *fname) {
         int i;  
         char *av[BUFSIZ];          char *av[BUFSIZ];
         char AsirExe[BUFSIZ];          char AsirExe[BUFSIZ];
         DWORD tid,mypid,pid,len;          DWORD mypid;
         HANDLE hR0,hW0,hR1,hW1;          HANDLE hR0,hW0,hR1,hW1;
     SECURITY_ATTRIBUTES SecurityAttributes;          SECURITY_ATTRIBUTES SecurityAttributes;
         char remread[10],remwrite[10];          char remread[10],remwrite[10];
         char notify[100],notify_ack[100],intr[100],intr_ack[100],kill[100];          char notify[100],notify_ack[100],intr[100],intr_ack[100],kill[100];
           void _setargv();
   
         mypid = GetCurrentProcessId();          mypid = GetCurrentProcessId();
         sprintf(notify,"asir_notify_%d",mypid);          sprintf(notify,"asir_notify_%d",mypid);
Line 136  static int insert_buf_len = 0;
Line 136  static int insert_buf_len = 0;
   
 static void read_until_eof()  static void read_until_eof()
 {  {
         char *p;  
         DWORD len;          DWORD len;
         unsigned int cmdsize,cmd,size;          unsigned int cmdsize,cmd,size;
   

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

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