On Fri, 2 Oct 2015 07:38:28 +0000 (UTC)
Stuart Henderson <s...@spacehopper.org> wrote:

> On 2015-09-30, Bogdan Andu <bo...@yahoo.com> wrote:
> > If one needs this linux-like crap, sendfile,and cannot disable it,
> > how is he suppose to handle it?
> 
> Run it on linux?
> 
> I'm surprised Yaws needs it though, from what it says on their website
> it looks optional.
> 

Sendfile support IS optional, from the include.mk:

ifeq ($(HAVE_SENDFILE),true)
  ERLC_GENERIC_FLAGS += -DHAVE_SENDFILE
endif

ifeq ($(HAVE_ERLANG_SENDFILE),true)
  ERLC_GENERIC_FLAGS += -DHAVE_ERLANG_SENDFILE
endif

So check what is happening and send a report to YAWS if sendfile seems
to be mandatory on OpenBSD, as then there is a bug in the makefile
generation.

Reply via email to