Greetings,

I guess not many people in the list use MS Windows
but anyway I would post this.  Accordingly I would try
to explain the MS programming environment terms
with their possible Unix counterparts.

The kernel32.def file of the winapi-full-for-0.9.27.zip
provides a list of exported functions of a dynamic library
provided by the Windows kernel.  It includes function
GetFileSize, which is great, but it misses out the
function GetFileSizeEx.

I found this half an hour ago when I happened to compiler
a code using function GetFileSizeEx.  The linkage fails.
However, the fix is simple - just adding a line GetFileSizeEx
to file kernel32.def.  That file is in plain text.

My assumption is that by the time this file was uploaded
GetFileSizeEx, the extended version of the function GetFileSize,
was not widely used yet.

I searched GetFileSizeEx in the mail-list archive but
there is no results.  Neither does GetFileSize.
Therefore I assume that I would be the first one to report this.

This is a rather simple one so I would be glad if it's possible
for me to update the corresponding file in the repository.
I have glanced at the working tree on repo.or.cz, and there are
some win32 header files indeed, but seems that the contents in
winapi-full-for-0.9.27.zip are absent.  The zip package seems
to be a separate bundle outside the project.  Do you think it
good for me to simply push the zip pack onto the working tree
with an additional build script or something to include it
in the win32 build automatically afterwards?

Best wishes,
Tomoyo
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to