Date: Thu, 11 Nov 1999 10:10:13 -0500 (EST) From: "John W. DeBoskey" <jwd@unx.sas.com> To: freebsd-hackers@freebsd.org Subject: Wine: What am I missing (lseek/write) Message-ID: <199911111510.KAA96198@bb01f39.unx.sas.com>
next in thread | raw e-mail | index | archive | help
Hi, I'm working on wine on a 4.0-19990827-SNAP system. The application I have calls WriteFile(), in files/file.c, line 1145. The write() call is failing with: WriteFile: File too large[27] Note: I added the fprintf() to show the above... Well, this is happenning on filedesc 14, so for grins I added the following just above the write call: if (unix_handle == 14) { off_t x = lseek(unix_handle, 0, SEEK_CUR); if (x == -1) fprintf(stderr,"WriteFile lseek %s[%d]\n",strerror(errno),errno); else fprintf(stderr,"WriteFile fd:14 SEEK_CUR,0 == %ld\n",x); } It shows: WriteFile lseek No such file or directory[2] Somewhere, somehow, I'm missing something... I've run wine with -debugmsg and I can't find any errors... I've ktraced wine to make sure the syscall parameters are correct... Any pointers or ideas on where to take this would be appreciated. Thanks! John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911111510.KAA96198>