Re: The revenge of the return of 1.1.2

2007-12-19 Thread Dag-Erling Smørgrav
Florian Schulze [EMAIL PROTECTED] writes:
 I just fetched the 1.1 branch r2308 and tried to compile on Mac OS X
 Leopard.

 cache_pool.c:43:2: error: #error Unknown sendfile() implementation
 cache_pool.c:173:2: error: #error Unknown sendfile() implementation
 make[3]: *** [varnishd-cache_pool.o] Error 1
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

Ah, yes.  Both Linux and FreeBSD have sendfile(), but with different
argument lists and slightly different semantics, so we check for
__FreeBSD__ or __linux__ when using sendfile().  This didn't use to be
a problem, because AFAIK Mac OS X didn't have sendfile() before
Leopard.  I imagine Leopard's sendfile() works like FreeBSD's, but I
don't have a Leopard box to test on (my Mac is too old to run it).  I
can change cache_pool.c so just ignores HAVE_SENDFILE in the !(FreeBSD
|| Linux) case, however.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


RE: The revenge of the return of 1.1.2

2007-12-18 Thread BUSTARRET, Jean-francois

Wonderful news !

Thanks DES

JFB
 

 -Message d'origine-
 De : [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] De la part 
 de Dag-Erling Smørgrav
 Envoyé : mardi 18 décembre 2007 18:22
 À : varnish-misc@projects.linpro.no
 Objet : The revenge of the return of 1.1.2
 
 Believe it or not, I have merged a few additional fixes and 
 finished the change log for 1.1.2, and once Stig merges his 
 changes to the Debian package metadata, we will be all set 
 for a December 20th release.  Please test...
 
 DES
 --
 Dag-Erling Smørgrav
 Senior Software Developer
 Linpro AS - www.linpro.no
 ___
 varnish-misc mailing list
 varnish-misc@projects.linpro.no
 http://projects.linpro.no/mailman/listinfo/varnish-misc
 
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: The revenge of the return of 1.1.2

2007-12-18 Thread Stig Sandbeck Mathisen
Dag-Erling Smørgrav [EMAIL PROTECTED] writes:

 [...] once Stig merges his changes to the Debian package metadata,

That's now done as well.

-- 
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc