Skip to content
Snippets Groups Projects
Commit 20cf016f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

pp

parent 422bf68e
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ void Msg::Exit(int level)
static int streamIsFile(FILE* stream)
{
// the given stream is definately not interactive if it is a regular file
// the given stream is definitely not interactive if it is a regular file
struct stat stream_stat;
if(fstat(fileno(stream), &stream_stat) == 0){
if(stream_stat.st_mode & S_IFREG) return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment