[BACK]Return to oxd.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / kxx

Diff for /OpenXM/src/kxx/oxd.c between version 1.5 and 1.6

version 1.5, 2002/10/28 00:38:32 version 1.6, 2002/10/28 08:57:28
Line 1 
Line 1 
 /*  /*
  $OpenXM: OpenXM/src/kxx/oxd.c,v 1.4 2002/10/27 10:39:33 takayama Exp $   $OpenXM: OpenXM/src/kxx/oxd.c,v 1.5 2002/10/28 00:38:32 takayama Exp $
 */  */
   
 #include <stdio.h>  #include <stdio.h>
Line 137  childServerMain(int fd) {
Line 137  childServerMain(int fd) {
   extern int Serial;    extern int Serial;
   char *openxm;    char *openxm;
   int resultCode;    int resultCode;
     int st;
   
   /* Starting oxd session */    /* Starting oxd session */
   signal(SIGALRM,exitServer);    signal(SIGALRM,exitServer);
   alarm(60);    alarm(60);
Line 209  childServerMain(int fd) {
Line 211  childServerMain(int fd) {
   GET_COMMAND   /* expect <login/> */    GET_COMMAND   /* expect <login/> */
   
   fclose(fp); /* close the connection */    fclose(fp); /* close the connection */
     fprintf(stderr,"Waiting the termination of the child process (ox server).\n");
     fflush(NULL);
     wait(&st);
     fprintf(stderr,"%d: The child process is terminated.\n",Serial);
   exit(0);    exit(0);
 }  }
   

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

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