Hi,Since OpenOffice truncates the file with the exact file size, no shrink or expansion is necessary. It simplify the code a lot, and this is enough to make it work.
I will wrote on the samba mailing list to get feedback about how to implement truncate with libsmb.
Have a nice day, -- Francis Giraldeau -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]