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.5 and 1.6

version 1.5, 2001/09/21 19:58:47 version 1.6, 2001/12/02 23:30:07
Line 8 
Line 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
  *   *
Line 69 
Line 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"
Line 118  main(argc, argv)
Line 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");
Line 131  main(argc, argv)
Line 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
Line 199  main(argc, argv)
Line 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) {
Line 218  main(argc, argv)
Line 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:
Removed from v.1.5  
changed lines
  Added in v.1.6

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