Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Vorbis tools
Commits
bd838dff
Commit
bd838dff
authored
Jan 01, 2002
by
Jack Moffitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't close stdin and stdout. This is fatal on win32.
svn path=/trunk/vorbis-tools/; revision=2930
parent
899f1868
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
vorbiscomment/vcomment.c
vorbiscomment/vcomment.c
+3
-5
No files found.
vorbiscomment/vcomment.c
View file @
bd838dff
...
...
@@ -474,11 +474,9 @@ void open_files(param_t *p)
void
close_files
(
param_t
*
p
)
{
/* FIXME: should handle stdin/out */
if
(
p
->
in
!=
NULL
)
fclose
(
p
->
in
);
if
(
p
->
out
!=
NULL
)
fclose
(
p
->
out
);
if
(
p
->
com
!=
NULL
)
fclose
(
p
->
com
);
if
(
p
->
in
!=
NULL
&&
p
->
in
!=
stdin
)
fclose
(
p
->
in
);
if
(
p
->
out
!=
NULL
&&
p
->
out
!=
stdout
)
fclose
(
p
->
out
);
if
(
p
->
com
!=
NULL
&&
p
->
com
!=
stdout
&&
p
->
com
!=
stdin
)
fclose
(
p
->
com
);
if
(
p
->
tempoutfile
)
rename
(
p
->
outfilename
,
p
->
infilename
);
...
...
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