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

Comparing ray/src/common/popen.c (file contents):
Revision 2.2 by greg, Mon Sep 21 12:02:16 1992 UTC vs.
Revision 2.3 by greg, Tue Sep 29 09:25:54 1992 UTC

# Line 57 | Line 57 | char   *mode;
57   #else
58                          break;
59   #endif                
60 + #ifndef MSDOS
61                  case '(':
62                          if (!quote)
63                                  paren++;
# Line 73 | Line 74 | char   *mode;
74                          }
75                          *cp++ = *cmd++;
76                          break;
77 + #endif
78                  case ' ':
79                  case '\t':
80                          if (!quote)
# Line 115 | Line 117 | char   *mode;
117                  return(NULL);
118          }
119          if (fileno(fp) >= NFILE) {
120 <                fputs("popen: too many open files\n", stderr);
121 <                exit(1);
120 >                eputs("popen: too many open files\n");
121 >                quit(1);
122          }
123          pips[fileno(fp)].f = fname;
124          if (*mode == 'r') {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines