[Bug 21434] New: append file example works on Vista but not in wine.
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(a)winehq.org ReportedBy: htl10(a)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.
http://bugs.winehq.org/show_bug.cgi?id=21434 Hin-Tak Leung <htl10(a)users.sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |21394 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21434 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21434 Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |xerox_xerox2000(a)yahoo.co.uk Ever Confirmed|0 |1 --- Comment #1 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2010-10-31 17:40:15 CDT --- confirming -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21434 --- Comment #2 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2010-10-31 17:43:09 CDT --- Created an attachment (id=31634) --> (http://bugs.winehq.org/attachment.cgi?id=31634) test i tried to change the test case to wine's test suite. Looks like WriteFile fails with a ERROR_ACCESS_DENIED. On windows this test passes fine, and the appended file contains "hello world" I'll see if i can improve the test more to add them to wine's test suite -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21434 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy(a)gmail.com --- Comment #3 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2012-10-26 15:58:26 CDT --- Still in 1.5.16 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21434 timur(a)linkbit.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |timur(a)linkbit.com --- Comment #4 from timur(a)linkbit.com 2012-11-20 11:25:16 CST --- IMHO, the error is in server_get_unix_fd(), which out FILE_APPEND_DATA: int server_get_unix_fd( HANDLE handle, unsigned int wanted_access, int *unix_fd, int *needs_close, enum server_fd_type *type, unsigned int *options ) { ... wanted_access &= FILE_READ_DATA | FILE_WRITE_DATA; -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21434 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |focht(a)gmx.net Resolution| |DUPLICATE --- Comment #5 from Anastasius Focht <focht(a)gmx.net> 2013-03-17 12:13:16 CDT --- Hello folks, marking this one a dupe of bug 33232 It contains a nicer analysis (append behaviour explanation) and a real application "Amazon MP3 Downloader" crashing because of this. Regards *** This bug has been marked as a duplicate of bug 33232 *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21434 Ken Sharp <kennybobs(a)o2.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Ken Sharp <kennybobs(a)o2.co.uk> 2013-03-24 07:02:53 CDT --- Closing bugs marked as duplicate. -- 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.
participants (1)
-
wine-bugs@winehq.org