Hi Alexander
We should add the following lines to the configure script to check for
large file support in the kernel. As the GetDiskFreeSpace gets wrong
information regarding the disk space on disks > 2GB.
dnl This test must come as early as possible after the compiler configuration
dnl tests, because the choice of the file model can (in principle) affect
dnl whether functions and headers are available, whether they work, etc.
AC_SYS_LARGEFILE
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=${ac_cv_sys_file_offset_bits}"
AC_CHECK_SIZEOF(off_t, 64, [
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
])
Thanks
Vijay
Is anyone interested in looking at:
http://bugs.winehq.org/show_bug.cgi?id=3293
I can provide trace output, if you let me know what you need traced
(ole? dbghelp? oleaut?). It would be nice if Steam could be made to
work, so Oliver's D3D work can be tested w/ Half Life 2.
Steam used to work, but an update has broken it again.
Hi Jesse,
Jesse Allen wrote:
> Here's a patch to start the work on getting our own printf number
> conversions done internally. It adds pf_integer_conv, which is
> capable of handling d,x,o,u,i. However, a large part of my intent is
> to add support for I64 size integers. So I've decided to only foward
> I64 sizes to it at this time, and leave the rest intact, as I've only
> tested I64. I sent a message to wine-devel last night for comments,
> but it seems to have gotten lost. We need to guage how to restructure
> the printf code, especially since I've found two bugs in our current
> implementation.
Code to handle %I64 and %I32 has been missing for a while. Thanks for
looking into this.
Please make sure to write some test cases, as changing it will probably
break something (or even make some of the current test cases pass).
If you look at glibc's printf code, you'll realize how messy complete
printf handling is... IMO, it would be better to let glibc handle the
complexities of printf where possible, and work around the differences
as we have done so far.
Some comments on the patch:
> + if( flags->Format == 'X' )
> + digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
> + else
> + digits = "0123456789abcdefghijklmnopqrstuvwxyz";
Do you really need the whole alphabet?
> + else if( *(p+1) == '3' && *(p+2) == '2' )
> + {
> + FIXME("%%I32 unhandled\n");
> + p += 3;
> + }
> + else
> + {
> + FIXME("%%I unhandled\n");
> + p++;
Seems like if you have the code to do %I64, then doing %I32 would be
easy too...
I think that you'll find that %I31 is invalid, but again you'll need a
test case to make sure.
Mike
In article <87oe6nlq4i.fsf(a)wine.dyndns.org>, julliard(a)winehq.org says...
> Folks,
>
> As most of you probably know (at least those of you who managed to get
> out of bed in time for my keynote ;-) we are supposed to release 0.9
> real soon now. We do have one remaining issue: the documentation
> needs some major work. Not every bit of it is critical for the
> release, but we need to fix at least the User's Guide to reflect the
> recent configuration changes. Would anybody be interested in helping
> with that?
>
www.wine-wiki.org has been compiling tips from the wine mailing lists.
I had planned to use it to update the documentation, but keeping up
with the lists has kept me busy.
After some discussion, Jason (the owner) has confirmed he would like to
raise an offer of wine-wiki.org and its contents to the Wine project.
joseph black
admin
I updated CVS yesterday and then tried to run notes 6.51 and got this
backtrace. It works fine with 20050726
wine ./nlnotes
Warning: the specified System directory L"c:\\windows\\system32" is not
accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not
accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not
accessible.
fixme:uniscribe:ScriptGetProperties 0x61be3aa8,0x61be3a7c
fixme:uniscribe:ScriptRecordDigitSubstitution 1024,0x61be3a70
wine: Call from 0x4154ba5c to unimplemented function
usp10.dll.ScriptCacheGetHeight, aborting
Warning: the specified System directory L"c:\\windows\\system32" is not
accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not
accessible.
wine: Unhandled exception (thread 000d), starting debugger...
Warning: the specified System directory L"c:\\windows\\system32" is not
accessible.
Usage: winedbg [--command cmd|--auto] [--gdb [--no-start] [--with-xterm]]
cmdline
fixme:netapi32:NetUserEnum ((null),20,
0x2,0x4191f2e4,2,0x4191f4ec,0x4191f4f0,0x4191f2dc) stub!
fixme:advapi:LookupAccountSidA ((null),sid=0x4191f01c,0x4191e9d4,0x4191edd8
(512),0x4191ebd4,0x4191efe0(512),0x4191efe4): semi-stub
fixme:advapi:LookupAccountSidA ((null),sid=0x4191ed2c,0x4191e6e4,0x4191eae8
(512),0x4191e8e4,0x4191ecf0(512),0x4191ecf4): semi-stub
fixme:advapi:LookupAccountSidA ((null),sid=0x4191ed2c,0x4191e6e4,0x4191eae8
(512),0x4191e8e4,0x4191ecf0(512),0x4191ecf4): semi-stub
fixme:advapi:LookupAccountSidA ((null),sid=0x4191ed2c,0x4191e6e4,0x4191eae8
(512),0x4191e8e4,0x4191ecf0(512),0x4191ecf4): semi-stub
fixme:advapi:LookupAccountSidA ((null),sid=0x4191ed2c,0x4191e6e4,0x4191eae8
(512),0x4191e8e4,0x4191ecf0(512),0x4191ecf4): semi-stub
fixme:advapi:LookupAccountSidA ((null),sid=0x4191ed2c,0x4191e6e4,0x4191eae8
(512),0x4191e8e4,0x4191ecf0(512),0x4191ecf4): semi-stub
wine: Unhandled exception (thread 000b), starting debugger...
--
Get my public GnuPG key from
http://keyserver.veridis.com:11371/export?id=7574690260641978351
Hey,
While trying out example code from msdn covering windows sockets, I
ran into a problem with the winsock2.h header. The example only
included winsock2.h and used the socket() function. While compiling
with winelib, gcc complained that socket is not a function. I looked
through winsock2.h and couldn't find the prototype. It turns out the
prototype is in winsock.h. I then checked to see if winsock2.h
included winsock.h, and it turns out it does, but with
__WINE_WINSOCK2__ defined. This prevents the prototypes from being
included from winsock.h because they are protected by an if
!defined(__WINE_WINSOCK2__). Right above this block is the note:
/*
* Prototypes
*
* Remember to keep this section in sync with the
* "Winsock Function Typedefs" section in winsock2.h.
*/
I looked at the Winsock Function Typedefs from winsock2.h and they are
just a bunch of typedefs (of course). If we can compile this program
in windows, shouldn't we be able to compile it with winelib/make too?
Is there anything I'm doing wrong or should something be fixed in the
headers?
Thanks,
James Hawkins
Hi Michael,
Can you try this out and let me know if it works please?
To be honest, I don't like this solution at all, I'll try
a different approach tonight, but in the meanwhile...
--
Dimi Paun <dimi(a)lattica.com>
Lattica, Inc.
New Testsuite for GetDefaultPrinter and GetPrinterDriverDirectory
Added:
+ Test Printing Environments for GetPrinterDriverDirectory
+ More intensive Testing.
+ Verbose Output with "WINETEST_DEBUG" > 1
* More tests will follow.
If the Patch is to Large (i already removed the Unicode-Tests)
i can split the Testsuite, but this will reduce the amount of testing,
compared to the current CVS.
Changelog:
- New Testsuite for winspool.drv:
GetDefaultPrinterA and
GetPrinterDriverDirectoryA (with different environments)
- Verbose Output with "WINETEST_DEBUG" > 1
--
By By ...
... Detlef