| # | Line 74 | Line 74 | char *argv[]; | |
|---|---|---|
| 74 | sendframe(file) /* convert and send a frame */ | |
| 75 | char *file; | |
| 76 | { | |
| 77 | < | char command[128]; |
| 77 | > | char command[PATH_MAX]; |
| 78 | COLR scanin[SCANLINE]; | |
| 79 | int xres, yres; | |
| 80 | int xbeg, ybeg; | |
| # | Line 90 | Line 90 | char *file; | |
| 90 | file = "<stdin>"; | |
| 91 | } else { | |
| 92 | if (pcom != NULL) { | |
| 93 | < | sprintf(command, "( %s ) < %s", pcom, file); |
| 93 | > | sprintf(command, "( %s ) < \"%s\"", pcom, file); |
| 94 | fp = popen(command, "r"); | |
| 95 | } else | |
| 96 | fp = fopen(file, "r"); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |