[Bug 21434] New: append file example works on Vista but not in wine.

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 20 11:56:54 CST 2010


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

           Summary: append file example works on Vista but not in wine.
           Product: Wine
           Version: 1.1.35
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: htl10 at users.sourceforge.net


Created an attachment (id=25810)
 --> (http://bugs.winehq.org/attachment.cgi?id=25810)
zip file with source code, input file, and a cross-compiled binary.

While trying to fix bug 21394 ("+" in cmd copy's syntax to join two files), I
tried to an example of appending files in MSDN (
http://msdn.microsoft.com/en-us/library/aa363778%28VS.85%29.aspx ) and when I
am testing my patch, it did not work, and so I tested the example itself, and
it doesn't work either. Then I reboot to Vista and the example does work there,
so obviously there is a bug with
wine's File operations themselves.

The example, is supposed to just append the content of file "one.txt" to file
"two.txt" every time it is run. When the binary is run on Vista, "two.txt"
increases in size every time "append.exe" is run as it should; but this does
not work under wine cmd. 

The binary "append.exe" is created with cross-gcc in linux, simply by 
"i686-pc-mingw32-gcc file.c" ; feel free to rebuild from source, which is also
attached in the zip file.

-- 
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