diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-31 00:28:00 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-31 12:04:19 +0900 |
| commit | da65f1e21a24f0a173ee5ae08f00db91cba5ffda (patch) | |
| tree | 3ec802f40d7cd0bd9e162ea5b3e50b76f319a884 /src/io.c | |
| parent | a5ee9d944edf665c814bbfeded2849f2bb980ed8 (diff) | |
| download | ducc-da65f1e21a24f0a173ee5ae08f00db91cba5ffda.tar.gz ducc-da65f1e21a24f0a173ee5ae08f00db91cba5ffda.tar.zst ducc-da65f1e21a24f0a173ee5ae08f00db91cba5ffda.zip | |
feat: support -MMD flag
Diffstat (limited to 'src/io.c')
| -rw-r--r-- | src/io.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -14,12 +14,7 @@ void sourcelocation_build_json(JsonBuilder* builder, SourceLocation* loc) { } InFile* infile_open(const char* filename) { - FILE* in; - if (strcmp(filename, "-") == 0) { - in = stdin; - } else { - in = fopen(filename, "rb"); - } + FILE* in = fopen(filename, "rb"); if (!in) { return NULL; } |
