[BACK]Return to aproc.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / aucat

Diff for /src/usr.bin/aucat/Attic/aproc.c between version 1.31 and 1.32

version 1.31, 2009/01/23 17:38:15 version 1.32, 2009/07/25 08:44:27
Line 157 
Line 157 
 }  }
   
 int  int
   aproc_depend(struct aproc *p, struct aproc *dep)
   {
           struct abuf *i;
   
           if (p == dep)
                   return 1;
           LIST_FOREACH(i, &p->ibuflist, ient) {
                   if (i->wproc && aproc_depend(i->wproc, dep))
                           return 1;
           }
           return 0;
   }
   
   int
 rpipe_in(struct aproc *p, struct abuf *ibuf_dummy)  rpipe_in(struct aproc *p, struct abuf *ibuf_dummy)
 {  {
         struct abuf *obuf = LIST_FIRST(&p->obuflist);          struct abuf *obuf = LIST_FIRST(&p->obuflist);
Line 185 
Line 199 
         unsigned char *data;          unsigned char *data;
         unsigned count;          unsigned count;
   
         if (f->refs > 0)          if (f->state & FILE_RINUSE)
                 return 0;                  return 0;
         DPRINTFN(3, "rpipe_out: %s\n", p->name);          DPRINTFN(3, "rpipe_out: %s\n", p->name);
   
Line 270 
Line 284 
         unsigned char *data;          unsigned char *data;
         unsigned count;          unsigned count;
   
         if (f->refs > 0)          if (f->state & FILE_WINUSE)
                 return 0;                  return 0;
         DPRINTFN(3, "wpipe_in: %s\n", p->name);          DPRINTFN(3, "wpipe_in: %s\n", p->name);
   

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32