[Bug 2801] Wine doesn't start if user ID is over 65534 (2**16-1)
Wine Bugs
wine-bugs at winehq.org
Wed Mar 16 15:21:53 CST 2005
http://bugs.winehq.org/show_bug.cgi?id=2801
winehq at drydog.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From winehq at drydog.com 2005-16-03 15:21 -------
Apparently this is a problem with either Sun JDS Linux 2 or with the underlying
kernel, Linux 2.4.19. I understand 32-bit UIDs will be fixed in Linux 2.6 (they
are in 2.4, but not completely working yet). Here's a patch for a workaround:
--- libs/wine/config.c.ori 2005-03-16 13:15:41.000000000 -0800
+++ libs/wine/config.c 2005-03-16 13:16:51.000000000 -0800
@@ -105,7 +105,7 @@
static void init_server_dir( dev_t dev, ino_t ino )
{
char *p;
-#ifdef HAVE_GETUID
+#ifdef HAVE_GETUID_DISABLED_BECAUSE_32_BIT_UID_BROKEN_WITH_LINUX_2_4
const unsigned int uid = getuid();
#else
const unsigned int uid = 0;
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list