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 |
|
|
| # 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 |
| |
|
|
|
| #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(); |
Platon Group <platon@platon.org> http://platon.org/
|
|