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

Comparing ray/src/util/getinfo.c (file contents):
Revision 1.2 by greg, Thu Jun 28 16:39:32 1990 UTC vs.
Revision 1.3 by greg, Thu Apr 18 14:35:06 1991 UTC

# Line 12 | Line 12 | static char SCCSid[] = "$SunId$ LBL";
12  
13   #include  <stdio.h>
14  
15 + extern int  fputs();
16  
17 +
18   tabstr(s)                               /* put out line followed by tab */
19   register char  *s;
20   {
# Line 51 | Line 53 | char  *argv[];
53                                  getdim(fp);
54                          } else {
55                                  tabstr(":\n");
56 <                                getheader(fp, tabstr);
56 >                                getheader(fp, tabstr, NULL);
57                                  putchar('\n');
58                          }
59                          fclose(fp);
# Line 61 | Line 63 | char  *argv[];
63                  if (dim) {
64                          getdim(stdin);
65                  } else {
66 <                        copyheader(stdin, stdout);
66 >                        getheader(stdin, fputs, stdout);
67                          putchar('\n');
68                  }
69          exit(0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines