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

Comparing ray/src/hd/rholo4.c (file contents):
Revision 3.9 by gregl, Wed Nov 26 21:34:28 1997 UTC vs.
Revision 3.10 by gregl, Mon Dec 1 16:35:35 1997 UTC

# Line 73 | Line 73 | int    block;
73                                          /* read message header */
74          n = read(dpd[0], (char *)&msg, sizeof(MSGHEAD));
75          if (n != sizeof(MSGHEAD)) {
76 <                if (n >= 0)
76 >                if (n >= 0) {
77 >                        dpout = NULL;
78                          error(USER, "display process died");
79 +                }
80                  if (errno != EAGAIN & errno != EINTR)
81                          goto readerr;
82                  return(2);              /* acceptable failure */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines