mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 21:21:33 +00:00
Add a _commit() to fflush() functions. As advised by Mike Nordell.
svn path=/trunk/; revision=7511
This commit is contained in:
parent
0dd0b373bc
commit
2b0c6570ca
2 changed files with 4 additions and 0 deletions
|
@ -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) )
|
||||
{
|
||||
|
|
|
@ -99,6 +99,8 @@ int fflush(FILE *f)
|
|||
};
|
||||
f->_flag &= ~_IODIRTY;
|
||||
|
||||
// commit flushed data
|
||||
// _commit(fileno(f));
|
||||
}
|
||||
if (OPEN4READING(f) && OPEN4WRITING(f) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue