Bug#156972: acknowledged by developer ()
reopen 156972
thanks
#include <hallo.h>
* Debian Bug Tracking System [Tue, Oct 14 2003, 11:03:24AM]:
> I think it's time to close these 2 bugs since apache (in all it's
> flavours) is compiled with LFS even prior woody release
Do you know or did you just guess after reading some changelogs? Please
try it to become convinced. Below is sth. you can use to generate a large
sparce file. And when you fetch the file, you won't get it but only the
first ($size module 2GB) bytes.
MfG,
Eduard.
#define _FILE_OFFSET_BITS 64
#define _LARGEFILE_SOURCE
#define _LARGEFILE64_SOURCE
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
int main() {
FILE *fh;
fh = fopen("large", "w");
fseeko(fh, 100000000000, SEEK_SET);
fputs("x", fh);
fclose(fh);
}
--
Nie sollte der Mann zärter gegen die Frau sein als nach einem
Geschenk, um ihr jetzt das Gefühl der Verbindlichkeit zu erleichtern.
-- Jean Paul
Reply to: