You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Eng Siang <es...@tane2.nnorth.denison.edu> on 2001/02/28 06:40:32 UTC
fdatasync() in mod_jk (tomcat)
i am not on this list, so cc: me a copy i guess
i am on FreeBSD 4.1.1-RELEASE, this is a C code, the usual gcc
jakarta-tomcat/src/native/jk/jk_util.c: 112
the function fdatasync() as pointed out at
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html#s62
will cause a dependency problem, i imagine on several other UNiX platforms
too. reading thru the manual, i replaced fdatasync() with fsync(), and
recompile etc, which fixed the problem
AFAIK, fdatasync() is only linux and posix4 library, and several software
offers fsync() in lieu.
hope this helps
tES>