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
(parent:
8811112
)
added O_BINARY.
author
kramm
<kramm>
Tue, 28 Sep 2004 10:46:57 +0000
(10:46 +0000)
committer
kramm
<kramm>
Tue, 28 Sep 2004 10:46:57 +0000
(10:46 +0000)
lib/example/protect.c
patch
|
blob
|
history
diff --git
a/lib/example/protect.c
b/lib/example/protect.c
index
75a0ea8
..
e6127d1
100644
(file)
--- a/
lib/example/protect.c
+++ b/
lib/example/protect.c
@@
-37,7
+37,7
@@
int main(int argn,char ** argv)
return 0;
}
- fi = open(argv[1],O_RDONLY);
+ fi = open(argv[1],O_RDONLY|O_BINARY);
if (fi<=0)
{