Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Vorbis tools
Commits
80260ac2
Commit
80260ac2
authored
Jan 11, 2002
by
Segher Boessenkool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix -c on mswindows (file was opened in binary mode).
svn path=/trunk/vorbis-tools/; revision=2955
parent
b21c6cef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vorbiscomment/vcomment.c
vorbiscomment/vcomment.c
+2
-2
No files found.
vorbiscomment/vcomment.c
View file @
80260ac2
...
@@ -435,7 +435,7 @@ void open_files(param_t *p)
...
@@ -435,7 +435,7 @@ void open_files(param_t *p)
(
strncmp
(
p
->
commentfilename
,
"-"
,
2
)
==
0
))
{
(
strncmp
(
p
->
commentfilename
,
"-"
,
2
)
==
0
))
{
p
->
com
=
stdin
;
p
->
com
=
stdin
;
}
else
{
}
else
{
p
->
com
=
fopen
(
p
->
commentfilename
,
"r
b
"
);
p
->
com
=
fopen
(
p
->
commentfilename
,
"r"
);
}
}
if
(
p
->
com
==
NULL
)
{
if
(
p
->
com
==
NULL
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
...
@@ -452,7 +452,7 @@ void open_files(param_t *p)
...
@@ -452,7 +452,7 @@ void open_files(param_t *p)
(
strncmp
(
p
->
commentfilename
,
"-"
,
2
)
==
0
))
{
(
strncmp
(
p
->
commentfilename
,
"-"
,
2
)
==
0
))
{
p
->
com
=
stdout
;
p
->
com
=
stdout
;
}
else
{
}
else
{
p
->
com
=
fopen
(
p
->
commentfilename
,
"w
b
"
);
p
->
com
=
fopen
(
p
->
commentfilename
,
"w"
);
}
}
if
(
p
->
com
==
NULL
)
{
if
(
p
->
com
==
NULL
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment