winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
June 2007
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
5 participants
856 discussions
Start a n
N
ew thread
Dmitry Timoshkov : mcicda: Fix compilation warnings in 64-bit mode.
by Alexandre Julliard
01 Jun '07
01 Jun '07
Module: wine Branch: master Commit: 2f0bf36d6dfc1f1fa6b6d461342564c1d187c8b9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2f0bf36d6dfc1f1fa6b6d4613…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Thu May 31 23:01:05 2007 +0900 mcicda: Fix compilation warnings in 64-bit mode. --- dlls/mcicda/mcicda.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/mcicda/mcicda.c b/dlls/mcicda/mcicda.c index 66acc5b..3273ecd 100644 --- a/dlls/mcicda/mcicda.c +++ b/dlls/mcicda/mcicda.c @@ -72,7 +72,7 @@ static DWORD MCICDA_drvOpen(LPCWSTR str, LPMCI_OPEN_DRIVER_PARMSW modp) return 0; wmcda->wDevID = modp->wDeviceID; - mciSetDriverData(wmcda->wDevID, (DWORD)wmcda); + mciSetDriverData(wmcda->wDevID, (DWORD_PTR)wmcda); modp->wCustomCommandTable = MCI_NO_COMMAND_TABLE; modp->wType = MCI_DEVTYPE_CD_AUDIO; return modp->wDeviceID; @@ -293,7 +293,7 @@ static DWORD MCICDA_Open(UINT wDevID, DWORD dwFlags, LPMCI_OPEN_PARMSW lpOpenPar } if (dwFlags & MCI_OPEN_ELEMENT) { if (dwFlags & MCI_OPEN_ELEMENT_ID) { - WARN("MCI_OPEN_ELEMENT_ID %8x ! Abort\n", (DWORD)lpOpenParms->lpstrElementName); + WARN("MCI_OPEN_ELEMENT_ID %p! Abort\n", lpOpenParms->lpstrElementName); return MCIERR_NO_ELEMENT_ALLOWED; } TRACE("MCI_OPEN_ELEMENT element name: %s\n", debugstr_w(lpOpenParms->lpstrElementName));
1
0
0
0
Dmitry Timoshkov : atl: Fix compilation warnings in 64-bit mode.
by Alexandre Julliard
01 Jun '07
01 Jun '07
Module: wine Branch: master Commit: 2e944d8e13dcfdf044b710cc291ad116ea6adcc7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2e944d8e13dcfdf044b710cc2…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Thu May 31 22:57:21 2007 +0900 atl: Fix compilation warnings in 64-bit mode. --- dlls/atl/atl_ax.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/atl/atl_ax.c b/dlls/atl/atl_ax.c index 7e6a348..4f0b7cb 100644 --- a/dlls/atl/atl_ax.c +++ b/dlls/atl/atl_ax.c @@ -1146,8 +1146,8 @@ static LPDLGTEMPLATEW AX_ConvertDialogTemplate(LPCDLGTEMPLATEW src_tmpl) while(rescount--) { - src = (const WORD *)( ( ((ULONG)src) + 3) & ~3); /* align on DWORD boundary */ - filled = (filled + 1) & ~1; /* depends on DWORD-aligned allocation unit */ + src = (const WORD *)( ( ((ULONG_PTR)src) + 3) & ~3); /* align on DWORD boundary */ + filled = (filled + 1) & ~1; /* depends on DWORD-aligned allocation unit */ tmp = src; if (ext) @@ -1167,8 +1167,8 @@ static LPDLGTEMPLATEW AX_ConvertDialogTemplate(LPCDLGTEMPLATEW src_tmpl) src += strlenW(src) + 1; /* title */ if ( GET_WORD(tmp) == '{' ) /* all this mess created because of this line */ { - const WCHAR AtlAxWin[9]={'A','t','l','A','x','W','i','n',0}; - PUT_BLOCK(AtlAxWin, sizeof(AtlAxWin)/sizeof(WORD)); + static const WCHAR AtlAxWin[9]={'A','t','l','A','x','W','i','n',0}; + PUT_BLOCK(AtlAxWin, sizeof(AtlAxWin)/sizeof(WCHAR)); PUT_BLOCK(tmp, strlenW(tmp)+1); } else PUT_BLOCK(tmp, src-tmp);
1
0
0
0
Francois Gouget : shell32/tests: Remove unneeded cast.
by Alexandre Julliard
01 Jun '07
01 Jun '07
Module: wine Branch: master Commit: c6b64b0b47d8157dd66d1b7272371d0aa93d43ae URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c6b64b0b47d8157dd66d1b727…
Author: Francois Gouget <fgouget(a)free.fr> Date: Thu May 31 13:59:23 2007 +0200 shell32/tests: Remove unneeded cast. --- dlls/shell32/tests/shlexec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c index 8894364..86349a4 100644 --- a/dlls/shell32/tests/shlexec.c +++ b/dlls/shell32/tests/shlexec.c @@ -1112,7 +1112,7 @@ static HDDEDATA CALLBACK ddeCb(UINT uType, UINT uFmt, HCONV hConv, return (HDDEDATA)DDE_FACK; default: - return (HDDEDATA)NULL; + return NULL; } }
1
0
0
0
Alexandre Julliard : ntdll: Preserve errno across system calls done in the suspend handler.
by Alexandre Julliard
01 Jun '07
01 Jun '07
Module: wine Branch: master Commit: 970b34291e85c47a11a0bfe107125f32ef2f75d1 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=970b34291e85c47a11a0bfe10…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Jun 1 11:16:09 2007 +0200 ntdll: Preserve errno across system calls done in the suspend handler. --- dlls/ntdll/exception.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/dlls/ntdll/exception.c b/dlls/ntdll/exception.c index 8974ced..c039dd4 100644 --- a/dlls/ntdll/exception.c +++ b/dlls/ntdll/exception.c @@ -23,6 +23,7 @@ #include "wine/port.h" #include <assert.h> +#include <errno.h> #include <signal.h> #include <stdarg.h> @@ -147,6 +148,7 @@ extern DWORD EXC_CallHandler( EXCEPTION_RECORD *record, EXCEPTION_REGISTRATION_R void wait_suspend( CONTEXT *context ) { LARGE_INTEGER timeout; + int saved_errno = errno; /* store the context we got at suspend time */ SERVER_START_REQ( set_thread_context ) @@ -173,6 +175,8 @@ void wait_suspend( CONTEXT *context ) wine_server_call( req ); } SERVER_END_REQ; + + errno = saved_errno; }
1
0
0
0
Alexandre Julliard : ws2_32: Don't modify last error in async I/O callback.
by Alexandre Julliard
01 Jun '07
01 Jun '07
Module: wine Branch: master Commit: b281d3f8d81ce2b54498a65a4d2d5be2ec4b2e7a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b281d3f8d81ce2b54498a65a4…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Jun 1 11:15:33 2007 +0200 ws2_32: Don't modify last error in async I/O callback. --- dlls/ws2_32/socket.c | 24 ++++++++++-------------- 1 files changed, 10 insertions(+), 14 deletions(-) diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index 89fac2c..a39da4a 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -1171,7 +1171,7 @@ static int WS2_recv( int fd, struct iovec* iov, int count, if ( (n = recvmsg(fd, &hdr, *lpFlags)) == -1 ) { TRACE( "recvmsg error %d\n", errno); - goto out; + return -1; } if ( lpFrom && @@ -1180,11 +1180,9 @@ static int WS2_recv( int fd, struct iovec* iov, int count, /* The from buffer was too small, but we read the data * anyway. Is that really bad? */ - WSASetLastError( WSAEFAULT ); WARN( "Address buffer too small\n" ); } -out: TRACE("-> %d\n", n); return n; } @@ -1197,7 +1195,7 @@ out: static NTSTATUS WS2_async_recv( void* user, IO_STATUS_BLOCK* iosb, NTSTATUS status) { ws2_async* wsa = user; - int result = 0, fd, err; + int result = 0, fd; TRACE( "(%p %p %x)\n", wsa, iosb, status ); @@ -1218,8 +1216,7 @@ static NTSTATUS WS2_async_recv( void* user, IO_STATUS_BLOCK* iosb, NTSTATUS stat } else { - err = wsaErrno(); - if ( err == WSAEINTR || err == WSAEWOULDBLOCK ) /* errno: EINTR / EAGAIN */ + if (errno == EINTR || errno == EAGAIN) { status = STATUS_PENDING; _enable_event( wsa->hSocket, FD_READ, 0, 0 ); @@ -1228,8 +1225,8 @@ static NTSTATUS WS2_async_recv( void* user, IO_STATUS_BLOCK* iosb, NTSTATUS stat else { result = 0; - status = err; /* FIXME: is this correct ???? */ - TRACE( "Error: %x\n", err ); + status = wsaErrno(); /* FIXME: is this correct ???? */ + TRACE( "Error: %x\n", status ); } } break; @@ -1260,8 +1257,8 @@ static int WS2_send( int fd, struct iovec* iov, int count, hdr.msg_namelen = ws_sockaddr_ws2u( to, tolen, &unix_addr ); if ( !hdr.msg_namelen ) { - WSASetLastError( WSAEFAULT ); - return SOCKET_ERROR; + errno = EFAULT; + return -1; } #ifdef HAVE_IPX @@ -1334,8 +1331,7 @@ static NTSTATUS WS2_async_send(void* user, IO_STATUS_BLOCK* iosb, NTSTATUS statu } else { - int err = wsaErrno(); - if ( err == WSAEINTR ) + if (errno == EINTR || errno == EAGAIN) { status = STATUS_PENDING; _enable_event( wsa->hSocket, FD_WRITE, 0, 0 ); @@ -1345,9 +1341,9 @@ static NTSTATUS WS2_async_send(void* user, IO_STATUS_BLOCK* iosb, NTSTATUS statu { /* We set the status to a winsock error code and check for that later in NtStatusToWSAError () */ - status = err; + status = wsaErrno(); result = 0; - TRACE( "Error: %x\n", err ); + TRACE( "Error: %x\n", status ); } } break;
1
0
0
0
Alexandre Julliard : ws2_32: Re-enable FD_READ also when returning EWOULDBLOCK from WSARecvFrom().
by Alexandre Julliard
01 Jun '07
01 Jun '07
Module: wine Branch: master Commit: a1192b03d1ba25de4829a9be551f0c8354ae2b43 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a1192b03d1ba25de4829a9be5…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Jun 1 11:14:44 2007 +0200 ws2_32: Re-enable FD_READ also when returning EWOULDBLOCK from WSARecvFrom(). --- dlls/ws2_32/socket.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index decbf22..89fac2c 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -4290,6 +4290,7 @@ INT WINAPI WSARecvFrom( SOCKET s, LPWSABUF lpBuffers, DWORD dwBufferCount, } else { + _enable_event(SOCKET2HANDLE(s), FD_READ, 0, 0); err = WSAEWOULDBLOCK; goto error; }
1
0
0
0
← Newer
1
...
83
84
85
86
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Results per page:
10
25
50
100
200