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

Comparing ray/src/px/pcomb.c (file contents):
Revision 1.5 by greg, Tue Sep 12 13:04:22 1989 UTC vs.
Revision 1.6 by greg, Thu Sep 14 09:20:38 1989 UTC

# Line 18 | Line 18 | static char SCCSid[] = "$SunId$ LBL";
18  
19   #include "calcomp.h"
20  
21 < #define MAXINP          16              /* maximum number of input files */
21 > #define MAXINP          32              /* maximum number of input files */
22  
23   struct {
24          char    *name;          /* file name */
# Line 121 | Line 121 | getfiles:
121                          input[nfiles].name = argv[a];
122                          input[nfiles].fp = fopen(argv[a], "r");
123                          if (input[nfiles].fp == NULL) {
124 <                                eputs(argv[a]);
125 <                                eputs(": cannot open\n");
124 >                                perror(argv[a]);
125                                  quit(1);
126                          }
127                  }
# Line 201 | Line 200 | combine()                      /* combine pictures */
200                          }
201                  }
202                  if (fwritescan(scanout, xres, stdout) < 0) {
203 <                        eputs("write error\n");
203 >                        perror("write error");
204                          quit(1);
205                  }
206          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines