[Bug 40200] New: ftell function problems

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 21 18:13:07 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=40200

            Bug ID: 40200
           Summary: ftell function problems
           Product: Wine
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: eliidida at gmail.com
      Distribution: ---

Hello,

I have a console application for Windows so it's a .exe. The console .exe only
has one function, no GUI or anything. The console application basically
obfuscates a file. Command: ConsoleApp.exe FileName.dylib

 I have tried Wine (stable or development builds) and while I can run the
console application fine, and it exits with "Success", the problem is the
output file that is ran using Wine on Linux has a slight difference compared to
the output file that was ran using the same .exe but on Windows.

 After investigating the console .exe program, we found out that the whole
problem was due to a piece of code in the .exe "ftell function". Wine
apparently doesn't support it? Or something similar because if we compare the
two output files, the only difference is in here:
http://i.imgur.com/vghTN2X.png
 Left is Wine on Linux (Ubuntu) and Right is normal Windows OS output file.

This is the ftell code:

https://imgur.com/UrkJ36V


Can you verify this? I did ask on IRC and on the Forums, they told me to submit
a bug report.

Thank you for your time and I hope a fix for this comes as soon as possible so
I can bring my project to life.

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