diff --git a/mkisofs/multi.c b/mkisofs/multi.c index ddd0454..86aef8e 100644 --- a/mkisofs/multi.c +++ b/mkisofs/multi.c @@ -1365,6 +1365,13 @@ int open_merge_image(path) char *path; { + if (path[0] == '-' && path[1] == '\0') { +#ifdef NEED_O_BINARY + setmode(fileno(stdin), O_BINARY); +#endif + in_image = stdin; + return(0); + } #ifndef USE_SCG in_image = fopen(path, "rb"); if (in_image == NULL) {