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

Diff for /OpenXM/src/ox_math/serv1.c between version 1.17 and 1.18

version 1.17, 2002/04/11 14:13:37 version 1.18, 2002/04/11 19:53:40
Line 1 
Line 1 
 /* -*- mode: C; coding: euc-japan -*- */  /* -*- mode: C; coding: euc-japan -*- */
 /* $OpenXM: OpenXM/src/ox_math/serv1.c,v 1.16 2000/12/22 04:06:37 ohara Exp $ */  /* $OpenXM: OpenXM/src/ox_math/serv1.c,v 1.17 2002/04/11 14:13:37 ohara Exp $ */
   
 /*  /*
    Copyright (C) Katsuyoshi OHARA, 2000.     Copyright (C) Katsuyoshi OHARA, 2000.
Line 104  int sm(OXFILE *oxfp)
Line 104  int sm(OXFILE *oxfp)
     FD_SET(oxf_fileno(oxfp), &fdmask);      FD_SET(oxf_fileno(oxfp), &fdmask);
   
     while(1) {      while(1) {
         if (select(2, &fdmask, NULL, NULL, NULL) > 0) {          if (select(5, &fdmask, NULL, NULL, NULL) > 0) {
                         sigset_t newmask, oldmask;                          sigset_t newmask, oldmask;
                         sigemptyset(&newmask);                          sigemptyset(&newmask);
                         sigaddset(&newmask, SIGUSR1);                          sigaddset(&newmask, SIGUSR1);

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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