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

Comparing ray/src/rt/persist.c (file contents):
Revision 2.10 by greg, Fri May 28 13:37:39 1993 UTC vs.
Revision 2.11 by greg, Mon Nov 8 09:35:32 1993 UTC

# Line 101 | Line 101 | pfhold()               /* holding pattern for idle rendering proces
101          close(fileno(stdin));
102          close(fileno(stdout));
103                                  /* create named pipes for input and output */
104 <        if (mknod(mktemp(strcpy(inpname,TEMPLATE)), S_IFIFO|0600) < 0)
104 >        if (mknod(mktemp(strcpy(inpname,TEMPLATE)), S_IFIFO|0600, 0) < 0)
105                  goto createrr;
106 <        if (mknod(mktemp(strcpy(outpname,TEMPLATE)), S_IFIFO|0600) < 0)
106 >        if (mknod(mktemp(strcpy(outpname,TEMPLATE)), S_IFIFO|0600, 0) < 0)
107                  goto createrr;
108          sprintf(buf, "%d\n%s\n%s\n", getpid(), inpname, outpname);
109          if (lseek(persistfd, 0L, 0) < 0 || ftruncate(persistfd, 0L) < 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines