TDB on OpenBSD problem.

samba-technical at thewrittenword.com samba-technical at thewrittenword.com
Fri May 4 18:53:19 GMT 2001


On Fri, May 04, 2001 at 10:59:31AM -0700, MCCALL,DON (HP-USA,ex1) wrote:
> Hi Tridge,
> I'm no programmer, and my understanding of mmapped files is slim, but I
> noted in the man page of mmap, after a discussion with one of my HP-UX
> buddies about buffercache vs page cache on HP-UX:
> 
>  The application must ensure correct synchronization when using mmap()
>       in conjunction with any other file access method, such as read() and
>       write(), standard input/output, and shmat().
> 
> So I added a call to msync() right before the call to test() to the test
> program, and with this I resolve the inconsistency on the 11.0 box I was
> seeing the error on.  Follows is the modified code:

Solves it for me too. I posted a message to
hpux-devtools at cxx.cup.hp.com asking for help.

-- 
albert chin (china at thewrittenword.com)




More information about the samba-technical mailing list