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/proctable.c between version 1.21 and 1.22

version 1.21, 2002/04/11 06:43:11 version 1.22, 2002/04/11 19:40:27
Line 392  proctable_exec(ptbl)
Line 392  proctable_exec(ptbl)
                                 if (ptbl[i]->nice != 0                                  if (ptbl[i]->nice != 0
                                                 && setpriority(PRIO_PROCESS, PRIO_PROCESS,                                                  && setpriority(PRIO_PROCESS, PRIO_PROCESS,
                                                         ptbl[i]->nice) == -1                                                          ptbl[i]->nice) == -1
                                                 && ! cfg.silent)                                                  && ! cfg.quiet)
                                         /* this is probably written to wrong place;                                          /* this is probably written to wrong place;
                                            fd 2 (stderr) must not be real stderr */                                             fd 2 (stderr) must not be real stderr */
                                         msg_warn_print("cannot set priority %d for process %d\n",                                          msg_warn_print("cannot set priority %d for process %d\n",
Line 755  proctable_wait(p_ptbl)
Line 755  proctable_wait(p_ptbl)
                                                 proctable_get_size(*p_ptbl));                                                  proctable_get_size(*p_ptbl));
 #endif  #endif
   
                                 if (! cfg.silent) {                                  if (! cfg.quiet) {
                                         msg_print("[%d] ", pid);                                          msg_print("[%d] ", pid);
   
                                         if (WIFEXITED(status)) {                                          if (WIFEXITED(status)) {
Line 788  proctable_wait(p_ptbl)
Line 788  proctable_wait(p_ptbl)
                                         msg_print("\t\t\t\t");                                          msg_print("\t\t\t\t");
                                         msg_array_print((*p_ptbl)[index]->argv);                                          msg_array_print((*p_ptbl)[index]->argv);
                                         msg_print("\n");                                          msg_print("\n");
                                 } /* if (! cfg.silent) */                                  } /* if (! cfg.quiet) */
 #if DEBUG  #if DEBUG
                                 msg_debug_print("proctable_wait(): "                                  msg_debug_print("proctable_wait(): "
                                                 "removing process from process table\n");                                                  "removing process from process table\n");
Line 843  proctable_wait2(p_ptbl)
Line 843  proctable_wait2(p_ptbl)
 #endif  #endif
                                         break;                                          break;
                                 default:                                  default:
                                         if (! cfg.silent) {                                          if (! cfg.quiet) {
                                                 msg_print("[%d] ", pid);                                                  msg_print("[%d] ", pid);
   
                                                 if (WIFEXITED(status)) {                                                  if (WIFEXITED(status)) {
Line 876  proctable_wait2(p_ptbl)
Line 876  proctable_wait2(p_ptbl)
                                                 msg_print("\t\t\t\t");                                                  msg_print("\t\t\t\t");
                                                 msg_array_print((*p_ptbl)[i]->argv);                                                  msg_array_print((*p_ptbl)[i]->argv);
                                                 msg_print("\n");                                                  msg_print("\n");
                                         } /* if (! cfg.silent) */                                          } /* if (! cfg.quiet) */
   
                                         proctable_remove_process(p_ptbl, i);                                          proctable_remove_process(p_ptbl, i);
                                         return pid;                                          return pid;

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

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