*** empty log message ***
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40551
This commit is contained in:
parent
8a1e3bca3a
commit
dc970b9478
1 changed files with 16 additions and 12 deletions
|
@ -144,6 +144,7 @@ static void __cdecl cleanup_output(void)
|
||||||
|
|
||||||
#ifndef NO_STDIO_REDIRECT
|
#ifndef NO_STDIO_REDIRECT
|
||||||
/* See if the files have any output in them */
|
/* See if the files have any output in them */
|
||||||
|
if ( stdoutPath[0] ) {
|
||||||
file = fopen(stdoutPath, "rb");
|
file = fopen(stdoutPath, "rb");
|
||||||
if ( file ) {
|
if ( file ) {
|
||||||
empty = (fgetc(file) == EOF) ? 1 : 0;
|
empty = (fgetc(file) == EOF) ? 1 : 0;
|
||||||
|
@ -152,6 +153,8 @@ static void __cdecl cleanup_output(void)
|
||||||
remove(stdoutPath);
|
remove(stdoutPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
if ( stderrPath[0] ) {
|
||||||
file = fopen(stderrPath, "rb");
|
file = fopen(stderrPath, "rb");
|
||||||
if ( file ) {
|
if ( file ) {
|
||||||
empty = (fgetc(file) == EOF) ? 1 : 0;
|
empty = (fgetc(file) == EOF) ? 1 : 0;
|
||||||
|
@ -160,6 +163,7 @@ static void __cdecl cleanup_output(void)
|
||||||
remove(stderrPath);
|
remove(stderrPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue