--- ray/src/px/protate.c 1990/01/18 23:58:15 1.3 +++ ray/src/px/protate.c 1990/01/25 08:28:35 1.4 @@ -45,8 +45,7 @@ char *argv[]; exit(1); } /* copy header */ - while (fgets(buf, sizeof(buf), fin) != NULL && buf[0] != '\n') - fputs(buf, stdout); + copyheader(fin, stdout); /* add new header info. */ printf("%s\n\n", progname); /* get picture size */