[Bug 14914] files are created as sparse files when they shouldn't

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 19 15:21:05 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=14914


Vitaliy Margolen <vitaliy at kievinfo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|kernel32                    |ntdll




--- Comment #3 from Vitaliy Margolen <vitaliy at kievinfo.com>  2008-08-19 15:21:05 ---
The file is opened this way:
CreateFileW("H:\\dummy.ts", GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ |
FILE_SHARE_WRITE, NULL,
            OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL | FILE_FLAG_RANDOM_ACCESS,
NULL);

What sparse segments are you talking about? The sequence of commands just
creates an empty file, advances file pointer to some required length. And set's
EOF. Basically creating a file with requested size.


So what is the problem that you have?


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list