Add a _commit() to fflush() functions. As advised by Mike Nordell.

svn path=/trunk/; revision=7511
This commit is contained in:
Jason Filby 2004-01-08 18:42:44 +00:00
parent 0dd0b373bc
commit 2b0c6570ca
2 changed files with 4 additions and 0 deletions

View file

@ -99,6 +99,8 @@ int fflush(FILE *f)
} while (rn > 0);
f->_flag &= ~_IODIRTY;
// commit flushed data
// _commit(fileno(f));
}
if (OPEN4READING(f) && OPEN4WRITING(f) )
{

View file

@ -99,6 +99,8 @@ int fflush(FILE *f)
};
f->_flag &= ~_IODIRTY;
// commit flushed data
// _commit(fileno(f));
}
if (OPEN4READING(f) && OPEN4WRITING(f) )
{