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.11 and 1.12

version 1.11, 2002/02/11 16:17:55 version 1.12, 2002/02/12 00:34:22
Line 214  main(argc, argv)
Line 214  main(argc, argv)
                 }                  }
   
                 /* TODO: if closed fd 0, always use timeout */                  /* TODO: if closed fd 0, always use timeout */
                 if (1 || pid == 1) {                  if (pid == 1) {
                         tv.tv_sec = 1;                          tv.tv_sec = 1;
                         tv.tv_usec = 1000;                          tv.tv_usec = 1000;
                 }                  }
   
                 ret = select(FD_SETSIZE, &rfds, NULL, &efds, 1 || pid == 1 ? &tv : NULL);                  ret = select(FD_SETSIZE, &rfds, NULL, &efds, pid == 1 ? &tv : NULL);
   
                 if (ret < 0) {                  if (ret < 0) {
                         msg_error_print("select() failure: %s\n", strerror(errno));                          msg_error_print("select() failure: %s\n", strerror(errno));
Line 255  main(argc, argv)
Line 255  main(argc, argv)
                         msg_debug_print("main(): repeating proctable_read()\n");                          msg_debug_print("main(): repeating proctable_read()\n");
 #endif  #endif
                 }                  }
   
 #if DEBUG  #if DEBUG
                 proctable_print(ptbl);                  proctable_print(ptbl);
 #endif  #endif

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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