git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a8db3c6
)
added stdout support (-o -)
author
kramm
<kramm>
Sun, 21 Jan 2007 21:20:39 +0000
(21:20 +0000)
committer
kramm
<kramm>
Sun, 21 Jan 2007 21:20:39 +0000
(21:20 +0000)
src/swfc.c
patch
|
blob
|
history
diff --git
a/src/swfc.c
b/src/swfc.c
index
745ec2e
..
b46d369
100644
(file)
--- a/
src/swfc.c
+++ b/
src/swfc.c
@@
-681,7
+681,7
@@
static void s_endSWF()
warning("Empty bounding box for movie");
}
- if(do_cgi)
+ if(do_cgi || !strcmp(filename, "-"))
fi = fileno(stdout);
else
fi = open(filename, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, 0644);