Apache in pkgsrc has largefile support on?

Matthew Dillon dillon at apollo.backplane.com
Tue Jun 26 09:48:47 PDT 2007


:>From /usr/pkgsrc/www/apache/Makefile:
:
:  # Explicitly turn on large file support
:  APACHE_CUSTOM_CFLAGS+= -D_LARGEFILE_SOURCE
:  APACHE_CUSTOM_CFLAGS+= -D_FILE_OFFSET_BITS=64
:
:DFly does not have largefile support yet, correct?  So this should be
:turned off for DFly, yes? 
:------
:Dave Hayes - Consultant - Altadena CA, USA - dave at jetcafe.org 
:>>> The opinions expressed above are entirely my own <<<
:
:Nasrudin, camping for the night, put down a bottle as a pillow. 
:"Mulla," said a friend, "surely that is going to be too hard?"
:"As an ordinary bottle, yes" said Nasrudin, "but I am going to
:stuff it with straw before I put my head on it."

    All BSD systems have native large-file support.  off_t is 64 bits.

    This large-file crap was invented by Linux because they weren't forward
    thinking enough to use a 64 bit off_t at the beginning, even though
    at that time the BSDs already *HAD* 64 bit off_t's.

    Actually, I think Microsoft is to blame too, but at least they had an
    excuse 20 years ago.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Users mailing list