Removed check for empty input

This commit is contained in:
Devine Lu Linvega 2024-05-10 19:59:59 -07:00
parent 72bb13b59d
commit a97e6b1963
1 changed files with 0 additions and 1 deletions

View File

@ -96,7 +96,6 @@ device_read(void)
char c, *origin = dst_; char c, *origin = dst_;
while(fread(&c, 1, 1, stdin) && c >= ' ') *dst_++ = c; while(fread(&c, 1, 1, stdin) && c >= ' ') *dst_++ = c;
if(feof(stdin)) dst_ = copy("EOF", dst_, 3); if(feof(stdin)) dst_ = copy("EOF", dst_, 3);
if(dst_ - origin == 0) dst_--;
} }
static char * static char *