mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 20:21:22 +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);
|
} while (rn > 0);
|
||||||
f->_flag &= ~_IODIRTY;
|
f->_flag &= ~_IODIRTY;
|
||||||
|
|
||||||
|
// commit flushed data
|
||||||
|
// _commit(fileno(f));
|
||||||
}
|
}
|
||||||
if (OPEN4READING(f) && OPEN4WRITING(f) )
|
if (OPEN4READING(f) && OPEN4WRITING(f) )
|
||||||
{
|
{
|
||||||
|
|
|
@ -99,6 +99,8 @@ int fflush(FILE *f)
|
||||||
};
|
};
|
||||||
f->_flag &= ~_IODIRTY;
|
f->_flag &= ~_IODIRTY;
|
||||||
|
|
||||||
|
// commit flushed data
|
||||||
|
// _commit(fileno(f));
|
||||||
}
|
}
|
||||||
if (OPEN4READING(f) && OPEN4WRITING(f) )
|
if (OPEN4READING(f) && OPEN4WRITING(f) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue