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

Comparing ray/src/px/ra_ps.c (file contents):
Revision 2.6 by greg, Mon Sep 21 12:15:08 1992 UTC vs.
Revision 2.8 by greg, Thu Feb 10 15:40:12 1994 UTC

# Line 82 | Line 82 | char  *argv[];
82                  exit(1);
83          }
84          if (i == argc-2 && freopen(argv[i+1], "w", stdout) == NULL) {
85 <                fprintf(stderr, "can't open output \"%s\"\n",
85 >                fprintf(stderr, "%s: can't open output \"%s\"\n",
86                                  progname, argv[i+1]);
87                  exit(1);
88          }
# Line 198 | Line 198 | char  *nam;
198          printf("\t{ 0 1 %d { scanline exch\n", xmax-1);
199          printf("\t\t{ decode currentfile read not {stop} if get\n");
200          printf("\tdup 0 lt {pop} {exit} ifelse } loop put } for\n");
201 <        printf("} stopped {pop pop pop 0 string} {scanline} ifelse } def\n");
201 >        printf("\t} stopped {pop pop pop 0 string} {scanline} ifelse\n");
202 >        printf("} bind def\n");
203   }
204  
205  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines