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.17 and 1.18

version 1.17, 2002/02/20 20:12:10 version 1.18, 2002/02/21 02:22:00
Line 50 
Line 50 
 #  define WIFEXITED(stat_val) (((stat_val) & 255) == 0)  #  define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 #endif  #endif
   
 #if HAVE_MENU  #if MENU
 #  include <curses.h>  #  include <curses.h>
 #endif  #endif
   
Line 63 
Line 63 
 #include "sigserv.h"  #include "sigserv.h"
 #include "conf.h"  #include "conf.h"
   
 #if HAVE_MENU  #if MENU
 #  include "menu.h"  #  include "menu.h"
 #endif  #endif
   
Line 79  void exit_fnc(void)
Line 79  void exit_fnc(void)
   
         free(argv0);          free(argv0);
   
 #if HAVE_MENU  #if MENU
         endwin();          endwin();
 #endif  #endif
 }  }
Line 108  main(argc, argv)
Line 108  main(argc, argv)
                 return 1;                  return 1;
         }          }
   
 #if HAVE_MENU  #if MENU
           printf("hihi\n");
         menu_curses_init();          menu_curses_init();
 #endif  #endif
   
Line 124  main(argc, argv)
Line 125  main(argc, argv)
                 msg_debug_print("command line parsing: OK\n");                  msg_debug_print("command line parsing: OK\n");
 #endif  #endif
   
         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;
Line 230  main(argc, argv)
Line 231  main(argc, argv)
                         return errno;                          return errno;
                 }                  }
   
 #if HAVE_MENU  #if MENU
                 if (FD_ISSET(0, &rfds)) {                  if (FD_ISSET(0, &rfds)) {
                         int c;                          int c;
                         c = getch();                          c = getch();

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

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