--- ray/src/rt/persist.c 1993/01/21 10:09:04 2.2 +++ ray/src/rt/persist.c 1993/01/22 09:51:23 2.4 @@ -96,7 +96,6 @@ pfhold() /* holding pattern for idle rendering proces register int n; /* close input and output descriptors */ close(fileno(stdin)); - fflush(stdout); close(fileno(stdout)); /* create named pipes for input and output */ if (mknod(mktemp(strcpy(inpname,TEMPLATE)), S_IFIFO|0600) < 0) @@ -126,6 +125,7 @@ pfhold() /* holding pattern for idle rendering proces inpname[0] = '\0'; unlink(outpname); outpname[0] = '\0'; + clean_slate(); /* reset time and ray counters */ return; createrr: error(SYSTEM, "cannot create named pipes in pfhold");