http://bugs.winehq.com/show_bug.cgi?id=1458
------- Additional Comments From gabriele.giorgetti(a)teamfab.it 2003-05-14 05:32 -------
This is from the configure script in Wine.
I can't figure out why this test returns 0
while it should return 1 here.
All I do is make it return 1 anyway, but this, of course
,is not a valid patch for other kernels :-)
10629 #define _FILE_OFFSET_BITS 64
10630 #include <stdio.h>
10631 #include <unistd.h>
10632 #include <fcntl.h>
10633 #include <sys/mman.h>
10634 #include <errno.h>
10635
10636 int main(int argc,char **argv) {
10637 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
10638 if (fd == -1) exit(1);
10639
10640 unlink("conftest.map");
10641
10642 write(fd,"test",4);
10643
10644 if ((-1 ==
mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
10645 (errno == EINVAL)
10646 ) {
10647 exit(1);
10648 }
10649 close(fd);
10650 fprintf(stderr,"success!\n");
10651 exit(0);
10652 }
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1458>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1383
mike(a)theoretic.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
------- Additional Comments From mike(a)theoretic.com 2003-05-14 04:35 -------
Try removing Wine completely from your system, then installing using
./tools/wineinstall from current CVS. That should fix it.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1383>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1456
mike(a)theoretic.com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|wine-bugs(a)winehq.com |mike(a)theoretic.com
Status|NEW |ASSIGNED
------- Additional Comments From mike(a)theoretic.com 2003-05-14 04:33 -------
I'll take this bug if nobody else wants it. Being able to install IE easily is
important to me (don't ask)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1456>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1458
mike(a)theoretic.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|winserver -k & |winserver -k &
|_FILE_OFFSET_BITS 64 |_FILE_OFFSET_BITS 64
------- Additional Comments From mike(a)theoretic.com 2003-05-14 04:30 -------
Could you write a patch for this (that doesn't break kernels without that option)?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1458>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1460
andi(a)rhlx01.fht-esslingen.de changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|wine-bugs(a)winehq.com |andi(a)rhlx01.fht-esslingen.de
Status|UNCONFIRMED |ASSIGNED
everconfirmed|0 |1
------- Additional Comments From andi(a)rhlx01.fht-esslingen.de 2003-05-14 02:14 -------
Thank you for the fast submission!
I suspect this is because of some GetLastError() incompatibility between
Win9x and NT-based versions (doh!).
(and ISTR that someone recently changed/"fixed" something there, and maybe
he "over-fixed" it ;)
I'll try to come up with a small test program and run it on various versions to
see what the various results should be.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1460>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1460
Summary: CreateDirectory fails if the target directory already
exists
Product: Wine
Version: 20030408
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-files
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: jwilliams(a)itee.uq.edu.au
Running a DOS command line utility that creates a directory heirarchy and
populatews it. In a WinXP DOS box, if a directory already exists, this fact is
silently ignored and the program carries on. However, under Wine, the
application reports an error:
> ERROR:MDT - Failed to create directory
> C:\microblaze\linux_test\microblaze_1\libsrc\.
Here is the relevant trace output
trace:file:CreateDirectoryW (L"C:\\microblaze\\linux_test\\microblaze_1
\\libsrc\\",(nil))
warn:file:CreateDirectoryW Error 'File exists' trying to create
directory '/home/jwilliam/win/c/microblaze/linux_test/microblaze_1/libsrc'
trace:file:WriteFile 0x8 0x40722658 91 0x40722a60 (nil)
ERROR:MDT - Failed to create directory
C:\microblaze\linux_test\microblaze_1\libsrc\.
It seems that Wine is reporting this as a "fatal" error, whereas Windows does
not.
I reported this at comp.emulators.microsoft-windows.wine, and was advised to
lodge a bug report. I searched the bugzilla DB and didn't find anything like
this.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1460>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1459
Summary: Developer Documentation - 5.1. Adding New Languages
stage 2
Product: Wine
Version: CVS
Platform: All
URL: http://www.winehq.org/Docs/wine-devel/i18n.shtml
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-documentation
AssignedTo: wine-bugs(a)winehq.com
ReportedBy: hatky(a)users.sf.net
Developer Documentation - 5.1. Adding New Languages stage 2 :
Look in ole/ole2nls.c if your language is already incorporated in the static const
struct NLS_langlocale. If not: find the appropriate entries in include/winnls.h and
add them to the list.
ole/ole2nls.c does not include a stract named NLS_langlocale it includes only 3
stracts :
static const unsigned char LCM_Unicode_LUT[]
static const unsigned char LCM_Unicode_LUT_2[]
static const unsigned char LCM_Diacritic_LUT[]
so what sould it be? (I guess it was one of conversions to unicode and did not
update the documentation...)
(checked on the url above)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1459>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1455
csimmons2(a)csc.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From csimmons2(a)csc.com 2003-05-13 13:05 -------
I have found that recompiling with an old user32.spec file resolves the issue.
Also the latest file commit in CVS of user32.spec resolves the issue.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1455>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://bugs.winehq.com/show_bug.cgi?id=1455
------- Additional Comments From bon(a)elektron.ikp.physik.tu-darmstadt.de 2003-05-13 12:28 -------
Recent CVS has the offending entries commented out in the Spec File
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1455>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.