# | Line 202 | Line 202 | rmx_load(const char *inspec) | |
---|---|---|
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) | |
# | Line 254 | Line 254 | rmx_load(const char *inspec) | |
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? */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |