--- ray/src/rt/rpmain.c 2003/07/03 18:03:58 2.5 +++ ray/src/rt/rpmain.c 2003/07/21 22:30:19 2.7 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rpmain.c,v 2.5 2003/07/03 18:03:58 greg Exp $"; +static const char RCSid[] = "$Id: rpmain.c,v 2.7 2003/07/21 22:30:19 schorsch Exp $"; #endif /* * rpmain.c - main for rpict batch rendering program @@ -9,11 +9,9 @@ static const char RCSid[] = "$Id: rpmain.c,v 2.5 2003/ #include #include -#ifdef _WIN32 - #include /* getpid */ -#endif #include "platform.h" +#include "rtprocess.h" /* getpid() */ #include "ray.h" #include "source.h" #include "ambient.h" @@ -320,11 +318,12 @@ char *argv[]; } } runagain: - if (persist) + if (persist) { if (outfile == NULL) /* if out to stdout */ dupheader(); /* send header */ else /* if out to file */ duped1 = dup(fileno(stdout)); /* hang onto pipe */ + } #endif /* batch render picture(s) */ rpict(seqstart, outfile, zfile, recover); @@ -425,8 +424,6 @@ char *msg; void printdefaults() /* print default values to stdout */ { - register char *cp; - printf("-vt%c\t\t\t\t# view type %s\n", ourview.type, ourview.type==VT_PER ? "perspective" : ourview.type==VT_PAR ? "parallel" :