diff options
author | Lev Walkin <vlm@lionet.info> | 2005-07-21 18:45:37 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2005-07-21 18:45:37 +0000 |
commit | d4eb17dbf07c498fb98479b8cbd6c0ec228ec669 (patch) | |
tree | 3081c3a649793151beb1dc34c2335fe27830a8f2 | |
parent | fdb25925db839e9dc2718cf0425cb99358339fd0 (diff) |
fopen("w") -> fopen("wb")
-rw-r--r-- | doc/asn1c-usage.html | 2 | ||||
-rw-r--r-- | doc/asn1c-usage.lyx | 2 | ||||
-rw-r--r-- | doc/asn1c-usage.pdf | bin | 132117 -> 132038 bytes |
3 files changed, 2 insertions, 2 deletions
diff --git a/doc/asn1c-usage.html b/doc/asn1c-usage.html index 8bd76d68..b16e7889 100644 --- a/doc/asn1c-usage.html +++ b/doc/asn1c-usage.html @@ -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> diff --git a/doc/asn1c-usage.lyx b/doc/asn1c-usage.lyx index f000c895..51445f35 100644 --- a/doc/asn1c-usage.lyx +++ b/doc/asn1c-usage.lyx @@ -2296,7 +2296,7 @@ n \begin_inset Quotes sld \end_inset -w +wb \begin_inset Quotes srd \end_inset diff --git a/doc/asn1c-usage.pdf b/doc/asn1c-usage.pdf Binary files differindex 90168cd8..621c1cb2 100644 --- a/doc/asn1c-usage.pdf +++ b/doc/asn1c-usage.pdf |