[BACK]Return to main.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / distrib / utils / sysinst

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/distrib/utils/sysinst/Attic/main.c between version 1.1.1.1.2.2 and 1.1.1.1.2.3

version 1.1.1.1.2.2, 1997/11/10 19:23:04 version 1.1.1.1.2.3, 1997/11/21 12:09:32
Line 39 
Line 39 
 /* main sysinst program. */  /* main sysinst program. */
   
 #include <stdio.h>  #include <stdio.h>
   #include <signal.h>
 #include <curses.h>  #include <curses.h>
 #include <unistd.h>  #include <unistd.h>
   
Line 50 
Line 51 
   
 int main(int argc, char **argv);  int main(int argc, char **argv);
 void usage (void);  void usage (void);
   void inthandler (int);
   
 int main(int argc, char **argv)  int main(int argc, char **argv)
 {  {
Line 89  int main(int argc, char **argv)
Line 91  int main(int argc, char **argv)
                 *r = 0;                  *r = 0;
         }          }
   
           /* Watch for SIGINT and clean up */
           (void) signal(SIGINT, inthandler);
   
         /* Menu processing */          /* Menu processing */
         process_menu (MENU_netbsd);          process_menu (MENU_netbsd);
   
Line 104  usage(void)
Line 109  usage(void)
         (void)fprintf (stderr, msg_string(MSG_usage));          (void)fprintf (stderr, msg_string(MSG_usage));
         exit(1);          exit(1);
 }  }
   
   /* ARGSUSED */
   void
   inthandler(int notused)
   {
           endwin();
           fprintf(stderr, "\n\n sysinst terminated.\n");
           exit(1);
   }

Legend:
Removed from v.1.1.1.1.2.2  
changed lines
  Added in v.1.1.1.1.2.3

CVSweb <webmaster@jp.NetBSD.org>