Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for ep/src/main.c between version 1.28 and 1.29

version 1.28, 2002/05/29 15:12:55 version 1.29, 2002/06/26 14:37:56
Line 21 
Line 21 
  * ep - extended pipelining   * ep - extended pipelining
  * coding start date: 11.11.2000   * coding start date: 11.11.2000
  * authors: Ondrej Jombik   * authors: Ondrej Jombik
 *          Lubomir Host   *          Lubomir Host
  *                      Martin Karas   *                      Martin Karas
  * Copyright (c) 2000-2002 Platon software development group   * Copyright (c) 2000-2002 Platon software development group
  * license: GNU General Public License   * license: GNU General Public License
Line 29 
Line 29 
   
 /* Notes:  /* Notes:
   
 * Now signal handler for every signal is installed. If SIG_CHLD detected, gloal   * Now signal handler for every signal is installed. If SIG_CHLD detected, gloal
 variable sig_chld is set. This change is printed out in main() in debug mode.   variable sig_chld is set. This change is printed out in main() in debug mode.
 No other usage of sig_chld variable is currently used.   No other usage of sig_chld variable is currently used.
   
 * When write() syscall fails (that means returning -1 or 0), particular   * When write() syscall fails (that means returning -1 or 0), particular
 proclinks to failed fd are removed and fd is closed.   proclinks to failed fd are removed and fd is closed.
   
  */  */
   
 #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
 #  include "config.h"  #  include "config.h"
Line 259  main(argc, argv)
Line 259  main(argc, argv)
                                                 FD_SET(ptbl[i]->fd[k].pipe[0], &rfds);                                                  FD_SET(ptbl[i]->fd[k].pipe[0], &rfds);
                                         }                                          }
                                         else {                                          else {
                                                 FD_SET(ptbl[i]->fd[k].pipe[1], &wfds);                                                  /* FD_SET(ptbl[i]->fd[k].pipe[1], &wfds); */
                                         }                                          }
   
                                         /* FD_SET(ptbl[i]->fd[k].pipe[k ? 0 : 1], &efds); */                                          /* FD_SET(ptbl[i]->fd[k].pipe[k ? 0 : 1], &efds); */
Line 296  main(argc, argv)
Line 296  main(argc, argv)
                 }                  }
 #if DEBUG  #if DEBUG
                 /*if (FD_ISSET(0, &rfds) && getchar() == 12)                  /*if (FD_ISSET(0, &rfds) && getchar() == 12)
                         proctable_print(ptbl);*/                    proctable_print(ptbl);*/
 #endif  #endif
 #if MENU  #if MENU
                 if (FD_ISSET(0, &rfds)) {                  if (FD_ISSET(0, &rfds)) {

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top