fix: add growisofs patch for cdrtools
This commit is contained in:
parent
db7c51f8f8
commit
f377a45194
18
patches/cdrtools/cdrtools-3.02a09-growisofs.patch
Normal file
18
patches/cdrtools/cdrtools-3.02a09-growisofs.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
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) {
|
Loading…
Reference in New Issue
Block a user