Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 26. október 2026

Rozdiely pre ep/src/main.c medzi verziami 1.5 a 1.6

verzia 1.5, 2001/09/21 19:58:47 verzia 1.6, 2001/12/02 23:30:07
Riadok 8 
Riadok 8 
  * license: GNU General Public License   * license: GNU General Public License
  *   *
  * $Log$   * $Log$
    * Revision 1.6  2001/12/02 23:30:07  jombik9
    * A lot of new functions added.
    * Various improvements.
    *
  * Revision 1.5  2001/09/21 19:58:47  host8   * Revision 1.5  2001/09/21 19:58:47  host8
  * Cosmetics changes   * Cosmetics changes
  *   *
Riadok 69 
Riadok 73 
 #include "fd.h"  #include "fd.h"
 #include "message.h"  #include "message.h"
 #include "sigserv.h"  #include "sigserv.h"
   #include "cfglocal.h"
   
 #if MENU  #if MENU
 #  include "menu.h"  #  include "menu.h"
Riadok 118  main(argc, argv)
Riadok 123  main(argc, argv)
         menu_curses_init();          menu_curses_init();
 #endif  #endif
   
         ptbl = proctable_get_from_cmdline(argc, argv);          /* ptbl = proctable_get_from_cmdline(argc, argv); */
           ptbl = cfglocal_process(argc, argv);
   
         if (ptbl == NULL) {          if (ptbl == NULL) {
                 msg_error_print("command line fails, terminating\n");                  msg_error_print("command line fails, terminating\n");
Riadok 131  main(argc, argv)
Riadok 137  main(argc, argv)
   
         if (proctable_add_std_process(&ptbl) < 0 || proctable_update(ptbl) < 0) {          if (proctable_add_std_process(&ptbl) < 0 || proctable_update(ptbl) < 0) {
                 msg_error_print("failure during operations with process table\n",                  msg_error_print("failure during operations with process table\n",
                                 argv[0]);                                                                  argv[0]);
                 return 1;                  return 1;
         }          }
 #if DEBUG  #if DEBUG
Riadok 199  main(argc, argv)
Riadok 205  main(argc, argv)
                                 break;                                  break;
   
                         default:                          default:
                                 if (FD_ISSET(0, &fds)) {  
 #if MENU  #if MENU
                                   if (FD_ISSET(0, &fds)) {
                                         int c;                                          int c;
                                         c = getch();                                          c = getch();
                                         switch (c) {                                          switch (c) {
Riadok 218  main(argc, argv)
Riadok 224  main(argc, argv)
                                                         break;                                                          break;
   
                                         }                                          }
 #endif /* #if MENU */  
   
                                 }                                  }
   #endif /* #if MENU */
   
                                 /* Read and transfer data. */                                  /* Read and transfer data. */
                                 proctable_read(&ptbl, &fds);                                  proctable_read(&ptbl, &fds);

Legend:
Odstranené z verzie1.5  
zmenené riadky
  Pridané vo verzii1.6

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok