Message14330
Logged In: YES
user_id=21627
The documentation for flush says
"Flushes changes made to the in-memory copy of a file back
to disk."
But it doesn't do that, and we all agree it shouldn't do
that. So I would claim that it is an error to use .flush on
an mmap object that was opened in ACCESS_COPY.
This is like trying to write to a file that was opened for
reading only: one *could* declare that the write just does
nothing, but it helps the developer more if you get an
exception, because the code is likely wrong (i.e. not
following the likely intentions of the author). |
|
Date |
User |
Action |
Args |
2007-08-23 14:10:37 | admin | link | issue678250 messages |
2007-08-23 14:10:37 | admin | create | |
|