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
May 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
715 discussions
Start a n
N
ew thread
Thomas Spear : wine.inf: Add uninstall key.
by Alexandre Julliard
23 May '07
23 May '07
Module: wine Branch: master Commit: 4d00f3ccc86220b9dabd9b25d3a8ce383949b06c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4d00f3ccc86220b9dabd9b25d…
Author: Thomas Spear <Speeddymon(a)gmail.com> Date: Tue May 22 13:29:04 2007 -0500 wine.inf: Add uninstall key. --- tools/wine.inf | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/wine.inf b/tools/wine.inf index ee6a287..5d0420d 100644 --- a/tools/wine.inf +++ b/tools/wine.inf @@ -175,6 +175,7 @@ HKLM,%CurrentVersion%\Controls Folder\PowerCfg,"DiskSpinDownMin",,"3" HKLM,%CurrentVersion%\Controls Folder\PowerCfg,"LastID",,"5" HKLM,%CurrentVersion%\Setup,"BootDir",,"%30%" HKLM,%CurrentVersion%\Setup,"SharedDir",,"%25%" +HKLM,%CurrentVersion%\Uninstall,,,"" HKLM,%CurrentVersionNT%,"RegisteredOrganization",2,"Change preferred organization in ~/.wine/system.reg" HKLM,%CurrentVersionNT%,"RegisteredOwner",2,"Change preferred owner in ~/.wine/system.reg" HKLM,%CurrentVersionNT%,"SystemRoot",,"%10%"
1
0
0
0
Marcus Meissner : quartz: ppinsplitter might be used uninitialized ( Coverity).
by Alexandre Julliard
23 May '07
23 May '07
Module: wine Branch: master Commit: d2bc96bf8a6ec09667164b91c602357524c4b55a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d2bc96bf8a6ec09667164b91c…
Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Tue May 22 21:28:47 2007 +0100 quartz: ppinsplitter might be used uninitialized (Coverity). --- dlls/quartz/filtergraph.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c index e6c19f5..02728d5 100644 --- a/dlls/quartz/filtergraph.c +++ b/dlls/quartz/filtergraph.c @@ -997,7 +997,7 @@ static HRESULT WINAPI GraphBuilder_RenderFile(IGraphBuilder *iface, IBaseFilter* preader = NULL; IBaseFilter* psplitter = NULL; IPin* ppinreader = NULL; - IPin* ppinsplitter; + IPin* ppinsplitter = NULL; IEnumPins* penumpins; ULONG pin; HRESULT hr;
1
0
0
0
Marcus Meissner : ntdll: Initialize pointers to NULL (Coverity).
by Alexandre Julliard
23 May '07
23 May '07
Module: wine Branch: master Commit: a5facc008bbeff60a30d5fd0753e408bec733979 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a5facc008bbeff60a30d5fd07…
Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Tue May 22 21:33:27 2007 +0100 ntdll: Initialize pointers to NULL (Coverity). --- dlls/ntdll/sec.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/sec.c b/dlls/ntdll/sec.c index c417de8..af89b72 100644 --- a/dlls/ntdll/sec.c +++ b/dlls/ntdll/sec.c @@ -1559,8 +1559,8 @@ NTSTATUS WINAPI NtSetSecurityObject(HANDLE Handle, { NTSTATUS status; struct security_descriptor sd; - PACL dacl, sacl; - PSID owner, group; + PACL dacl = NULL, sacl = NULL; + PSID owner = NULL, group = NULL; BOOLEAN defaulted, present; DWORD revision; SECURITY_DESCRIPTOR_CONTROL control;
1
0
0
0
Dmitry Timoshkov : kernel32: Fix compilation warnings in 64-bit mode.
by Alexandre Julliard
23 May '07
23 May '07
Module: wine Branch: master Commit: a67b68912160a6073f632cc086eae7b32567b86e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a67b68912160a6073f632cc08…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Wed May 23 16:36:53 2007 +0900 kernel32: Fix compilation warnings in 64-bit mode. --- dlls/kernel32/file.c | 24 +++++++++++++++--------- dlls/kernel32/locale.c | 2 +- dlls/kernel32/lzexpand.c | 6 +++--- dlls/kernel32/process.c | 16 ++++++++-------- dlls/kernel32/pthread.c | 6 +++--- dlls/kernel32/resource.c | 18 +++++++++--------- dlls/kernel32/sync.c | 4 ++-- dlls/kernel32/syslevel.c | 4 ++-- dlls/kernel32/thread.c | 8 ++++---- 9 files changed, 47 insertions(+), 41 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=a67b68912160a6073f632…
1
0
0
0
Dmitry Timoshkov : ntdll: Fix compilation warnings in 64-bit mode.
by Alexandre Julliard
23 May '07
23 May '07
Module: wine Branch: master Commit: e142779b09ce1c163541972473ef35289a7c54d5 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=e142779b09ce1c16354197247…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Wed May 23 16:36:29 2007 +0900 ntdll: Fix compilation warnings in 64-bit mode. --- dlls/ntdll/critsection.c | 12 +++++----- dlls/ntdll/heap.c | 4 +- dlls/ntdll/loader.c | 4 +- dlls/ntdll/ntdll_misc.h | 4 +- dlls/ntdll/process.c | 2 +- dlls/ntdll/reg.c | 2 +- dlls/ntdll/rtl.c | 8 +++--- dlls/ntdll/sec.c | 48 ++++++++++++++++++++++----------------------- dlls/ntdll/server.c | 4 +- dlls/ntdll/sync.c | 2 +- dlls/ntdll/thread.c | 14 ++++++------ dlls/ntdll/virtual.c | 4 +- 12 files changed, 53 insertions(+), 55 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=e142779b09ce1c1635419…
1
0
0
0
Dmitry Timoshkov : widl: Fix compilation warnings in 64-bit mode.
by Alexandre Julliard
23 May '07
23 May '07
Module: wine Branch: master Commit: 4d0d9fcb69ddeabbd1651b469f908b4466deb75a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4d0d9fcb69ddeabbd1651b469…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Wed May 23 16:36:08 2007 +0900 widl: Fix compilation warnings in 64-bit mode. --- tools/widl/typegen.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 49e95c8..dbd47c9 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -62,7 +62,7 @@ struct expr_eval_routine static size_t type_memsize(const type_t *t, const array_dims_t *array, unsigned int *align); static size_t fields_memsize(const var_list_t *fields, unsigned int *align); static size_t write_struct_tfs(FILE *file, type_t *type, const char *name, unsigned int *tfsoff); -static void write_embedded_types(FILE *file, const type_t *type, size_t *tfsoff); +static void write_embedded_types(FILE *file, const type_t *type, unsigned int *tfsoff); const char *string_of_type(unsigned char type) { @@ -1480,7 +1480,7 @@ static size_t write_pointer_only_tfs(FILE *file, const attr_list_t *attrs, int p return start_offset; } -static void write_branch_type(FILE *file, const type_t *t, size_t *tfsoff) +static void write_branch_type(FILE *file, const type_t *t, unsigned int *tfsoff) { if (is_base_type(t->type)) { @@ -1499,10 +1499,10 @@ static void write_branch_type(FILE *file, const type_t *t, size_t *tfsoff) *tfsoff += 2; } -static size_t write_union_tfs(FILE *file, type_t *type, size_t *tfsoff) +static size_t write_union_tfs(FILE *file, type_t *type, unsigned int *tfsoff) { - size_t align = 0; - size_t start_offset; + unsigned int align = 0; + unsigned int start_offset; size_t size = type_memsize(type, NULL, &align); var_list_t *fields = type->fields; size_t nbranch = 0; @@ -1743,7 +1743,7 @@ static void clear_tfsoff(type_t *type) } } -static void write_embedded_types(FILE *file, const type_t *type, size_t *tfsoff) +static void write_embedded_types(FILE *file, const type_t *type, unsigned int *tfsoff) { var_list_t *fields = type->fields; size_t offset = 0;
1
0
0
0
Dmitry Timoshkov : winternl.h: Make the fields of the PROCESS_BASIC_INFORMATION structure use same type width as a PSDK one .
by Alexandre Julliard
23 May '07
23 May '07
Module: wine Branch: master Commit: 737b9e5acd62b22cd75dd58f8448402b98305817 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=737b9e5acd62b22cd75dd58f8…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Wed May 23 16:35:52 2007 +0900 winternl.h: Make the fields of the PROCESS_BASIC_INFORMATION structure use same type width as a PSDK one. --- dlls/ntdll/process.c | 2 +- include/winternl.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/ntdll/process.c b/dlls/ntdll/process.c index a03b23e..39ca74a 100644 --- a/dlls/ntdll/process.c +++ b/dlls/ntdll/process.c @@ -144,7 +144,7 @@ NTSTATUS WINAPI NtQueryInformationProcess( if ((ret = wine_server_call( req )) == STATUS_SUCCESS) { pbi.ExitStatus = reply->exit_code; - pbi.PebBaseAddress = (DWORD)reply->peb; + pbi.PebBaseAddress = reply->peb; pbi.AffinityMask = reply->affinity; pbi.BasePriority = reply->priority; pbi.UniqueProcessId = reply->pid; diff --git a/include/winternl.h b/include/winternl.h index 06885b3..5594348 100644 --- a/include/winternl.h +++ b/include/winternl.h @@ -958,12 +958,12 @@ typedef struct _OBJECT_BASIC_INFORMATION { typedef struct _PROCESS_BASIC_INFORMATION { #ifdef __WINESRC__ - DWORD ExitStatus; - DWORD PebBaseAddress; + DWORD_PTR ExitStatus; + PPEB PebBaseAddress; DWORD_PTR AffinityMask; - DWORD BasePriority; - ULONG UniqueProcessId; - ULONG InheritedFromUniqueProcessId; + DWORD_PTR BasePriority; + ULONG_PTR UniqueProcessId; + ULONG_PTR InheritedFromUniqueProcessId; #else PVOID Reserved1; PPEB PebBaseAddress;
1
0
0
0
Dmitry Timoshkov : basetsd.h: Fix a typo in the parameter name.
by Alexandre Julliard
23 May '07
23 May '07
Module: wine Branch: master Commit: 0cfe42b7da7f4245699d17d4aec3b740d7b34d9e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0cfe42b7da7f4245699d17d4a…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com> Date: Wed May 23 17:32:33 2007 +0900 basetsd.h: Fix a typo in the parameter name. --- include/basetsd.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/basetsd.h b/include/basetsd.h index e0d04f6..84ab6a9 100644 --- a/include/basetsd.h +++ b/include/basetsd.h @@ -219,7 +219,7 @@ typedef unsigned short UHALF_PTR, *PUHALF_PTR; #define HandleToULong(h) ((ULONG)(ULONG_PTR)(h)) #define HandleToLong(h) ((LONG)(LONG_PTR)(h)) #define ULongToHandle(ul) ((HANDLE)(ULONG_PTR)(ul)) -#define LongToHandle(h) ((HANDLE)(LONG_PTR)(h)) +#define LongToHandle(l) ((HANDLE)(LONG_PTR)(l)) #define PtrToUlong(p) ((ULONG)(ULONG_PTR)(p)) #define PtrToLong(p) ((LONG)(LONG_PTR)(p)) #define PtrToUint(p) ((UINT)(UINT_PTR)(p))
1
0
0
0
Mounir IDRASSI : winscard: Small initial stub implementation.
by Alexandre Julliard
23 May '07
23 May '07
Module: wine Branch: master Commit: 23df68d8f96d2c4f6f6a0bf522c5bce77fb51c97 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=23df68d8f96d2c4f6f6a0bf52…
Author: Mounir IDRASSI <mounir.idrassi(a)idrix.fr> Date: Wed May 23 00:51:46 2007 +0200 winscard: Small initial stub implementation. --- .gitignore | 2 + Makefile.in | 2 + configure | 3 ++ configure.ac | 1 + dlls/Makefile.in | 5 +++ dlls/winscard/Makefile.in | 17 +++++++++++ dlls/winscard/rsrc.rc | 33 ++++++++++++++++++++++ dlls/winscard/winscard.c | 52 +++++++++++++++++++++++++++++++++++ dlls/winscard/winscard.spec | 63 +++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 178 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index af69a26..be4fb6f 100644 --- a/.gitignore +++ b/.gitignore @@ -652,6 +652,8 @@ dlls/winmm/tests/winmm_crosstest.exe dlls/winmm/winmm_res.res dlls/winnls.dll16 dlls/winnls32/libwinnls32.def +dlls/winscard/libwinscard.def +dlls/winscard/rsrc.res dlls/winsock.dll16 dlls/winspool.drv/libwinspool.def dlls/winspool.drv/tests/*.ok diff --git a/Makefile.in b/Makefile.in index 3b16428..6c9bdef 100644 --- a/Makefile.in +++ b/Makefile.in @@ -419,6 +419,7 @@ ALL_MAKEFILES = \ dlls/winmm/Makefile \ dlls/winmm/tests/Makefile \ dlls/winnls32/Makefile \ + dlls/winscard/Makefile \ dlls/winspool.drv/Makefile \ dlls/winspool.drv/tests/Makefile \ dlls/wintab32/Makefile \ @@ -768,6 +769,7 @@ dlls/wininet/tests/Makefile: dlls/wininet/tests/Makefile.in dlls/Maketest.rules dlls/winmm/Makefile: dlls/winmm/Makefile.in dlls/Makedll.rules dlls/winmm/tests/Makefile: dlls/winmm/tests/Makefile.in dlls/Maketest.rules dlls/winnls32/Makefile: dlls/winnls32/Makefile.in dlls/Makedll.rules +dlls/winscard/Makefile: dlls/winscard/Makefile.in dlls/Makedll.rules dlls/winspool.drv/Makefile: dlls/winspool.drv/Makefile.in dlls/Makedll.rules dlls/winspool.drv/tests/Makefile: dlls/winspool.drv/tests/Makefile.in dlls/Maketest.rules dlls/wintab32/Makefile: dlls/wintab32/Makefile.in dlls/Makedll.rules diff --git a/configure b/configure index f6034fe..822c1bc 100755 --- a/configure +++ b/configure @@ -20907,6 +20907,8 @@ ac_config_files="$ac_config_files dlls/winmm/tests/Makefile" ac_config_files="$ac_config_files dlls/winnls32/Makefile" +ac_config_files="$ac_config_files dlls/winscard/Makefile" + ac_config_files="$ac_config_files dlls/winspool.drv/Makefile" ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile" @@ -21880,6 +21882,7 @@ do "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;; "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;; "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;; + "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;; "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;; "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;; "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;; diff --git a/configure.ac b/configure.ac index 22de21f..8c9b427 100644 --- a/configure.ac +++ b/configure.ac @@ -1749,6 +1749,7 @@ AC_CONFIG_FILES([dlls/wininet/tests/Makefile]) AC_CONFIG_FILES([dlls/winmm/Makefile]) AC_CONFIG_FILES([dlls/winmm/tests/Makefile]) AC_CONFIG_FILES([dlls/winnls32/Makefile]) +AC_CONFIG_FILES([dlls/winscard/Makefile]) AC_CONFIG_FILES([dlls/winspool.drv/Makefile]) AC_CONFIG_FILES([dlls/winspool.drv/tests/Makefile]) AC_CONFIG_FILES([dlls/wintab32/Makefile]) diff --git a/dlls/Makefile.in b/dlls/Makefile.in index 159bb2d..5bb4e3a 100644 --- a/dlls/Makefile.in +++ b/dlls/Makefile.in @@ -207,6 +207,7 @@ BASEDIRS = \ wininet \ winmm \ winnls32 \ + winscard \ winspool.drv \ wintab32 \ wintrust \ @@ -574,6 +575,7 @@ IMPORT_LIBS = \ wininet/libwininet.$(IMPLIBEXT) \ winmm/libwinmm.$(IMPLIBEXT) \ winnls32/libwinnls32.$(IMPLIBEXT) \ + winscard/libwinscard.$(IMPLIBEXT) \ winspool.drv/libwinspool.$(IMPLIBEXT) \ wintab32/libwintab32.$(IMPLIBEXT) \ wintrust/libwintrust.$(IMPLIBEXT) \ @@ -927,6 +929,9 @@ winmm/libwinmm.$(IMPLIBEXT): winmm/winmm.spec $(WINEBUILD) winnls32/libwinnls32.$(IMPLIBEXT): winnls32/winnls32.spec $(WINEBUILD) @cd winnls32 && $(MAKE) libwinnls32.$(IMPLIBEXT) +winscard/libwinscard.$(IMPLIBEXT): winscard/winscard.spec $(WINEBUILD) + @cd winscard && $(MAKE) libwinscard.$(IMPLIBEXT) + winspool.drv/libwinspool.$(IMPLIBEXT): winspool.drv/winspool.drv.spec $(WINEBUILD) @cd winspool.drv && $(MAKE) libwinspool.$(IMPLIBEXT) diff --git a/dlls/winscard/Makefile.in b/dlls/winscard/Makefile.in new file mode 100644 index 0000000..de8a2b6 --- /dev/null +++ b/dlls/winscard/Makefile.in @@ -0,0 +1,17 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = winscard.dll +IMPORTLIB = libwinscard.$(IMPLIBEXT) +IMPORTS = kernel32 + +C_SRCS = \ + winscard.c + +RC_SRCS = \ + rsrc.rc + +@MAKE_DLL_RULES@ + +@DEPENDENCIES@ # everything below this line is overwritten by make depend diff --git a/dlls/winscard/rsrc.rc b/dlls/winscard/rsrc.rc new file mode 100644 index 0000000..8226e9d --- /dev/null +++ b/dlls/winscard/rsrc.rc @@ -0,0 +1,33 @@ +/* + * Top level resource file for winscard.dll + * + * Copyright 2007 Mounir IDRASSI (mounir.idrassi(a)idrix.fr, for IDRIX) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "windef.h" +#include "winbase.h" +#include "winuser.h" +#include "winver.h" + +LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL + +#define WINE_FILEDESCRIPTION_STR "Wine Smart Card API" +#define WINE_FILENAME_STR "winscard.dll" +#define WINE_FILEVERSION 5,1,2600,2180 +#define WINE_FILEVERSION_STR "5.1.2600.2180" + +#include "wine/wine_common_ver.rc" diff --git a/dlls/winscard/winscard.c b/dlls/winscard/winscard.c new file mode 100644 index 0000000..d24e0f9 --- /dev/null +++ b/dlls/winscard/winscard.c @@ -0,0 +1,52 @@ +/* + * Copyright 2007 Mounir IDRASSI (mounir.idrassi(a)idrix.fr, for IDRIX) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "config.h" +#include <stdarg.h> +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" +#include <winscard.h> + +WINE_DEFAULT_DEBUG_CHANNEL(winscard); + +static HMODULE WINSCARD_hModule; + +const SCARD_IO_REQUEST g_rgSCardT0Pci = { SCARD_PROTOCOL_T0, 8 }; +const SCARD_IO_REQUEST g_rgSCardT1Pci = { SCARD_PROTOCOL_T1, 8 }; +const SCARD_IO_REQUEST g_rgSCardRawPci = { SCARD_PROTOCOL_RAW, 8 }; + + +BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("%p,%x,%p\n", hinstDLL, fdwReason, lpvReserved); + + switch (fdwReason) + { + case DLL_PROCESS_ATTACH: + { + DisableThreadLibraryCalls(hinstDLL); + WINSCARD_hModule = hinstDLL; + break; + } + case DLL_PROCESS_DETACH: + break; + } + + return TRUE; +} diff --git a/dlls/winscard/winscard.spec b/dlls/winscard/winscard.spec new file mode 100644 index 0000000..6dd83d8 --- /dev/null +++ b/dlls/winscard/winscard.spec @@ -0,0 +1,63 @@ +@ stub ClassInstall32 +@ stub SCardAccessNewReaderEvent +@ stub SCardReleaseAllEvents +@ stub SCardReleaseNewReaderEvent +@ stub SCardAccessStartedEvent +@ stub SCardAddReaderToGroupA +@ stub SCardAddReaderToGroupW +@ stub SCardBeginTransaction +@ stub SCardCancel +@ stub SCardConnectA +@ stub SCardConnectW +@ stub SCardControl +@ stub SCardDisconnect +@ stub SCardEndTransaction +@ stub SCardEstablishContext +@ stub SCardForgetCardTypeA +@ stub SCardForgetCardTypeW +@ stub SCardForgetReaderA +@ stub SCardForgetReaderGroupA +@ stub SCardForgetReaderGroupW +@ stub SCardForgetReaderW +@ stub SCardFreeMemory +@ stub SCardGetAttrib +@ stub SCardGetCardTypeProviderNameA +@ stub SCardGetCardTypeProviderNameW +@ stub SCardGetProviderIdA +@ stub SCardGetProviderIdW +@ stub SCardGetStatusChangeA +@ stub SCardGetStatusChangeW +@ stub SCardIntroduceCardTypeA +@ stub SCardIntroduceCardTypeW +@ stub SCardIntroduceReaderA +@ stub SCardIntroduceReaderGroupA +@ stub SCardIntroduceReaderGroupW +@ stub SCardIntroduceReaderW +@ stub SCardIsValidContext +@ stub SCardListCardsA +@ stub SCardListCardsW +@ stub SCardListInterfacesA +@ stub SCardListInterfacesW +@ stub SCardListReaderGroupsA +@ stub SCardListReaderGroupsW +@ stub SCardListReadersA +@ stub SCardListReadersW +@ stub SCardLocateCardsA +@ stub SCardLocateCardsByATRA +@ stub SCardLocateCardsByATRW +@ stub SCardLocateCardsW +@ stub SCardReconnect +@ stub SCardReleaseContext +@ stub SCardReleaseStartedEvent +@ stub SCardRemoveReaderFromGroupA +@ stub SCardRemoveReaderFromGroupW +@ stub SCardSetAttrib +@ stub SCardSetCardTypeProviderNameA +@ stub SCardSetCardTypeProviderNameW +@ stub SCardState +@ stub SCardStatusA +@ stub SCardStatusW +@ stub SCardTransmit +@ extern g_rgSCardRawPci +@ extern g_rgSCardT0Pci +@ extern g_rgSCardT1Pci
1
0
0
0
Marcus Meissner : oleau32: Fix one entry overflow (Coverity).
by Alexandre Julliard
23 May '07
23 May '07
Module: wine Branch: master Commit: 46d94653f144c25dec717bd707fea9a577abf61e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=46d94653f144c25dec717bd70…
Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Tue May 22 21:18:52 2007 +0100 oleau32: Fix one entry overflow (Coverity). --- dlls/oleaut32/vartype.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/oleaut32/vartype.c b/dlls/oleaut32/vartype.c index fd4e56e..fca8f8f 100644 --- a/dlls/oleaut32/vartype.c +++ b/dlls/oleaut32/vartype.c @@ -7425,7 +7425,7 @@ HRESULT WINAPI VarDateFromStr(OLECHAR* strIn, LCID lcid, ULONG dwFlags, DATE* pd /* Parse the string into our structure */ while (*strIn) { - if (dp.dwCount > 6) + if (dp.dwCount >= 6) break; if (isdigitW(*strIn))
1
0
0
0
← Newer
1
...
17
18
19
20
21
22
23
...
72
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
Results per page:
10
25
50
100
200