ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/process.c
(Generate patch)

Comparing ray/src/common/process.c (file contents):
Revision 2.7 by schorsch, Thu Jun 26 00:58:09 2003 UTC vs.
Revision 2.8 by greg, Fri Sep 17 21:43:49 2004 UTC

# Line 30 | Line 30 | int    nbr, int nbs
30   {
31          if (nbs > PIPE_BUF)
32                  return(-1);
33 +        if (!pd->running)
34 +                return(-1);
35          if (writebuf(pd->w, sendbuf, nbs) < nbs)
36                  return(-1);
37          return(readbuf(pd->r, recvbuf, nbr));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines