From: anthony@aaii.oz.au (Anthony Baxter)
Subject: lseeking big number caused lockup? (osf/1 1.2)
Date: Tue, 23 Nov 1993 08:28:11 GMT [thread overview]
Message-ID: <anthony.754043291@wyndham-estates> (raw)
#include <sys/types.h>
#include <unistd.h>
#include <sys/file.h>
main() {
int i;
i=open("foofoo",O_RDWR,0666);
printf("opened, i=%d\n",i);
lseek(i,1234567890123,SEEK_SET);
perror("lseek");
write(i,"foo\n",4);
close(i);
}
caused my 3000/400 running OSF/1 1.2 to lock up completely.
Bit of a bummer...
Anthony
--
anthony baxter australian artificial intelligence institute
email : anthony@aaii.oz.au 1 grattan st, carlton, australia 3053
/\/\|| phone : +613 663 7922
It's not denial. I'm just selective about the reality I accept. - Calvin
reply other threads:[~1993-11-23 8:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox