----- Original Message ----- From: "Rein Klazes" rklazes@xs4all.nl To: wine-patches@winehq.com Sent: Sunday, January 20, 2002 2:13 PM Subject: SetEndOfFile fix
hi,
This fixes office 97 MSword error (disk full or write protected) when saving files on a vfat partition. MSword calls SetEndOfFile() which uses ftruncate() that, in Linux, cannot grow files in this filesystem.
BTW. A google search shows that the ftruncate problem has been mentioned at least 3 times on c.e.m.w. in the last 6 months Since nobody entered a fix, I could be overlooking something...
This was a great catch. It was the reason Scandisk complained about OutlookExpress's files (see my message from 1/11/2001). However your fix still fails on my outdated kernel (2.2.12-20). The attached version seems to work better on this kernel.
Guy