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
December 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
3 participants
824 discussions
Start a n
N
ew thread
Rob Shearman : include: Make RpcRaiseException DECLSPEC_NORETURN, like it is in the PSDK.
by Alexandre Julliard
14 Dec '07
14 Dec '07
Module: wine Branch: master Commit: c8a802eea885d7858028002f43fedba89d2e9672 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c8a802eea885d7858028002f4…
Author: Rob Shearman <rob(a)codeweavers.com> Date: Thu Dec 13 16:11:06 2007 +0000 include: Make RpcRaiseException DECLSPEC_NORETURN, like it is in the PSDK. --- dlls/rpcrt4/rpcrt4_main.c | 6 ++++-- include/rpcdce.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dlls/rpcrt4/rpcrt4_main.c b/dlls/rpcrt4/rpcrt4_main.c index d9efe9a..7cd9b03 100644 --- a/dlls/rpcrt4/rpcrt4_main.c +++ b/dlls/rpcrt4/rpcrt4_main.c @@ -239,10 +239,12 @@ RPC_STATUS WINAPI RpcStringFreeW(RPC_WSTR* String) * * Raises an exception. */ -void WINAPI RpcRaiseException(RPC_STATUS exception) +void DECLSPEC_NORETURN WINAPI RpcRaiseException(RPC_STATUS exception) { - /* FIXME: translate exception? */ + /* shouldn't return */ RaiseException(exception, 0, 0, NULL); + ERR("handler continued execution\n"); + ExitProcess(1); } /************************************************************************* diff --git a/include/rpcdce.h b/include/rpcdce.h index 7f20900..1b8b6e7 100644 --- a/include/rpcdce.h +++ b/include/rpcdce.h @@ -289,7 +289,7 @@ RPC_STATUS RPC_ENTRY DceErrorInqTextA(RPC_STATUS e, RPC_CSTR buffer); RPC_STATUS RPC_ENTRY DceErrorInqTextW(RPC_STATUS e, RPC_WSTR buffer); #define DceErrorInqText WINELIB_NAME_AW(DceErrorInqText) -RPCRTAPI void RPC_ENTRY +RPCRTAPI DECLSPEC_NORETURN void RPC_ENTRY RpcRaiseException( RPC_STATUS exception ); RPCRTAPI RPC_STATUS RPC_ENTRY
1
0
0
0
Aric Stewart : cryptnet: InternetCrackUrlW requires component buffers when used with ICU_DECODE.
by Alexandre Julliard
14 Dec '07
14 Dec '07
Module: wine Branch: master Commit: 1f98ede4f01147f3efcf0b41e45b95d857512cd3 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=1f98ede4f01147f3efcf0b41e…
Author: Aric Stewart <aric(a)codeweavers.com> Date: Fri Dec 14 16:55:19 2007 +0900 cryptnet: InternetCrackUrlW requires component buffers when used with ICU_DECODE. --- dlls/cryptnet/cryptnet_main.c | 25 ++++++++++++++----------- 1 files changed, 14 insertions(+), 11 deletions(-) diff --git a/dlls/cryptnet/cryptnet_main.c b/dlls/cryptnet/cryptnet_main.c index 0ad302d..eba8648 100644 --- a/dlls/cryptnet/cryptnet_main.c +++ b/dlls/cryptnet/cryptnet_main.c @@ -476,18 +476,16 @@ static BOOL CRYPT_CrackUrl(LPCWSTR pszURL, URL_COMPONENTSW *components) memset(components, 0, sizeof(*components)); components->dwStructSize = sizeof(*components); - components->dwHostNameLength = 1; - components->dwUrlPathLength = 1; + components->lpszHostName = CryptMemAlloc(MAX_PATH * sizeof(WCHAR)); + components->dwHostNameLength = MAX_PATH; + components->lpszUrlPath = CryptMemAlloc(MAX_PATH * 2 * sizeof(WCHAR)); + components->dwUrlPathLength = 2 * MAX_PATH; ret = InternetCrackUrlW(pszURL, 0, ICU_DECODE, components); if (ret) { - LPWSTR hostname = strndupW(components->lpszHostName, - components->dwHostNameLength); - LPWSTR path = strndupW(components->lpszUrlPath, - components->dwUrlPathLength); - - components->lpszHostName = hostname; - components->lpszUrlPath = path; + if ((components->dwUrlPathLength == 2 * MAX_PATH - 1) || + (components->dwHostNameLength == MAX_PATH - 1)) + FIXME("Buffers are too small\n"); switch (components->nScheme) { case INTERNET_SCHEME_FTP: @@ -873,12 +871,16 @@ static BOOL WINAPI File_RetrieveEncodedObjectW(LPCWSTR pszURL, *ppfnFreeObject = CRYPT_FreeBlob; *ppvFreeContext = NULL; - components.dwUrlPathLength = 1; + components.lpszUrlPath = CryptMemAlloc(MAX_PATH * 2 * sizeof(WCHAR)); + components.dwUrlPathLength = 2 * MAX_PATH; ret = InternetCrackUrlW(pszURL, 0, ICU_DECODE, &components); if (ret) { LPWSTR path; + if (components.dwUrlPathLength == 2 * MAX_PATH - 1) + FIXME("Buffers are too small\n"); + /* 3 == lstrlenW(L"c:") + 1 */ path = CryptMemAlloc((components.dwUrlPathLength + 3) * sizeof(WCHAR)); if (path) @@ -932,6 +934,7 @@ static BOOL WINAPI File_RetrieveEncodedObjectW(LPCWSTR pszURL, CryptMemFree(path); } } + CryptMemFree(components.lpszUrlPath); return ret; } @@ -952,7 +955,7 @@ static BOOL CRYPT_GetRetrieveFunction(LPCWSTR pszURL, *pFunc = NULL; *phFunc = 0; components.dwSchemeLength = 1; - ret = InternetCrackUrlW(pszURL, 0, ICU_DECODE, &components); + ret = InternetCrackUrlW(pszURL, 0, 0, &components); if (ret) { /* Microsoft always uses CryptInitOIDFunctionSet/
1
0
0
0
Rob Shearman : rpcrt4: Fix a typo in rpcrt4_conn_tcp_read.
by Alexandre Julliard
14 Dec '07
14 Dec '07
Module: wine Branch: master Commit: ba280fb1b040fc2b4c43f8b7ee353ee6933ab59a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ba280fb1b040fc2b4c43f8b7e…
Author: Rob Shearman <rob(a)codeweavers.com> Date: Fri Dec 14 09:30:50 2007 +0000 rpcrt4: Fix a typo in rpcrt4_conn_tcp_read. --- dlls/rpcrt4/rpc_transport.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c index ea49b77..e4d12c3 100644 --- a/dlls/rpcrt4/rpc_transport.c +++ b/dlls/rpcrt4/rpc_transport.c @@ -977,7 +977,7 @@ static int rpcrt4_conn_tcp_read(RpcConnection *Connection, pfds[0].fd = tcpc->sock; pfds[0].events = POLLIN; pfds[1].fd = tcpc->cancel_fds[0]; - pfds[1].fd = POLLIN; + pfds[1].events = POLLIN; if (poll(pfds, 2, -1 /* infinite */) == -1 && errno != EINTR) { ERR("poll() failed: %s\n", strerror(errno));
1
0
0
0
Maarten Lankhorst : riched20: Make some functions static.
by Alexandre Julliard
14 Dec '07
14 Dec '07
Module: wine Branch: master Commit: 4637a4ef49b56dfb3bbe7a3bebb26160e0e30e20 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4637a4ef49b56dfb3bbe7a3be…
Author: Maarten Lankhorst <maarten(a)codeweavers.com> Date: Fri Dec 14 07:45:28 2007 +0100 riched20: Make some functions static. --- dlls/riched20/editor.h | 4 ---- dlls/riched20/wrap.c | 10 ++++++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/dlls/riched20/editor.h b/dlls/riched20/editor.h index 010494a..8757e45 100644 --- a/dlls/riched20/editor.h +++ b/dlls/riched20/editor.h @@ -211,10 +211,6 @@ ME_Style *ME_GetSelectionInsertStyle(ME_TextEditor *editor); BOOL ME_UpdateSelection(ME_TextEditor *editor, const ME_Cursor *pTempCursor); /* wrap.c */ -void ME_PrepareParagraphForWrapping(ME_Context *c, ME_DisplayItem *tp); -ME_DisplayItem *ME_MakeRow(int height, int baseline, int width); -void ME_InsertRowStart(ME_WrapContext *wc, const ME_DisplayItem *pEnd); -void ME_WrapTextParagraph(ME_Context *c, ME_DisplayItem *tp); BOOL ME_WrapMarkedParagraphs(ME_TextEditor *editor); void ME_InvalidateMarkedParagraphs(ME_TextEditor *editor); void ME_SendRequestResize(ME_TextEditor *editor, BOOL force); diff --git a/dlls/riched20/wrap.c b/dlls/riched20/wrap.c index 946aa73..467ce8a 100644 --- a/dlls/riched20/wrap.c +++ b/dlls/riched20/wrap.c @@ -32,7 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(richedit); * - no tabs */ -ME_DisplayItem *ME_MakeRow(int height, int baseline, int width) +static ME_DisplayItem *ME_MakeRow(int height, int baseline, int width) { ME_DisplayItem *item = ME_MakeDI(diStartRow); @@ -51,7 +51,7 @@ static void ME_BeginRow(ME_WrapContext *wc) wc->pt.x = 0; } -void ME_InsertRowStart(ME_WrapContext *wc, const ME_DisplayItem *pEnd) +static void ME_InsertRowStart(ME_WrapContext *wc, const ME_DisplayItem *pEnd) { ME_DisplayItem *p, *row, *para; int ascent = 0, descent = 0, width=0, shift = 0, align = 0; @@ -336,7 +336,9 @@ static ME_DisplayItem *ME_WrapHandleRun(ME_WrapContext *wc, ME_DisplayItem *p) return p->next; } -void ME_WrapTextParagraph(ME_Context *c, ME_DisplayItem *tp) { +static void ME_PrepareParagraphForWrapping(ME_Context *c, ME_DisplayItem *tp); + +static void ME_WrapTextParagraph(ME_Context *c, ME_DisplayItem *tp) { ME_DisplayItem *p; ME_WrapContext wc; int dpi = GetDeviceCaps(c->hDC, LOGPIXELSX); @@ -379,7 +381,7 @@ void ME_WrapTextParagraph(ME_Context *c, ME_DisplayItem *tp) { } -void ME_PrepareParagraphForWrapping(ME_Context *c, ME_DisplayItem *tp) { +static void ME_PrepareParagraphForWrapping(ME_Context *c, ME_DisplayItem *tp) { ME_DisplayItem *p, *pRow; /* remove all items that will be reinserted by paragraph wrapper anyway */
1
0
0
0
Maarten Lankhorst : winealsa: Add 'Front Mic' as alias for microphone.
by Alexandre Julliard
14 Dec '07
14 Dec '07
Module: wine Branch: master Commit: 483e3be2e662616e79deade581d4ecb22333daf2 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=483e3be2e662616e79deade58…
Author: Maarten Lankhorst <maarten(a)codeweavers.com> Date: Fri Dec 14 07:44:41 2007 +0100 winealsa: Add 'Front Mic' as alias for microphone. --- dlls/winealsa.drv/mixer.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/winealsa.drv/mixer.c b/dlls/winealsa.drv/mixer.c index 90b539e..5065518 100644 --- a/dlls/winealsa.drv/mixer.c +++ b/dlls/winealsa.drv/mixer.c @@ -210,6 +210,7 @@ static const struct mixerlinetype { { "Line", MIXERLINE_COMPONENTTYPE_SRC_LINE, }, { "Phone", MIXERLINE_COMPONENTTYPE_SRC_TELEPHONE, }, { "Digital", MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE, }, + { "Front Mic", MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE, }, }; /* Map name to MIXERLINE_COMPONENTTYPE_XXX */
1
0
0
0
Alistair Leslie-Hughes : msxml3: Fix memory leak in tests.
by Alexandre Julliard
14 Dec '07
14 Dec '07
Module: wine Branch: master Commit: 497c2949c709db76167b1515d9471629ad685d91 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=497c2949c709db76167b1515d…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Fri Dec 14 13:44:52 2007 +1100 msxml3: Fix memory leak in tests. --- dlls/msxml3/tests/domdoc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c index 41208f2..8b4f546 100644 --- a/dlls/msxml3/tests/domdoc.c +++ b/dlls/msxml3/tests/domdoc.c @@ -415,7 +415,7 @@ static void test_domdoc( void ) ok ( r == E_INVALIDARG, "get_nodeName (NULL) wrong code\n"); /* content doesn't matter here */ - str = SysAllocString( szNonExistentFile ); + str = NULL; r = IXMLDOMDocument_get_nodeName( doc, &str ); ok ( r == S_OK, "get_nodeName wrong code\n"); ok ( str != NULL, "str is null\n"); @@ -670,7 +670,7 @@ todo_wine ok ( r == E_INVALIDARG, "get_nodeName (NULL) wrong code\n"); /* content doesn't matter here */ - str = SysAllocString( szNonExistentFile ); + str = NULL; r = IXMLDOMNode_get_nodeName( node, &str ); ok ( r == S_OK, "get_nodeName wrong code\n"); ok ( str != NULL, "str is null\n");
1
0
0
0
James Hawkins : msi: Close the file handle returned by FindFirstFile.
by Alexandre Julliard
14 Dec '07
14 Dec '07
Module: wine Branch: master Commit: fa8476e7f6943749184bfef0e4e741bd6e429698 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fa8476e7f6943749184bfef0e…
Author: James Hawkins <truiken(a)gmail.com> Date: Thu Dec 13 18:38:33 2007 -0600 msi: Close the file handle returned by FindFirstFile. --- dlls/msi/action.c | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/dlls/msi/action.c b/dlls/msi/action.c index 89f7bd7..2da9f13 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -5194,8 +5194,8 @@ BOOL move_files_wildcard(LPWSTR source, LPWSTR dest, int options) path = wildcard_to_file(source, wfd.cFileName); if (!path) { - free_list(&files); - return FALSE; + res = FALSE; + goto done; } add_wildcard(&files, path, dest); @@ -5208,8 +5208,8 @@ BOOL move_files_wildcard(LPWSTR source, LPWSTR dest, int options) file->dest = msi_realloc(file->dest, size * sizeof(WCHAR)); if (!file->dest) { - free_list(&files); - return FALSE; + res = FALSE; + goto done; } lstrcpyW(strrchrW(file->dest, '\\') + 1, file->destname); @@ -5224,7 +5224,12 @@ BOOL move_files_wildcard(LPWSTR source, LPWSTR dest, int options) free_file_entry(file); } - return TRUE; + res = TRUE; + +done: + free_list(&files); + FindClose(hfile); + return res; } static UINT ITERATE_MoveFiles( MSIRECORD *rec, LPVOID param )
1
0
0
0
Michael Stefaniuc : winebuild: Remove duplicate declaration of variable 'j' .
by Alexandre Julliard
14 Dec '07
14 Dec '07
Module: wine Branch: master Commit: e94bcee53f52d70488fe58465989423ee25d976e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=e94bcee53f52d70488fe58465…
Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Fri Dec 14 00:18:30 2007 +0100 winebuild: Remove duplicate declaration of variable 'j'. --- tools/winebuild/spec16.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/winebuild/spec16.c b/tools/winebuild/spec16.c index 2b62721..dc86b1b 100644 --- a/tools/winebuild/spec16.c +++ b/tools/winebuild/spec16.c @@ -686,7 +686,7 @@ void BuildSpec16File( DLLSPEC *spec ) for ( i = 0; i < nb_funcs; i++ ) { unsigned int arg_types[2]; - int j, nop_words, argsize = 0; + int nop_words, argsize = 0; if ( typelist[i]->type == TYPE_PASCAL ) argsize = get_function_argsize( typelist[i] );
1
0
0
0
Michael Stefaniuc : kernel32: Do not reuse the name of a function argument for a local variable.
by Alexandre Julliard
14 Dec '07
14 Dec '07
Module: wine Branch: master Commit: 8c6fdf19a9b2c68bbeae177be138bbca7837120c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8c6fdf19a9b2c68bbeae177be…
Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Fri Dec 14 00:18:21 2007 +0100 kernel32: Do not reuse the name of a function argument for a local variable. --- dlls/kernel32/utthunk.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/kernel32/utthunk.c b/dlls/kernel32/utthunk.c index a142216..55ff733 100644 --- a/dlls/kernel32/utthunk.c +++ b/dlls/kernel32/utthunk.c @@ -167,8 +167,8 @@ static UTINFO *UTAlloc( HMODULE hModule, HMODULE16 hModule16, if ( !UTGlue16_Segptr ) { - HMODULE16 hModule = GetModuleHandle16( "KERNEL" ); - UTGlue16_Segptr = GetProcAddress16( hModule, "UTGlue16" ); + HMODULE16 hMod = GetModuleHandle16( "KERNEL" ); + UTGlue16_Segptr = GetProcAddress16( hMod, "UTGlue16" ); if ( !UTGlue16_Segptr ) return NULL; }
1
0
0
0
Michael Stefaniuc : wineoss.drv: Move a function wide variable down to the block it is used in.
by Alexandre Julliard
14 Dec '07
14 Dec '07
Module: wine Branch: master Commit: aff83e69db9930af63f0c2f3a4b3e3e753e9e960 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=aff83e69db9930af63f0c2f3a…
Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Fri Dec 14 00:18:05 2007 +0100 wineoss.drv: Move a function wide variable down to the block it is used in. --- dlls/wineoss.drv/mixer.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/wineoss.drv/mixer.c b/dlls/wineoss.drv/mixer.c index 22f580f..34588f9 100644 --- a/dlls/wineoss.drv/mixer.c +++ b/dlls/wineoss.drv/mixer.c @@ -1063,7 +1063,7 @@ static DWORD MIX_GetControlDetails(WORD wDevID, LPMIXERCONTROLDETAILS lpmcd, DWORD fdwDetails) { DWORD ret = MMSYSERR_NOTSUPPORTED; - DWORD c, chnl; + DWORD chnl; struct mixer* mix; TRACE("(%04X, %p, %u);\n", wDevID, lpmcd, fdwDetails); @@ -1084,7 +1084,7 @@ static DWORD MIX_GetControlDetails(WORD wDevID, LPMIXERCONTROLDETAILS lpmcd, TRACE("MIXER_GETCONTROLDETAILSF_VALUE (%08x)\n", lpmcd->dwControlID); if (MIX_CheckControl(mix, lpmcd->dwControlID)) { - c = lpmcd->dwControlID - 1; + DWORD c = lpmcd->dwControlID - 1; chnl = HIWORD(mix->ctrl[c].dwLineID); if (chnl == LINEID_DST) chnl = LOWORD(mix->ctrl[c].dwLineID) ? SOUND_MIXER_RECLEV : @@ -1221,7 +1221,7 @@ static DWORD MIX_GetControlDetails(WORD wDevID, LPMIXERCONTROLDETAILS lpmcd, ret = MMSYSERR_INVALPARAM; if (MIX_CheckControl(mix, lpmcd->dwControlID)) { - int c = lpmcd->dwControlID - 1; + DWORD c = lpmcd->dwControlID - 1; if (mix->ctrl[c].ctrl.dwControlType == MIXERCONTROL_CONTROLTYPE_MUX || mix->ctrl[c].ctrl.dwControlType == MIXERCONTROL_CONTROLTYPE_MIXER)
1
0
0
0
← Newer
1
...
37
38
39
40
41
42
43
...
83
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
Results per page:
10
25
50
100
200