| 202 |
|
} else if (inspec[0] == '!') { |
| 203 |
|
if (!(fp = popen(inspec+1, "r"))) |
| 204 |
|
return(NULL); |
| 205 |
< |
SET_FILE_BINARY(stdin); |
| 205 |
> |
SET_FILE_BINARY(fp); |
| 206 |
|
} else { |
| 207 |
|
const char *sp = inspec; /* check suffix */ |
| 208 |
|
while (*sp) |
| 254 |
|
dnew->info = dinfo.info; |
| 255 |
|
switch (dinfo.dtype) { |
| 256 |
|
case DTascii: |
| 257 |
< |
SET_FILE_TEXT(stdin); |
| 257 |
> |
SET_FILE_TEXT(fp); |
| 258 |
|
if (!rmx_load_ascii(dnew, fp)) |
| 259 |
|
goto loaderr; |
| 260 |
|
dnew->dtype = DTascii; /* should leave double? */ |
| 655 |
|
return(NULL); |
| 656 |
|
if (msrc->info) { |
| 657 |
|
char buf[128]; |
| 658 |
< |
sprintf(buf, "Applied %dx%d matrix transform\n", |
| 658 |
> |
sprintf(buf, "Applied %dx%d component transform\n", |
| 659 |
|
dnew->ncomp, msrc->ncomp); |
| 660 |
|
rmx_addinfo(dnew, msrc->info); |
| 661 |
|
rmx_addinfo(dnew, buf); |