diff options
author | B. Watson <urchlay@slackware.uk> | 2024-06-07 04:47:04 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-06-07 04:47:04 -0400 |
commit | 028b2a57446789fe7bafb8ab678c1f0f43b34645 (patch) | |
tree | 803b470b3a8335c6e3217bb1b3a39f74ef59f71a /bas.c | |
parent | 1af6d65e6985038f1c8501686cdce22a4cbc6250 (diff) | |
download | bw-atari8-tools-028b2a57446789fe7bafb8ab678c1f0f43b34645.tar.gz |
dumpbas: added.
Diffstat (limited to 'bas.c')
-rw-r--r-- | bas.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -217,7 +217,7 @@ FILE *open_file(const char *name, const char *mode) { } void open_input(const char *name) { - if(!name) { + if(!name || strcmp(name, "-") == 0) { if(isatty(fileno(stdin))) { die("Can't read binary data from the terminal."); } |