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.2 and 1.3

version 1.2, 2001/09/21 19:44:51 version 1.3, 2001/09/21 19:54:45
Line 8 
Line 8 
  * license: GNU General Public License   * license: GNU General Public License
  *   *
  * $Log$   * $Log$
    * Revision 1.3  2001/09/21 19:54:45  host8
    * Cosmetics changes in *.c
    *
  * Revision 1.2  2001/09/21 19:44:51  host8   * Revision 1.2  2001/09/21 19:44:51  host8
  * Added $Log$ keyword substitution   * Added $Log$
    * Added Revision 1.3  2001/09/21 19:54:45  host8
    * Added Cosmetics changes in *.c
    * Added keyword substitution
  *   *
  */   */
   
Line 70 
Line 76 
 #endif  #endif
   
 /* Global pointer to argv[0] (program name). */  /* Global pointer to argv[0] (program name). */
 char *argv0;  char *argv0;
   
 void exit_fnc(void)  void exit_fnc(void)
 {  {
         /*          /*
            msg_print("exit_fnc(): ep shutting down, sending all process SIGTERM...\n");             msg_print("exit_fnc(): ep shutting down, sending all process SIGTERM...\n");
Line 118  main(argc, argv)
Line 124  main(argc, argv)
         if (ptbl == NULL) {          if (ptbl == NULL) {
                 msg_error_print("command line fails, terminating\n");                  msg_error_print("command line fails, terminating\n");
                 return 1;                  return 1;
         }          }
 #if DEBUG  #if DEBUG
         else          else
                 msg_debug_print("command line parsing: OK\n");                  msg_debug_print("command line parsing: OK\n");
Line 128  main(argc, argv)
Line 134  main(argc, argv)
                 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
         else          else
                 msg_debug_print("proctable parsing: OK\n");                  msg_debug_print("proctable parsing: OK\n");
Line 176  main(argc, argv)
Line 182  main(argc, argv)
   
         /* Main loop. */          /* Main loop. */
         while (1) {          while (1) {
                 /* Set fds. */                  /* Set fds. */
                 FD_ZERO(&fds);                  FD_ZERO(&fds);
                 FD_SET(0, &fds);                  FD_SET(0, &fds);
                 for (i = 0; ptbl[i] != NULL; i++)                  for (i = 0; ptbl[i] != NULL; i++)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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