Boost logo

Boost Users :

From: Pawe³ Sikora (pawels_at_[hidden])
Date: 2007-05-31 10:14:14


hi all,

mmap based file_iterator implementation has a nasty bug.
it treats empty files as non-existent. mmap() doesn't map
empty files into memory, but boost's implementation omit
this little detail of posix specification and return an
error. in fact, empty file != doesn't exist.

regards,
pawel.

-- 
to_be || !to_be == 1, to_be | ~to_be == -1

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net