mirror of https://gerrit.osmocom.org/asn1c
fopen("w") -> fopen("wb")
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@941 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
e66fd8a716
commit
dae8e61278
|
@ -1051,7 +1051,7 @@ the file <B>main.c</B>:
|
|||
<FONT SIZE="-1"> fprintf(stderr, ''Specify filename for BER output\n'');</FONT>
|
||||
<FONT SIZE="-1"> } else {</FONT>
|
||||
<FONT SIZE="-1"> const char *filename = av[1];</FONT>
|
||||
<FONT SIZE="-1"> FILE *fp = fopen(filename, ''w''); /* for BER output */</FONT>
|
||||
<FONT SIZE="-1"> FILE *fp = fopen(filename, ''wb''); /* for BER output */</FONT>
|
||||
|
||||
<FONT SIZE="-1"> if(!fp) {</FONT>
|
||||
<FONT SIZE="-1"> perror(filename);</FONT>
|
||||
|
|
|
@ -2296,7 +2296,7 @@ n
|
|||
\begin_inset Quotes sld
|
||||
\end_inset
|
||||
|
||||
w
|
||||
wb
|
||||
\begin_inset Quotes srd
|
||||
\end_inset
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue