* lseeking big number caused lockup? (osf/1 1.2)
@ 1993-11-23 8:28 Anthony Baxter
0 siblings, 0 replies; only message in thread
From: Anthony Baxter @ 1993-11-23 8:28 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1993-11-23 8:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-11-23 8:28 lseeking big number caused lockup? (osf/1 1.2) Anthony Baxter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox