Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 26. október 2026

Rozdiely pre ep/src/process.c medzi verziami 1.8 a 1.9

verzia 1.8, 2002/02/25 18:45:53 verzia 1.9, 2002/04/10 19:17:51
Riadok 25 
Riadok 25 
 #include <cfg/str/strdyn.h>  #include <cfg/str/strdyn.h>
   
 #include "process.h"  #include "process.h"
 #include "message.h"  #include "message.h" /* msg_*_print() */
   #include "conf.h" /* cfg */
   
   
         void          void
Riadok 63  process_destroy(proc)
Riadok 64  process_destroy(proc)
   
 #if 0 && DEBUG  #if 0 && DEBUG
                 msg_debug_print("process_destroy(): proc->fd[%d] = %p\n",                  msg_debug_print("process_destroy(): proc->fd[%d] = %p\n",
                                                                 k, proc->fd[k].link);                                  k, proc->fd[k].link);
 #endif  #endif
                   if (proc->fd[k].n_link > 0 && ! cfg.silent)
                           msg_warn_print("process_destroy(): removing process %p with %d"
                                           " active links in fd %d\n", proc, proc->fd[k].n_link, k);
   
                 if (proc->fd[k].link != NULL)                  if (proc->fd[k].link != NULL)
                         free(proc->fd[k].link);                          free(proc->fd[k].link);
   
Riadok 123  process_print_cmdline(proc)
Riadok 128  process_print_cmdline(proc)
   
         if (proc == NULL) {          if (proc == NULL) {
                 msg_warn_print("NULL struct process pointer in "                  msg_warn_print("NULL struct process pointer in "
                                                                 "process_print_cmdline()\n");                                  "process_print_cmdline()\n");
                 return;                  return;
         }          }
   
Riadok 142  process_print_names(proc)
Riadok 147  process_print_names(proc)
   
         if (proc == NULL) {          if (proc == NULL) {
                 msg_warn_print("NULL struct process pointer in "                  msg_warn_print("NULL struct process pointer in "
                                                                 "process_print_names()\n");                                  "process_print_names()\n");
                 return;                  return;
         }          }
   
Riadok 164  process_print_struct(proc)
Riadok 169  process_print_struct(proc)
   
         if (proc == NULL) {          if (proc == NULL) {
                 msg_warn_print("NULL struct process pointer in "                  msg_warn_print("NULL struct process pointer in "
                                                                 "process_print_struct()\n");                                  "process_print_struct()\n");
   
                 return;                  return;
         }          }
Riadok 177  process_print_struct(proc)
Riadok 182  process_print_struct(proc)
   
         for (i = 0; i < N_FD; i++)          for (i = 0; i < N_FD; i++)
                 msg_print("\n\tfd[%d].pipe = (%d, %d)",i,                  msg_print("\n\tfd[%d].pipe = (%d, %d)",i,
                                                                 fstat(proc->fd[i].pipe[0], &buf),                                  fstat(proc->fd[i].pipe[0], &buf),
                                                                 fstat(proc->fd[i].pipe[1], &buf));                                  fstat(proc->fd[i].pipe[1], &buf));
 }  }
   
         void          void

Legend:
Odstranené z verzie1.8  
zmenené riadky
  Pridané vo verzii1.9

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok