ReactOS.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
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
List overview
Download
Ros-diffs
October 2008
----- 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
ros-diffs@reactos.org
25 participants
517 discussions
Start a n
N
ew thread
[cwittich] 36981: -move ConvertSecurityDescriptorToStringSecurityDescriptorA/W from sec.c to sid.c -import ConvertSecurityDescriptorToStringSecurityDescriptorA from wine
by cwittich@svn.reactos.org
Author: cwittich Date: Sun Oct 26 07:16:48 2008 New Revision: 36981 URL:
http://svn.reactos.org/svn/reactos?rev=36981&view=rev
Log: -move ConvertSecurityDescriptorToStringSecurityDescriptorA/W from sec.c to sid.c -import ConvertSecurityDescriptorToStringSecurityDescriptorA from wine Modified: trunk/reactos/dll/win32/advapi32/sec/sec.c trunk/reactos/dll/win32/advapi32/sec/sid.c Modified: trunk/reactos/dll/win32/advapi32/sec/sec.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/sec/sec…
============================================================================== --- trunk/reactos/dll/win32/advapi32/sec/sec.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/advapi32/sec/sec.c [iso-8859-1] Sun Oct 26 07:16:48 2008 @@ -607,36 +607,4 @@ return ret; } - -/* - * @unimplemented - */ -BOOL WINAPI -ConvertSecurityDescriptorToStringSecurityDescriptorW(PSECURITY_DESCRIPTOR pSecurityDescriptor, - DWORD dword, - SECURITY_INFORMATION SecurityInformation, - LPWSTR *lpwstr, - PULONG pulong) -{ - FIXME("%s() not implemented!\n", __FUNCTION__); - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return FALSE; -} - - -/* - * @unimplemented - */ -BOOL WINAPI -ConvertSecurityDescriptorToStringSecurityDescriptorA(PSECURITY_DESCRIPTOR pSecurityDescriptor, - DWORD dword, - SECURITY_INFORMATION SecurityInformation, - LPSTR *lpstr, - PULONG pulong) -{ - FIXME("%s() not implemented!\n", __FUNCTION__); - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return FALSE; -} - /* EOF */ Modified: trunk/reactos/dll/win32/advapi32/sec/sid.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/sec/sid…
============================================================================== --- trunk/reactos/dll/win32/advapi32/sec/sid.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/advapi32/sec/sid.c [iso-8859-1] Sun Oct 26 07:16:48 2008 @@ -612,6 +612,65 @@ /****************************************************************************** + * ConvertSecurityDescriptorToStringSecurityDescriptorW [ADVAPI32.@] + * @unimplemented + */ +BOOL WINAPI +ConvertSecurityDescriptorToStringSecurityDescriptorW(PSECURITY_DESCRIPTOR SecurityDescriptor, + DWORD SDRevision, + SECURITY_INFORMATION SecurityInformation, + LPWSTR *OutputString, + PULONG OutputLen) +{ + if (SDRevision != SDDL_REVISION_1) + { + ERR("Pogram requested unknown SDDL revision %d\n", SDRevision); + SetLastError(ERROR_UNKNOWN_REVISION); + return FALSE; + } + + FIXME("%s() not implemented!\n", __FUNCTION__); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + + +/****************************************************************************** + * ConvertSecurityDescriptorToStringSecurityDescriptorA [ADVAPI32.@] + * @implemented + */ +BOOL WINAPI +ConvertSecurityDescriptorToStringSecurityDescriptorA(PSECURITY_DESCRIPTOR SecurityDescriptor, + DWORD SDRevision, + SECURITY_INFORMATION Information, + LPSTR *OutputString, + PULONG OutputLen) +{ + LPWSTR wstr; + ULONG len; + if (ConvertSecurityDescriptorToStringSecurityDescriptorW(SecurityDescriptor, SDRevision, Information, &wstr, &len)) + { + int lenA; + + lenA = WideCharToMultiByte(CP_ACP, 0, wstr, len, NULL, 0, NULL, NULL); + *OutputString = HeapAlloc(GetProcessHeap(), 0, lenA); + WideCharToMultiByte(CP_ACP, 0, wstr, len, *OutputString, lenA, NULL, NULL); + LocalFree(wstr); + + if (OutputLen != NULL) + *OutputLen = lenA; + return TRUE; + } + else + { + *OutputString = NULL; + if (OutputLen) + *OutputLen = 0; + return FALSE; + } +} + +/****************************************************************************** * ConvertStringSecurityDescriptorToSecurityDescriptorW [ADVAPI32.@] * @implemented */
16 years, 2 months
1
0
0
0
[fireball] 36980: - Let's get back to one RTL library for now, because: * 36761 just separated the library, but all hacks remain in the tree. * Real solution needs at least 3 RTL libraries (kernelmode, usermode, bootloader), otherwise we'll still have to have RTL-libsupp library. * I couldn't reach consensuss with developers about either method. * Since the only disadvantages now are the usermode/kernelmode structure differences hack (which was not removed) and additional small support libraries
by fireball@svn.reactos.org
Author: fireball Date: Sun Oct 26 07:16:04 2008 New Revision: 36980 URL:
http://svn.reactos.org/svn/reactos?rev=36980&view=rev
Log: - Let's get back to one RTL library for now, because: * 36761 just separated the library, but all hacks remain in the tree. * Real solution needs at least 3 RTL libraries (kernelmode, usermode, bootloader), otherwise we'll still have to have RTL-libsupp library. * I couldn't reach consensuss with developers about either method. * Since the only disadvantages now are the usermode/kernelmode structure differences hack (which was not removed) and additional small support libraries (which were not removed, including RtlpGetMode, which remained), there is no reason to waste time for compiling RTL twice without benefits. Removed: trunk/reactos/lib/rtl/rtl-common.rbuild Modified: trunk/reactos/boot/freeldr/freeldr/freeldr.rbuild trunk/reactos/boot/freeldr/freeldr/setupldr.rbuild trunk/reactos/dll/ntdll/ntdll.rbuild trunk/reactos/lib/rtl/rtl.rbuild trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild Modified: trunk/reactos/boot/freeldr/freeldr/freeldr.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/freel…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/freeldr.rbuild [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/freeldr.rbuild [iso-8859-1] Sun Oct 26 07:16:04 2008 @@ -11,7 +11,7 @@ <library>freeldr_main</library> <library>rossym</library> <library>cmlib</library> - <library>rtl_kmode</library> + <library>rtl</library> <library>libcntpr</library> <linkerflag>-static</linkerflag> <linkerflag>-lgcc</linkerflag> Modified: trunk/reactos/boot/freeldr/freeldr/setupldr.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/setup…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/setupldr.rbuild [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/setupldr.rbuild [iso-8859-1] Sun Oct 26 07:16:04 2008 @@ -9,7 +9,7 @@ <library>setupldr_main</library> <library>rossym</library> <library>cmlib</library> - <library>rtl_kmode</library> + <library>rtl</library> <library>libcntpr</library> <linkerflag>-nostartfiles</linkerflag> <linkerflag>-nostdlib</linkerflag> Modified: trunk/reactos/dll/ntdll/ntdll.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ntdll.rbuild?rev…
============================================================================== --- trunk/reactos/dll/ntdll/ntdll.rbuild [iso-8859-1] (original) +++ trunk/reactos/dll/ntdll/ntdll.rbuild [iso-8859-1] Sun Oct 26 07:16:04 2008 @@ -11,7 +11,7 @@ <define name="_DISABLE_TIDENTS" /> <define name="_NTOSKRNL_" /> <define name="__NO_CTYPE_INLINES" /> - <library>rtl_umode</library> + <library>rtl</library> <library>ntdllsys</library> <library>libcntpr</library> <library>pseh</library> Removed: trunk/reactos/lib/rtl/rtl-common.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/rtl-common.rbuild?…
============================================================================== --- trunk/reactos/lib/rtl/rtl-common.rbuild [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/rtl-common.rbuild (removed) @@ -1,98 +1,0 @@ -<?xml version="1.0"?> - -<include base="rtl">.</include> -<define name="_NTOSKRNL_" /> -<define name="__NO_CTYPE_INLINES" /> -<define name="NO_RTL_INLINES" /> -<define name="_NTSYSTEM_" /> -<define name="_NTDLLBUILD_" /> -<if property="ARCH" value="i386"> - <directory name="i386"> - <file>debug_asm.S</file> - <file>except_asm.s</file> - <file>except.c</file> - <file>random_asm.S</file> - <file>rtlswap.S</file> - <file>rtlmem.s</file> - <file>res_asm.s</file> - <file>thread.c</file> - </directory> -</if> -<if property="ARCH" value="powerpc"> -<directory name="powerpc"> - <file>debug.c</file> - <file>except.c</file> - <file>interlocked.c</file> - <file>rtlmem.s</file> - <file>rtlswap.s</file> - <file>thread.c</file> -</directory> -</if> -<if property="ARCH" value="arm"> - <directory name="arm"> - <file>debug_asm.S</file> - </directory> - <file>mem.c</file> - <file>memgen.c</file> -</if> -<directory name="austin"> - <file>avl.c</file> - <file>tree.c</file> -</directory> - -<file>access.c</file> -<file>acl.c</file> -<file>actctx.c</file> -<file>atom.c</file> -<file>bitmap.c</file> -<file>bootdata.c</file> -<file>compress.c</file> -<file>condvar.c</file> -<file>crc32.c</file> -<file>critical.c</file> -<file>dbgbuffer.c</file> -<file>debug.c</file> -<file>dos8dot3.c</file> -<file>encode.c</file> -<file>env.c</file> -<file>error.c</file> -<file>exception.c</file> -<file>generictable.c</file> -<file>handle.c</file> -<file>heap.c</file> -<file>image.c</file> -<file>interlck.c</file> -<file>message.c</file> -<file>largeint.c</file> -<file>luid.c</file> -<file>network.c</file> -<file>nls.c</file> -<file>path.c</file> -<file>ppb.c</file> -<file>process.c</file> -<file>propvar.c</file> -<file>qsort.c</file> -<file>random.c</file> -<file>rangelist.c</file> -<file>registry.c</file> -<file>res.c</file> -<file>resource.c</file> -<file>sd.c</file> -<file>security.c</file> -<file>slist.c</file> -<file>sid.c</file> -<file>sprintf.c</file> -<file>srw.c</file> -<file>swprintf.c</file> -<file>splaytree.c</file> -<file>thread.c</file> -<file>time.c</file> -<file>timezone.c</file> -<file>timerqueue.c</file> -<file>unicode.c</file> -<file>unicodeprefix.c</file> -<file>vectoreh.c</file> -<file>version.c</file> -<file>wait.c</file> -<file>workitem.c</file> -<pch>rtl.h</pch> Modified: trunk/reactos/lib/rtl/rtl.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/rtl.rbuild?rev=369…
============================================================================== --- trunk/reactos/lib/rtl/rtl.rbuild [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/rtl.rbuild [iso-8859-1] Sun Oct 26 07:16:04 2008 @@ -1,15 +1,100 @@ <?xml version="1.0"?> <!DOCTYPE module SYSTEM "../../tools/rbuild/project.dtd"> +<module name="rtl" type="staticlibrary"> + <define name="_NTOSKRNL_" /> + <define name="__NO_CTYPE_INLINES" /> + <define name="NO_RTL_INLINES" /> + <define name="_NTSYSTEM_" /> + <define name="_NTDLLBUILD_" /> + <include base="rtl">.</include> + <if property="ARCH" value="i386"> + <directory name="i386"> + <file>debug_asm.S</file> + <file>except_asm.s</file> + <file>except.c</file> + <file>random_asm.S</file> + <file>rtlswap.S</file> + <file>rtlmem.s</file> + <file>res_asm.s</file> + <file>thread.c</file> + </directory> + </if> + <if property="ARCH" value="powerpc"> + <directory name="powerpc"> + <file>debug.c</file> + <file>except.c</file> + <file>interlocked.c</file> + <file>rtlmem.s</file> + <file>rtlswap.s</file> + <file>thread.c</file> + </directory> + </if> + <if property="ARCH" value="arm"> + <directory name="arm"> + <file>debug_asm.S</file> + </directory> + <file>mem.c</file> + <file>memgen.c</file> + </if> + <directory name="austin"> + <file>avl.c</file> + <file>tree.c</file> + </directory> -<group xmlns:xi="
http://www.w3.org/2001/XInclude
"> - <module name="rtl_umode" type="staticlibrary"> - <xi:include href="rtl-common.rbuild" /> - </module> - - <module name="rtl_kmode" type="staticlibrary"> - <xi:include href="rtl-common.rbuild" /> - </module> - - <!-- dummy module to enable <include base="rtl"> --> - <module name="rtl" type="staticlibrary" /> -</group> + <file>access.c</file> + <file>acl.c</file> + <file>actctx.c</file> + <file>atom.c</file> + <file>bitmap.c</file> + <file>bootdata.c</file> + <file>compress.c</file> + <file>condvar.c</file> + <file>crc32.c</file> + <file>critical.c</file> + <file>dbgbuffer.c</file> + <file>debug.c</file> + <file>dos8dot3.c</file> + <file>encode.c</file> + <file>env.c</file> + <file>error.c</file> + <file>exception.c</file> + <file>generictable.c</file> + <file>handle.c</file> + <file>heap.c</file> + <file>image.c</file> + <file>interlck.c</file> + <file>message.c</file> + <file>largeint.c</file> + <file>luid.c</file> + <file>network.c</file> + <file>nls.c</file> + <file>path.c</file> + <file>ppb.c</file> + <file>process.c</file> + <file>propvar.c</file> + <file>qsort.c</file> + <file>random.c</file> + <file>rangelist.c</file> + <file>registry.c</file> + <file>res.c</file> + <file>resource.c</file> + <file>sd.c</file> + <file>security.c</file> + <file>slist.c</file> + <file>sid.c</file> + <file>sprintf.c</file> + <file>srw.c</file> + <file>swprintf.c</file> + <file>splaytree.c</file> + <file>thread.c</file> + <file>time.c</file> + <file>timezone.c</file> + <file>timerqueue.c</file> + <file>unicode.c</file> + <file>unicodeprefix.c</file> + <file>vectoreh.c</file> + <file>version.c</file> + <file>wait.c</file> + <file>workitem.c</file> + <pch>rtl.h</pch> +</module> Modified: trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ntoskrnl-generic.…
============================================================================== --- trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/ntoskrnl-generic.rbuild [iso-8859-1] Sun Oct 26 07:16:04 2008 @@ -26,7 +26,7 @@ <library>hal</library> <library>pseh</library> <library>cmlib</library> - <library>rtl_kmode</library> + <library>rtl</library> <library>rossym</library> <library>libcntpr</library> <library>kdcom</library>
16 years, 2 months
1
0
0
0
[fireball] 36979: Dmitry Gorbachev - Fix a modifier flag in interlocked functions' inlined asm. See detailed explanation in bug 3772. See issue #3772 for more details.
by fireball@svn.reactos.org
Author: fireball Date: Sun Oct 26 05:47:07 2008 New Revision: 36979 URL:
http://svn.reactos.org/svn/reactos?rev=36979&view=rev
Log: Dmitry Gorbachev - Fix a modifier flag in interlocked functions' inlined asm. See detailed explanation in bug 3772. See issue #3772 for more details. Modified: trunk/reactos/include/psdk/intrin_x86.h trunk/reactos/include/psdk/winnt.h Modified: trunk/reactos/include/psdk/intrin_x86.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/intrin_x86.h?…
============================================================================== --- trunk/reactos/include/psdk/intrin_x86.h [iso-8859-1] (original) +++ trunk/reactos/include/psdk/intrin_x86.h [iso-8859-1] Sun Oct 26 05:47:07 2008 @@ -499,7 +499,7 @@ static __inline__ __attribute__((always_inline)) unsigned char _interlockedbittestandreset(volatile long * a, const long b) { unsigned char retval; - __asm__("lock; btrl %[b], %[a]; setb %b[retval]" : [retval] "=r" (retval), [a] "=m" (*a) : [b] "Ir" (b) : "memory"); + __asm__("lock; btrl %[b], %[a]; setb %b[retval]" : [retval] "=r" (retval), [a] "+m" (*a) : [b] "Ir" (b) : "memory"); return retval; } @@ -507,7 +507,7 @@ static __inline__ __attribute__((always_inline)) unsigned char _interlockedbittestandreset64(volatile long long * a, const long long b) { unsigned char retval; - __asm__("lock; btrq %[b], %[a]; setb %b[retval]" : [retval] "=r" (retval), [a] "=m" (*a) : [b] "Ir" (b) : "memory"); + __asm__("lock; btrq %[b], %[a]; setb %b[retval]" : [retval] "=r" (retval), [a] "+m" (*a) : [b] "Ir" (b) : "memory"); return retval; } #endif @@ -515,7 +515,7 @@ static __inline__ __attribute__((always_inline)) unsigned char _interlockedbittestandset(volatile long * a, const long b) { unsigned char retval; - __asm__("lock; btsl %[b], %[a]; setc %b[retval]" : [retval] "=r" (retval), [a] "=m" (*a) : [b] "Ir" (b) : "memory"); + __asm__("lock; btsl %[b], %[a]; setc %b[retval]" : [retval] "=r" (retval), [a] "+m" (*a) : [b] "Ir" (b) : "memory"); return retval; } @@ -523,7 +523,7 @@ static __inline__ __attribute__((always_inline)) unsigned char _interlockedbittestandset64(volatile long long * a, const long long b) { unsigned char retval; - __asm__("lock; btsq %[b], %[a]; setc %b[retval]" : [retval] "=r" (retval), [a] "=m" (*a) : [b] "Ir" (b) : "memory"); + __asm__("lock; btsq %[b], %[a]; setc %b[retval]" : [retval] "=r" (retval), [a] "+m" (*a) : [b] "Ir" (b) : "memory"); return retval; } #endif Modified: trunk/reactos/include/psdk/winnt.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winnt.h?rev=3…
============================================================================== --- trunk/reactos/include/psdk/winnt.h [iso-8859-1] (original) +++ trunk/reactos/include/psdk/winnt.h [iso-8859-1] Sun Oct 26 05:47:07 2008 @@ -4782,7 +4782,7 @@ __asm__ __volatile__("lock " "btsl %2,%1\n\t" "sbbl %0,%0\n\t" - :"=r" (OldBit),"=m" (*Base) + :"=r" (OldBit),"+m" (*Base) :"Ir" (Bit) : "memory"); return OldBit; @@ -4800,7 +4800,7 @@ __asm__ __volatile__("lock " "btrl %2,%1\n\t" "sbbl %0,%0\n\t" - :"=r" (OldBit),"=m" (*Base) + :"=r" (OldBit),"+m" (*Base) :"Ir" (Bit) : "memory"); return OldBit;
16 years, 2 months
1
0
0
0
[dreimer] 36978: Baaad, but working Hack, realized together with Jaykul from #powershell. Now Powershell Version does build ROS again. Somehow GCC has a strange way to output console stdout and stderr, so the previous idea always returned vars with $null in it. Updated Russian Translation by tower
by dreimer@svn.reactos.org
Author: dreimer Date: Sat Oct 25 20:22:48 2008 New Revision: 36978 URL:
http://svn.reactos.org/svn/reactos?rev=36978&view=rev
Log: Baaad, but working Hack, realized together with Jaykul from #powershell. Now Powershell Version does build ROS again. Somehow GCC has a strange way to output console stdout and stderr, so the previous idea always returned vars with $null in it. Updated Russian Translation by tower Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/rosbe-gcc-env.ps1 trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/ru-RU.rc Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/rosbe-gcc-env.ps1 URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
============================================================================== --- trunk/tools/RosBE/RosBE-Windows/Powershell/rosbe-gcc-env.ps1 [iso-8859-1] (original) +++ trunk/tools/RosBE/RosBE-Windows/Powershell/rosbe-gcc-env.ps1 [iso-8859-1] Sat Oct 25 20:22:48 2008 @@ -46,17 +46,21 @@ # $ENV:PATH = "$_ROSBE_HOST_MINGWPATH\bin;$_ROSBE_TARGET_MINGWPATH\bin;$_ROSBE_ORIGINALPATH" $global:_ROSBE_MINGWMAKE = "$_ROSBE_HOST_MINGWPATH\bin\mingw32-make.exe" -#$global:_ROSBE_GCCVERSION = $null -#$global:_ROSBE_GCCTARGET = $null if ($ENV:ROS_ARCH -ne $null) { - $global:_ROSBE_GCCVERSION = (& $ENV:ROS_PREFIX-gcc -v 2>&1 | select-string "gcc version") -replace ".*version ((\d|\.)+).*",'$1' - $global:_ROSBE_GCCTARGET = (& $ENV:ROS_PREFIX-gcc -v 2>&1 | select-string "target=") -replace ".*--target=(.+?)\b.*",'$1' + & "$ENV:ROS_PREFIX-gcc" -v 2> v.txt + $global:_ROSBE_GCCVERSION = (select-string -path .\v.txt "gcc version") -replace ".*version ((\d|\.)+).*",'$1' + $global:_ROSBE_GCCTARGET = (select-string -path .\v.txt "target=") -replace ".*--target=(.+?)\b.*",'$1' + rm v.txt } else { - $global:_ROSBE_GCCVERSION = (& gcc -v 2>&1 | select-string "gcc version") -replace ".*version ((\d|\.)+).*",'$1' - $global:_ROSBE_GCCTARGET = (& gcc -v 2>&1 | select-string "target=") -replace ".*--target=(.+?)\b.*",'$1' + gcc -v 2> v.txt + $global:_ROSBE_GCCVERSION = (select-string -path .\v.txt "gcc version") -replace ".*version ((\d|\.)+).*",'$1' + $global:_ROSBE_GCCTARGET = (select-string -path .\v.txt "target=") -replace ".*--target=(.+?)\b.*",'$1' + rm v.txt } -$global:_ROSBE_HOST_GCCVERSION = (& gcc -v 2>&1 | select-string "gcc version") -replace ".*version ((\d|\.)+).*",'$1' -$global:_ROSBE_HOST_GCCTARGET = (& gcc -v 2>&1 | select-string "target=") -replace ".*--target=(.+?)\b.*",'$1' +gcc -v 2> v.txt +$global:_ROSBE_HOST_GCCVERSION = (select-string -path .\v.txt "gcc version") -replace ".*version ((\d|\.)+).*",'$1' +$global:_ROSBE_HOST_GCCTARGET = (select-string -path .\v.txt "target=") -replace ".*--target=(.+?)\b.*",'$1' +rm v.txt if ($_ROSBE_MODE -eq "MinGW") { $ENV:C_INCLUDE_PATH = "$_ROSBE_HOST_MINGWPATH\include;$_ROSBE_HOST_MINGWPATH\lib\gcc\$_ROSBE_GCCTARGET\$_ROSBE_GCCVERSION\include" @@ -72,11 +76,15 @@ # Display the current version of GCC, NASM, ld and make. # if ($ENV:ROS_ARCH -ne $null) { -& "$_ROSBE_TARGET_MINGWPATH\bin\$ENV:ROS_PREFIX-gcc" -v 2>&1 | select-string "gcc version" +& "$_ROSBE_TARGET_MINGWPATH\bin\$ENV:ROS_PREFIX-gcc" -v 2> v.txt +(select-string -path .\v.txt "gcc version") -replace ".*: (.+?)\b",'$1' +rm v.txt "gcc target - $_ROSBE_GCCTARGET" & "$_ROSBE_TARGET_MINGWPATH\bin\$ENV:ROS_PREFIX-ld" -v } else { -& gcc -v 2>&1 | select-string "gcc version" +gcc -v 2> v.txt +(select-string -path .\v.txt "gcc version" ) -replace ".*: (.+?)\b",'$1' +rm v.txt "gcc target - $_ROSBE_GCCTARGET" & ld -v } Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/ru-RU.rc URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
============================================================================== --- trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/ru-RU.rc [iso-8859-1] (original) +++ trunk/tools/RosBE/RosBE-Windows/Tools/config/lang/ru-RU.rc [iso-8859-1] Sat Oct 25 20:22:48 2008 @@ -15,7 +15,7 @@ CONTROL "Îòîáðàæàòü âðåìÿ êîìïèëÿöèè", ID_SHOWBUILDTIME, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12 CONTROL "Èñïîëüçîâàòü êåøèðîâàíèå", ID_USECCACHE, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12 CONTROL "Âûðåçàòü ïóñòîé êîä ïðè êîìïèë.", ID_STRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12 - CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12 + CONTROL "Îñòàâëÿòü â ôàéëàõ èíôîðìàöèþ äëÿ âîçìîæíîñòè ðàáîòû äåáàãåðà", ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12 LTEXT "Ïóòü ê êîìïèëÿòîðó GCC", -1, 10, 107, 100, 15 EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP @@ -75,5 +75,5 @@ HLP_SAVEBUTTON, "Àêòèâíîå ñîñòîÿíèå êíîïêè óêàçûâàåò íà âîçìîæíîñòü ñîõðàíåíèÿ èçìåíåííûõ íàñòðîåê" HLP_QUITBUTTON, "Ýòî êëàâèøà ïîçâîëÿåò âûéòè áåç ñîõðàíåíèÿ èçìåíåíèé" HLP_DEFAULTMSG, "Ïîìîùü ïî èçíà÷àëüíûì ïàðàìåòðàì" - HLP_NOSTRIP, "Creates debug information for the ReactOS Debugger." + HLP_NOSTRIP, "Êîìïèëÿöèÿ ôàéëîâ ReactOS'à ñ ñîçäàíèåì èíôîðìàöèè äëÿ äåáàãåðà." END
16 years, 2 months
1
0
0
0
[jimtabor] 36977: - Update user connect structure.
by jimtabor@svn.reactos.org
Author: jimtabor Date: Sat Oct 25 19:50:16 2008 New Revision: 36977 URL:
http://svn.reactos.org/svn/reactos?rev=36977&view=rev
Log: - Update user connect structure. Modified: trunk/reactos/include/reactos/win32k/ntuser.h Modified: trunk/reactos/include/reactos/win32k/ntuser.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntu…
============================================================================== --- trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] (original) +++ trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] Sat Oct 25 19:50:16 2008 @@ -433,10 +433,10 @@ typedef struct _USERCONNECT { - DWORD Unknown0; - DWORD Unknown1; - DWORD Unknown2; - SHAREDINFO ShareInfo; + ULONG ulVersion; + ULONG ulCurrentVersion; + DWORD dwDispatchCount; + SHAREDINFO siClient; } USERCONNECT, *PUSERCONNECT; //
16 years, 2 months
1
0
0
0
[dreimer] 36976: Almost done. Only two Variables are still making problems.
by dreimer@svn.reactos.org
Author: dreimer Date: Sat Oct 25 19:08:28 2008 New Revision: 36976 URL:
http://svn.reactos.org/svn/reactos?rev=36976&view=rev
Log: Almost done. Only two Variables are still making problems. Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 trunk/tools/RosBE/RosBE-Windows/Powershell/Help.ps1 trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1 trunk/tools/RosBE/RosBE-Windows/Powershell/rosbe-gcc-env.ps1 Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
============================================================================== --- trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 [iso-8859-1] (original) +++ trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 [iso-8859-1] Sat Oct 25 19:08:28 2008 @@ -42,7 +42,7 @@ # Small Security Check to prevent useless apps. if ($ENV:ROS_LEAN_AND_MEAN -eq "yes") { if ($ENV:ROS_BUILDNOSTRIP -eq "yes") { -! cls + cls "Selecting Stripping and removing Debug Symbols together will most likely cause useless apps. Please deselect one of them." exit } @@ -68,7 +68,7 @@ $ENV:TARGET_CC = "ccache x86_64-pc-mingw32-gcc" $ENV:TARGET_CPP = "ccache x86_64-pc-mingw32-g++" } - if $ENV:ROS_ARCH -eq "ppc") { + if ($ENV:ROS_ARCH -eq "ppc") { $ENV:TARGET_CC = "ccache ppc-pc-mingw32-gcc" $ENV:TARGET_CPP = "ccache ppc-pc-mingw32-g++" } @@ -90,7 +90,7 @@ $ENV:TARGET_CC = "x86_64-pc-mingw32-gcc" $ENV:TARGET_CPP = "x86_64-pc-mingw32-g++" } - if $ENV:ROS_ARCH -eq "ppc") { + if ($ENV:ROS_ARCH -eq "ppc") { $ENV:TARGET_CC = "ppc-pc-mingw32-gcc" $ENV:TARGET_CPP = "ppc-pc-mingw32-g++" } Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/Help.ps1 URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
============================================================================== --- trunk/tools/RosBE/RosBE-Windows/Powershell/Help.ps1 [iso-8859-1] (original) +++ trunk/tools/RosBE/RosBE-Windows/Powershell/Help.ps1 [iso-8859-1] Sat Oct 25 19:08:28 2008 @@ -68,7 +68,7 @@ } if (Test-Path "$_ROSBE_BASEDIR\update.ps1") { - " update [OPTIONS] - Updates RosBE to the most recent files. + " update [OPTIONS] - Updates RosBE to the most recent files." } "" Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1 URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
============================================================================== --- trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1 [iso-8859-1] (original) +++ trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1 [iso-8859-1] Sat Oct 25 19:08:28 2008 @@ -131,8 +131,20 @@ if ($args -eq "oldmode") { cls $_ROSBE_MODE = "MinGW" - - } else { + } + elseif ($args -eq "arm") { + cls + $_ROSBE_ARCH = 1 + } + elseif ($args -eq "ppc") { + cls + $_ROSBE_ARCH = 2 + } + elseif ($args -eq "amd64") { + cls + $_ROSBE_ARCH = 3 + } + elseif ($args -ne $null) { cls "Unknown parameter specified. Exiting." exit Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/rosbe-gcc-env.ps1 URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
============================================================================== --- trunk/tools/RosBE/RosBE-Windows/Powershell/rosbe-gcc-env.ps1 [iso-8859-1] (original) +++ trunk/tools/RosBE/RosBE-Windows/Powershell/rosbe-gcc-env.ps1 [iso-8859-1] Sat Oct 25 19:08:28 2008 @@ -11,10 +11,10 @@ # Check if we are running within the RosBE, and if not initialize GCC for the # current directory. # -if ($ENV:_ROSBE_MINGWPATH -eq $null) { - $ENV:_ROSBE_MODE = "MinGW" - $ENV:_ROSBE_MINGWPATH = "$pwd" - $ENV:_ROSBE_ORIGINALPATH = "$PATH" +if ($_ROSBE_HOST_MINGWPATH -eq $null) { + $_ROSBE_MODE = "MinGW" + $_ROSBE_HOST_MINGWPATH = "$pwd" + $_ROSBE_ORIGINALPATH = "$PATH" } @@ -44,10 +44,10 @@ # # Set up the GCC 4.x.x build environment. # -$ENV:PATH = "$_ROSBE_HOST_MINGWPATH\bin;$_ROSBE_TARGET_MINGWPATH\bin; $_ROSBE_ORIGINALPATH" -$global:_ROSBE_MINGWMAKE = "$_ROSBE_MINGWPATH\bin\mingw32-make.exe" -$global:_ROSBE_GCCVERSION = $null -$global:_ROSBE_GCCTARGET = $null +$ENV:PATH = "$_ROSBE_HOST_MINGWPATH\bin;$_ROSBE_TARGET_MINGWPATH\bin;$_ROSBE_ORIGINALPATH" +$global:_ROSBE_MINGWMAKE = "$_ROSBE_HOST_MINGWPATH\bin\mingw32-make.exe" +#$global:_ROSBE_GCCVERSION = $null +#$global:_ROSBE_GCCTARGET = $null if ($ENV:ROS_ARCH -ne $null) { $global:_ROSBE_GCCVERSION = (& $ENV:ROS_PREFIX-gcc -v 2>&1 | select-string "gcc version") -replace ".*version ((\d|\.)+).*",'$1' $global:_ROSBE_GCCTARGET = (& $ENV:ROS_PREFIX-gcc -v 2>&1 | select-string "target=") -replace ".*--target=(.+?)\b.*",'$1' @@ -80,10 +80,10 @@ "gcc target - $_ROSBE_GCCTARGET" & ld -v } -if (Test-Path "$_ROSBE_MINGWPATH\bin\nasm.exe") { +if (Test-Path "$_ROSBE_HOST_MINGWPATH\bin\nasm.exe") { & nasm -v } else { - if (Test-Path "$_ROSBE_MINGWPATH\bin\yasm.exe") { + if (Test-Path "$_ROSBE_HOST_MINGWPATH\bin\yasm.exe") { & yasm --version | select-string "yasm 0" } else { if ($_ROSBE_MODE -eq "RosBE") { @@ -91,14 +91,14 @@ } } } -if (Test-Path "$_ROSBE_MINGWPATH\bin\bison.exe") { +if (Test-Path "$_ROSBE_HOST_MINGWPATH\bin\bison.exe") { & bison --version | find "GNU Bison" } else { if ($_ROSBE_MODE -eq "RosBE") { "WARNING: Bison will soon be required to build ReactOS, none found in the current MinGW/GCC." } } -if (Test-Path "$_ROSBE_MINGWPATH\bin\flex.exe") { +if (Test-Path "$_ROSBE_HOST_MINGWPATH\bin\flex.exe") { $fver = (& flex --version) -replace ".*version ((\d|\.)+).*",'$1' "flex $fver" } else {
16 years, 2 months
1
0
0
0
[sginsberg] 36975: - Add missing EngPlgBlt export
by sginsberg@svn.reactos.org
Author: sginsberg Date: Sat Oct 25 18:46:56 2008 New Revision: 36975 URL:
http://svn.reactos.org/svn/reactos?rev=36975&view=rev
Log: - Add missing EngPlgBlt export Modified: trunk/reactos/subsystems/win32/win32k/win32k.def Modified: trunk/reactos/subsystems/win32/win32k/win32k.def URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/wi…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/win32k.def [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/win32k.def [iso-8859-1] Sat Oct 25 18:46:56 2008 @@ -108,6 +108,7 @@ EngMultiByteToWideChar@20 EngNineGrid@36 EngPaint@20 +EngPlgBlt@44 EngProbeForRead(a)12=NTOSKRNL.ProbeForRead EngProbeForReadAndWrite(a)12=NTOSKRNL.ProbeForWrite EngQueryDeviceAttribute@24
16 years, 2 months
1
0
0
0
[cgutman] 36974: - Merge aicom-network-fixes up to r36973
by cgutman@svn.reactos.org
Author: cgutman Date: Sat Oct 25 18:44:41 2008 New Revision: 36974 URL:
http://svn.reactos.org/svn/reactos?rev=36974&view=rev
Log: - Merge aicom-network-fixes up to r36973 Modified: trunk/reactos/drivers/network/afd/afd/main.c trunk/reactos/drivers/network/tcpip/datalink/lan.c trunk/reactos/lib/drivers/ip/network/neighbor.c trunk/reactos/lib/drivers/ip/transport/tcp/accept.c trunk/reactos/lib/drivers/ip/transport/tcp/tcp.c Modified: trunk/reactos/drivers/network/afd/afd/main.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/ma…
============================================================================== --- trunk/reactos/drivers/network/afd/afd/main.c [iso-8859-1] (original) +++ trunk/reactos/drivers/network/afd/afd/main.c [iso-8859-1] Sat Oct 25 18:44:41 2008 @@ -221,10 +221,6 @@ ExFreePool( FCB->LocalAddress ); if( FCB->RemoteAddress ) ExFreePool( FCB->RemoteAddress ); - if( FCB->ListenIrp.ConnectionReturnInfo ) - ExFreePool( FCB->ListenIrp.ConnectionReturnInfo ); - if( FCB->ListenIrp.ConnectionCallInfo ) - ExFreePool( FCB->ListenIrp.ConnectionCallInfo ); if( FCB->TdiDeviceName.Buffer ) ExFreePool(FCB->TdiDeviceName.Buffer); Modified: trunk/reactos/drivers/network/tcpip/datalink/lan.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/data…
============================================================================== --- trunk/reactos/drivers/network/tcpip/datalink/lan.c [iso-8859-1] (original) +++ trunk/reactos/drivers/network/tcpip/datalink/lan.c [iso-8859-1] Sat Oct 25 18:44:41 2008 @@ -628,6 +628,11 @@ ("Called( NdisPacket %x, Offset %d, Adapter %x )\n", NdisPacket, Offset, Adapter)); + if (Adapter->State != LAN_STATE_STARTED) { + ProtocolSendComplete(Context, NdisPacket, NDIS_STATUS_NOT_ACCEPTED); + return; + } + TI_DbgPrint(DEBUG_DATALINK, ("Adapter Address [%02x %02x %02x %02x %02x %02x]\n", Adapter->HWAddress[0] & 0xff, @@ -643,7 +648,6 @@ LanChainCompletion( Adapter, NdisPacket ); - if (Adapter->State == LAN_STATE_STARTED) { switch (Adapter->Media) { case NdisMedium802_3: EHeader = (PETH_HEADER)Data; @@ -713,9 +717,6 @@ * the situation with IRPs. */ if (NdisStatus != NDIS_STATUS_PENDING) ProtocolSendComplete((NDIS_HANDLE)Context, NdisPacket, NdisStatus); - } else { - ProtocolSendComplete((NDIS_HANDLE)Context, NdisPacket, NDIS_STATUS_CLOSED); - } } static NTSTATUS Modified: trunk/reactos/lib/drivers/ip/network/neighbor.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/network/nei…
============================================================================== --- trunk/reactos/lib/drivers/ip/network/neighbor.c [iso-8859-1] (original) +++ trunk/reactos/lib/drivers/ip/network/neighbor.c [iso-8859-1] Sat Oct 25 18:44:41 2008 @@ -28,6 +28,9 @@ VOID NBSendPackets( PNEIGHBOR_CACHE_ENTRY NCE ) { PLIST_ENTRY PacketEntry; PNEIGHBOR_PACKET Packet; + + if(!(NCE->State & NUD_CONNECTED)) + return; /* Send any waiting packets */ PacketEntry = ExInterlockedRemoveHeadList(&NCE->PacketQueue, Modified: trunk/reactos/lib/drivers/ip/transport/tcp/accept.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/transport/t…
============================================================================== --- trunk/reactos/lib/drivers/ip/transport/tcp/accept.c [iso-8859-1] (original) +++ trunk/reactos/lib/drivers/ip/transport/tcp/accept.c [iso-8859-1] Sat Oct 25 18:44:41 2008 @@ -87,13 +87,13 @@ TI_DbgPrint(DEBUG_TCP,("AddressToBind - %x:%x\n", AddressToBind.sin_addr, AddressToBind.sin_port)); - OskitTCPBind( Connection->SocketContext, - Connection, - &AddressToBind, - sizeof(AddressToBind) ); + Status = TCPTranslateError( OskitTCPBind( Connection->SocketContext, + Connection, + &AddressToBind, + sizeof(AddressToBind) ) ); - Status = TCPTranslateError( OskitTCPListen( Connection->SocketContext, - Backlog ) ); + if (NT_SUCCESS(Status)) + Status = TCPTranslateError( OskitTCPListen( Connection->SocketContext, Backlog ) ); TcpipRecursiveMutexLeave( &TCPLock ); Modified: trunk/reactos/lib/drivers/ip/transport/tcp/tcp.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/transport/t…
============================================================================== --- trunk/reactos/lib/drivers/ip/transport/tcp/tcp.c [iso-8859-1] (original) +++ trunk/reactos/lib/drivers/ip/transport/tcp/tcp.c [iso-8859-1] Sat Oct 25 18:44:41 2008 @@ -577,21 +577,24 @@ AddressToConnect.sin_family = AF_INET; AddressToBind = AddressToConnect; - OskitTCPBind( Connection->SocketContext, + Status = TCPTranslateError + ( OskitTCPBind( Connection->SocketContext, Connection, &AddressToBind, - sizeof(AddressToBind) ); - - memcpy( &AddressToConnect.sin_addr, - &RemoteAddress.Address.IPv4Address, - sizeof(AddressToConnect.sin_addr) ); - AddressToConnect.sin_port = RemotePort; - - Status = TCPTranslateError - ( OskitTCPConnect( Connection->SocketContext, - Connection, - &AddressToConnect, - sizeof(AddressToConnect) ) ); + sizeof(AddressToBind) ) ); + + if (NT_SUCCESS(Status)) { + memcpy( &AddressToConnect.sin_addr, + &RemoteAddress.Address.IPv4Address, + sizeof(AddressToConnect.sin_addr) ); + AddressToConnect.sin_port = RemotePort; + + Status = TCPTranslateError + ( OskitTCPConnect( Connection->SocketContext, + Connection, + &AddressToConnect, + sizeof(AddressToConnect) ) ); + } TcpipRecursiveMutexLeave( &TCPLock );
16 years, 2 months
1
0
0
0
[cgutman] 36973: - Don't free ConnectionReturnInfo and ConnectionCallInfo because they get freed in the completion routine - Fixes Abyss Web Server regression
by cgutman@svn.reactos.org
Author: cgutman Date: Sat Oct 25 18:02:07 2008 New Revision: 36973 URL:
http://svn.reactos.org/svn/reactos?rev=36973&view=rev
Log: - Don't free ConnectionReturnInfo and ConnectionCallInfo because they get freed in the completion routine - Fixes Abyss Web Server regression Modified: branches/aicom-network-fixes/drivers/network/afd/afd/main.c Modified: branches/aicom-network-fixes/drivers/network/afd/afd/main.c URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
============================================================================== --- branches/aicom-network-fixes/drivers/network/afd/afd/main.c [iso-8859-1] (original) +++ branches/aicom-network-fixes/drivers/network/afd/afd/main.c [iso-8859-1] Sat Oct 25 18:02:07 2008 @@ -221,10 +221,6 @@ ExFreePool( FCB->LocalAddress ); if( FCB->RemoteAddress ) ExFreePool( FCB->RemoteAddress ); - if( FCB->ListenIrp.ConnectionReturnInfo ) - ExFreePool( FCB->ListenIrp.ConnectionReturnInfo ); - if( FCB->ListenIrp.ConnectionCallInfo ) - ExFreePool( FCB->ListenIrp.ConnectionCallInfo ); if( FCB->TdiDeviceName.Buffer ) ExFreePool(FCB->TdiDeviceName.Buffer);
16 years, 2 months
1
0
0
0
[sginsberg] 36972: - When doing pointer arithmetic, ULONG_PTR is your friend
by sginsberg@svn.reactos.org
Author: sginsberg Date: Sat Oct 25 17:57:16 2008 New Revision: 36972 URL:
http://svn.reactos.org/svn/reactos?rev=36972&view=rev
Log: - When doing pointer arithmetic, ULONG_PTR is your friend Modified: branches/ros-amd64-bringup/reactos/drivers/video/displays/vga/main/enable.c Modified: branches/ros-amd64-bringup/reactos/drivers/video/displays/vga/main/enable.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/drive…
============================================================================== --- branches/ros-amd64-bringup/reactos/drivers/video/displays/vga/main/enable.c [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/drivers/video/displays/vga/main/enable.c [iso-8859-1] Sat Oct 25 17:57:16 2008 @@ -562,7 +562,7 @@ /* next DEVMODE entry */ OutputModes--; - DM = (PDEVMODEW) ( ((ULONG)DM) + sizeof(DEVMODEW) + DRIVER_EXTRA_SIZE); + DM = (PDEVMODEW) ( ((ULONG_PTR)DM) + sizeof(DEVMODEW) + DRIVER_EXTRA_SIZE); OutputSize += (sizeof(DEVMODEW) + DRIVER_EXTRA_SIZE); }
16 years, 2 months
1
0
0
0
← Newer
1
...
12
13
14
15
16
17
18
...
52
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
Results per page:
10
25
50
100
200