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
April 2014
----- 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
15 participants
492 discussions
Start a n
N
ew thread
[akhaldi] 62778: [PSDK] * Fix netioapi.h inclusion. * Fix extern "C" placement. CORE-7685
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Apr 18 21:32:49 2014 New Revision: 62778 URL:
http://svn.reactos.org/svn/reactos?rev=62778&view=rev
Log: [PSDK] * Fix netioapi.h inclusion. * Fix extern "C" placement. CORE-7685 Modified: trunk/reactos/include/psdk/iphlpapi.h Modified: trunk/reactos/include/psdk/iphlpapi.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/iphlpapi.h?re…
============================================================================== --- trunk/reactos/include/psdk/iphlpapi.h [iso-8859-1] (original) +++ trunk/reactos/include/psdk/iphlpapi.h [iso-8859-1] Fri Apr 18 21:32:49 2014 @@ -1,13 +1,14 @@ #ifndef _IPHLPAPI_H #define _IPHLPAPI_H + +#ifdef __cplusplus +extern "C" { +#endif #include <iprtrmib.h> #include <ipexport.h> #include <iptypes.h> -#include <netioapi.h> -#ifdef __cplusplus -extern "C" { -#endif + DWORD WINAPI AddIPAddress(IPAddr,IPMask,DWORD,PULONG,PULONG); DWORD WINAPI CreateIpForwardEntry(PMIB_IPFORWARDROW); DWORD WINAPI CreateIpNetEntry(PMIB_IPNETROW); @@ -58,7 +59,13 @@ DWORD WINAPI SetIpTTL(UINT); DWORD WINAPI SetTcpEntry(PMIB_TCPROW); DWORD WINAPI UnenableRouter(OVERLAPPED*, LPDWORD); + +#if (NTDDI_VERSION >= NTDDI_VISTA) +#include <netioapi.h> +#endif + #ifdef __cplusplus } #endif + #endif /* _IPHLPAPI_H */
10 years, 8 months
1
0
0
0
[akhaldi] 62777: [IPHLPAPI] * Zap GetIf{Entry, Table}2(). CORE-8081 #resolve
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Apr 18 21:26:31 2014 New Revision: 62777 URL:
http://svn.reactos.org/svn/reactos?rev=62777&view=rev
Log: [IPHLPAPI] * Zap GetIf{Entry,Table}2(). CORE-8081 #resolve Modified: trunk/reactos/dll/win32/iphlpapi/iphlpapi.spec trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c Modified: trunk/reactos/dll/win32/iphlpapi/iphlpapi.spec URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/iphlpap…
============================================================================== --- trunk/reactos/dll/win32/iphlpapi/iphlpapi.spec [iso-8859-1] (original) +++ trunk/reactos/dll/win32/iphlpapi/iphlpapi.spec [iso-8859-1] Fri Apr 18 21:26:31 2014 @@ -40,10 +40,8 @@ @ stub GetIcmpStatsFromStack @ stub GetIcmpStatsFromStackEx @ stdcall GetIfEntry( ptr ) -@ stdcall GetIfEntry2( ptr ) @ stub GetIfEntryFromStack @ stdcall GetIfTable( ptr ptr long ) -@ stdcall GetIfTable2(ptr) @ stub GetIfTableFromStack @ stub GetIgmpList @ stdcall GetInterfaceInfo( ptr ptr ) Modified: trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/iphlpap…
============================================================================== --- trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/iphlpapi/iphlpapi_main.c [iso-8859-1] Fri Apr 18 21:26:31 2014 @@ -2517,35 +2517,6 @@ return 0L; } -/****************************************************************** - * GetIfTable2 (IPHLPAPI.@) - * - * PARAMS - * pIfTable [In/Out] - */ - -NETIOAPI_API WINAPI GetIfTable2(PMIB_IF_TABLE2 *pIfTable) -{ - UNIMPLEMENTED; - return ERROR_NOT_SUPPORTED; -} - -/****************************************************************** - * GetIfEntry2 (IPHLPAPI.@) - * - * PARAMS - * pIfRow [In/Out] - */ -NETIOAPI_API WINAPI GetIfEntry2(IN OUT PMIB_IF_ROW2 pIfRow) -{ - TRACE("pIfRow %p\n", pIfRow); - if (!pIfRow) - return ERROR_INVALID_PARAMETER; - - UNIMPLEMENTED; - return ERROR_NOT_SUPPORTED; -} - DWORD WINAPI SetIpForwardEntryToStack(PMIB_IPFORWARDROW pRoute) {
10 years, 8 months
1
0
0
0
[akhaldi] 62776: [LIBXSLT] * Move a couple headers to the appropriate folder.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Apr 18 20:44:26 2014 New Revision: 62776 URL:
http://svn.reactos.org/svn/reactos?rev=62776&view=rev
Log: [LIBXSLT] * Move a couple headers to the appropriate folder. Added: trunk/reactos/include/reactos/libs/libxslt/functions.h - copied unchanged from r62773, trunk/reactos/dll/3rdparty/libxslt/functions.h trunk/reactos/include/reactos/libs/libxslt/variables.h - copied unchanged from r62642, trunk/reactos/dll/3rdparty/libxslt/variables.h Removed: trunk/reactos/dll/3rdparty/libxslt/functions.h trunk/reactos/dll/3rdparty/libxslt/variables.h Removed: trunk/reactos/dll/3rdparty/libxslt/functions.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/libxslt/funct…
============================================================================== --- trunk/reactos/dll/3rdparty/libxslt/functions.h [iso-8859-1] (original) +++ trunk/reactos/dll/3rdparty/libxslt/functions.h (removed) @@ -1,78 +0,0 @@ -/* - * Summary: interface for the XSLT functions not from XPath - * Description: a set of extra functions coming from XSLT but not in XPath - * - * Copy: See Copyright for the status of this software. - * - * Author: Daniel Veillard and Bjorn Reese <breese(a)users.sourceforge.net> - */ - -#ifndef __XML_XSLT_FUNCTIONS_H__ -#define __XML_XSLT_FUNCTIONS_H__ - -#include <libxml/xpath.h> -#include <libxml/xpathInternals.h> -#include "xsltexports.h" -#include "xsltInternals.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * XSLT_REGISTER_FUNCTION_LOOKUP: - * - * Registering macro, not general purpose at all but used in different modules. - */ -#define XSLT_REGISTER_FUNCTION_LOOKUP(ctxt) \ - xmlXPathRegisterFuncLookup((ctxt)->xpathCtxt, \ - (xmlXPathFuncLookupFunc) xsltXPathFunctionLookup, \ - (void *)(ctxt->xpathCtxt)); - -XSLTPUBFUN xmlXPathFunction XSLTCALL - xsltXPathFunctionLookup (xmlXPathContextPtr ctxt, - const xmlChar *name, - const xmlChar *ns_uri); - -/* - * Interfaces for the functions implementations. - */ - -XSLTPUBFUN void XSLTCALL - xsltDocumentFunction (xmlXPathParserContextPtr ctxt, - int nargs); -XSLTPUBFUN void XSLTCALL - xsltKeyFunction (xmlXPathParserContextPtr ctxt, - int nargs); -XSLTPUBFUN void XSLTCALL - xsltUnparsedEntityURIFunction (xmlXPathParserContextPtr ctxt, - int nargs); -XSLTPUBFUN void XSLTCALL - xsltFormatNumberFunction (xmlXPathParserContextPtr ctxt, - int nargs); -XSLTPUBFUN void XSLTCALL - xsltGenerateIdFunction (xmlXPathParserContextPtr ctxt, - int nargs); -XSLTPUBFUN void XSLTCALL - xsltSystemPropertyFunction (xmlXPathParserContextPtr ctxt, - int nargs); -XSLTPUBFUN void XSLTCALL - xsltElementAvailableFunction (xmlXPathParserContextPtr ctxt, - int nargs); -XSLTPUBFUN void XSLTCALL - xsltFunctionAvailableFunction (xmlXPathParserContextPtr ctxt, - int nargs); - -/* - * And the registration - */ - -XSLTPUBFUN void XSLTCALL - xsltRegisterAllFunctions (xmlXPathContextPtr ctxt); - -#ifdef __cplusplus -} -#endif - -#endif /* __XML_XSLT_FUNCTIONS_H__ */ - Removed: trunk/reactos/dll/3rdparty/libxslt/variables.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/libxslt/varia…
============================================================================== --- trunk/reactos/dll/3rdparty/libxslt/variables.h [iso-8859-1] (original) +++ trunk/reactos/dll/3rdparty/libxslt/variables.h (removed) @@ -1,91 +0,0 @@ -/* - * Summary: interface for the variable matching and lookup. - * Description: interface for the variable matching and lookup. - * - * Copy: See Copyright for the status of this software. - * - * Author: Daniel Veillard - */ - -#ifndef __XML_XSLT_VARIABLES_H__ -#define __XML_XSLT_VARIABLES_H__ - -#include <libxml/xpath.h> -#include <libxml/xpathInternals.h> -#include "xsltexports.h" -#include "xsltInternals.h" -#include "functions.h" - -#ifdef __cplusplus -extern "C" { -#endif - - -/** - * XSLT_REGISTER_VARIABLE_LOOKUP: - * - * Registering macro, not general purpose at all but used in different modules. - */ - -#define XSLT_REGISTER_VARIABLE_LOOKUP(ctxt) \ - xmlXPathRegisterVariableLookup((ctxt)->xpathCtxt, \ - xsltXPathVariableLookup, (void *)(ctxt)); \ - xsltRegisterAllFunctions((ctxt)->xpathCtxt); \ - xsltRegisterAllElement(ctxt); \ - (ctxt)->xpathCtxt->extra = ctxt - -/* - * Interfaces for the variable module. - */ - -XSLTPUBFUN int XSLTCALL - xsltEvalGlobalVariables (xsltTransformContextPtr ctxt); -XSLTPUBFUN int XSLTCALL - xsltEvalUserParams (xsltTransformContextPtr ctxt, - const char **params); -XSLTPUBFUN int XSLTCALL - xsltQuoteUserParams (xsltTransformContextPtr ctxt, - const char **params); -XSLTPUBFUN int XSLTCALL - xsltEvalOneUserParam (xsltTransformContextPtr ctxt, - const xmlChar * name, - const xmlChar * value); -XSLTPUBFUN int XSLTCALL - xsltQuoteOneUserParam (xsltTransformContextPtr ctxt, - const xmlChar * name, - const xmlChar * value); - -XSLTPUBFUN void XSLTCALL - xsltParseGlobalVariable (xsltStylesheetPtr style, - xmlNodePtr cur); -XSLTPUBFUN void XSLTCALL - xsltParseGlobalParam (xsltStylesheetPtr style, - xmlNodePtr cur); -XSLTPUBFUN void XSLTCALL - xsltParseStylesheetVariable (xsltTransformContextPtr ctxt, - xmlNodePtr cur); -XSLTPUBFUN void XSLTCALL - xsltParseStylesheetParam (xsltTransformContextPtr ctxt, - xmlNodePtr cur); -XSLTPUBFUN xsltStackElemPtr XSLTCALL - xsltParseStylesheetCallerParam (xsltTransformContextPtr ctxt, - xmlNodePtr cur); -XSLTPUBFUN int XSLTCALL - xsltAddStackElemList (xsltTransformContextPtr ctxt, - xsltStackElemPtr elems); -XSLTPUBFUN void XSLTCALL - xsltFreeGlobalVariables (xsltTransformContextPtr ctxt); -XSLTPUBFUN xmlXPathObjectPtr XSLTCALL - xsltVariableLookup (xsltTransformContextPtr ctxt, - const xmlChar *name, - const xmlChar *ns_uri); -XSLTPUBFUN xmlXPathObjectPtr XSLTCALL - xsltXPathVariableLookup (void *ctxt, - const xmlChar *name, - const xmlChar *ns_uri); -#ifdef __cplusplus -} -#endif - -#endif /* __XML_XSLT_VARIABLES_H__ */ -
10 years, 8 months
1
0
0
0
[akhaldi] 62775: [REGEDIT] * Sync regproc.c with Wine 1.7.17. Formatting is overrated ; ) * Inspired by CORE-7916 (thanks Edijs Kolesnikovics!) * Fixes all regedit test failures. CORE-8080
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Apr 18 20:24:51 2014 New Revision: 62775 URL:
http://svn.reactos.org/svn/reactos?rev=62775&view=rev
Log: [REGEDIT] * Sync regproc.c with Wine 1.7.17. Formatting is overrated ;) * Inspired by CORE-7916 (thanks Edijs Kolesnikovics!) * Fixes all regedit test failures. CORE-8080 Modified: trunk/reactos/base/applications/regedit/regproc.c trunk/reactos/base/applications/regedit/regproc.h Modified: trunk/reactos/base/applications/regedit/regproc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/regedit/…
============================================================================== --- trunk/reactos/base/applications/regedit/regproc.c [iso-8859-1] (original) +++ trunk/reactos/base/applications/regedit/regproc.c [iso-8859-1] Fri Apr 18 20:24:51 2014 @@ -2,9 +2,9 @@ * Registry processing routines. Routines, common for registry * processing frontends. * - * Copyright (C) 1999 Sylvain St-Germain - * Copyright (C) 2002 Andriy Palamarchuk - * Copyright (C) 2008 Alexander N. Sørnes <alex(a)thehandofagony.com> + * Copyright 1999 Sylvain St-Germain + * Copyright 2002 Andriy Palamarchuk + * Copyright 2008 Alexander N. Sørnes <alex(a)thehandofagony.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -24,6 +24,9 @@ #include "regedit.h" #include <assert.h> +#include <fcntl.h> +#include <io.h> +#include <wine/unicode.h> #define REG_VAL_BUF_SIZE 4096 @@ -32,25 +35,18 @@ */ #define REG_FILE_HEX_LINE_LEN (2 + 25 * 3) -static const CHAR *reg_class_names[] = -{ - "HKEY_LOCAL_MACHINE", "HKEY_USERS", "HKEY_CLASSES_ROOT", - "HKEY_CURRENT_CONFIG", "HKEY_CURRENT_USER", "HKEY_DYN_DATA" -}; - -#define REG_CLASS_NUMBER (COUNT_OF(reg_class_names)) - -const WCHAR* reg_class_namesW[REG_CLASS_NUMBER] = +const WCHAR* reg_class_namesW[] = { L"HKEY_LOCAL_MACHINE", L"HKEY_USERS", L"HKEY_CLASSES_ROOT", L"HKEY_CURRENT_CONFIG", L"HKEY_CURRENT_USER", L"HKEY_DYN_DATA" }; -static HKEY reg_class_keys[REG_CLASS_NUMBER] = -{ - HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_CLASSES_ROOT, - HKEY_CURRENT_CONFIG, HKEY_CURRENT_USER, HKEY_DYN_DATA -}; +static HKEY reg_class_keys[] = { + HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_CLASSES_ROOT, + HKEY_CURRENT_CONFIG, HKEY_CURRENT_USER, HKEY_DYN_DATA + }; + +#define REG_CLASS_NUMBER (sizeof(reg_class_keys) / sizeof(reg_class_keys[0])) /* return values */ #define NOT_ENOUGH_MEMORY 1 @@ -154,8 +150,7 @@ char dummy; WideCharToMultiByte(CP_ACP, 0, str, -1, buf, 9, NULL, NULL); - if (lstrlenW(str) > 8 || sscanf(buf, "%lx%c", dw, &dummy) != 1) - { + if (lstrlenW(str) > 8 || sscanf(buf, "%lx%c", dw, &dummy) != 1) { fprintf(stderr,"%S: ERROR, invalid hex value\n", getAppName()); return FALSE; } @@ -178,14 +173,12 @@ s = str; d = data; *size=0; - while (*s != '\0') - { + while (*s != '\0') { UINT wc; WCHAR *end; - wc = wcstoul(s,&end, 16); - if (end == s || wc > 0xff || (*end && *end != L',')) - { + wc = strtoulW(s,&end,16); + if (end == s || wc > 0xff || (*end && *end != ',')) { char* strA = GetMultiByteString(s); fprintf(stderr,"%S: ERROR converting CSV hex stream. Invalid value at '%s'\n", getAppName(), strA); @@ -211,13 +204,7 @@ */ static DWORD getDataType(LPWSTR *lpValue, DWORD* parse_type) { - struct data_type - { - const WCHAR *tag; - int len; - int type; - int parse_type; - }; + struct data_type { const WCHAR *tag; int len; int type; int parse_type; }; static const WCHAR quote[] = {'"'}; static const WCHAR str[] = {'s','t','r',':','"'}; @@ -227,39 +214,34 @@ static const WCHAR hexp[] = {'h','e','x','('}; static const struct data_type data_types[] = { /* actual type */ /* type to assume for parsing */ - { quote, 1, REG_SZ, REG_SZ }, - { str, 5, REG_SZ, REG_SZ }, - { str2, 8, REG_EXPAND_SZ, REG_SZ }, - { hex, 4, REG_BINARY, REG_BINARY }, - { dword, 6, REG_DWORD, REG_DWORD }, - { hexp, 4, -1, REG_BINARY }, - { NULL, 0, 0, 0 } - }; + { quote, 1, REG_SZ, REG_SZ }, + { str, 5, REG_SZ, REG_SZ }, + { str2, 8, REG_EXPAND_SZ, REG_SZ }, + { hex, 4, REG_BINARY, REG_BINARY }, + { dword, 6, REG_DWORD, REG_DWORD }, + { hexp, 4, -1, REG_BINARY }, + { NULL, 0, 0, 0 } + }; const struct data_type *ptr; int type; - for (ptr = data_types; ptr->tag; ptr++) - { - if (wcsncmp(ptr->tag, *lpValue, ptr->len)) + for (ptr = data_types; ptr->tag; ptr++) { + if (strncmpW( ptr->tag, *lpValue, ptr->len )) continue; /* Found! */ *parse_type = ptr->parse_type; type=ptr->type; *lpValue+=ptr->len; - if (type == -1) - { + if (type == -1) { WCHAR* end; /* "hex(xx):" is special */ - type = (int)wcstoul( *lpValue , &end, 16 ); - if (**lpValue=='\0' || *end!=')' || *(end+1)!=':') - { + type = (int)strtoulW( *lpValue , &end, 16 ); + if (**lpValue=='\0' || *end!=')' || *(end+1)!=':') { type=REG_NONE; - } - else - { + } else { *lpValue = end + 2; } } @@ -277,13 +259,10 @@ int str_idx = 0; /* current character under analysis */ int val_idx = 0; /* the last character of the unescaped string */ int len = lstrlenW(str); - for (str_idx = 0; str_idx < len; str_idx++, val_idx++) - { - if (str[str_idx] == '\\') - { + for (str_idx = 0; str_idx < len; str_idx++, val_idx++) { + if (str[str_idx] == '\\') { str_idx++; - switch (str[str_idx]) - { + switch (str[str_idx]) { case 'n': str[val_idx] = '\n'; break; @@ -292,14 +271,12 @@ str[val_idx] = str[str_idx]; break; default: - fprintf(stderr,"Warning! Unrecognized escape sequence: \\%C'\n", - str[str_idx]); + fprintf(stderr,"Warning! Unrecognized escape sequence: \\%c'\n", + str[str_idx]); str[val_idx] = str[str_idx]; break; } - } - else - { + } else { str[val_idx] = str[str_idx]; } } @@ -314,11 +291,11 @@ if (lpKeyName == NULL) return FALSE; - for(i = 0; *(lpKeyName + i) != 0; i++) + for(i = 0; *(lpKeyName+i) != 0; i++) { if(*(lpKeyName+i) == '\\') { - lpSlash = lpKeyName + i; + lpSlash = lpKeyName+i; break; } } @@ -334,11 +311,9 @@ } *hKey = NULL; - for (i = 0; i < REG_CLASS_NUMBER; i++) - { + for (i = 0; i < REG_CLASS_NUMBER; i++) { if (CompareStringW(LOCALE_USER_DEFAULT, 0, lpKeyName, len, reg_class_namesW[i], len) == CSTR_EQUAL && - len == lstrlenW(reg_class_namesW[i])) - { + len == lstrlenW(reg_class_namesW[i])) { *hKey = reg_class_keys[i]; break; } @@ -346,6 +321,7 @@ if (*hKey == NULL) return FALSE; + if (*lpSlash != '\0') lpSlash++; @@ -393,6 +369,8 @@ * the extra garbage in the registry. */ dwLen = lstrlenW(val_data); + if(val_data[dwLen-1] != '"') + return ERROR_INVALID_DATA; if (dwLen>0 && val_data[dwLen-1]=='"') { dwLen--; @@ -430,12 +408,12 @@ } res = RegSetValueExW( - currentKeyHandle, - val_name, - 0, /* Reserved */ - dwDataType, - lpbData, - dwLen); + currentKeyHandle, + val_name, + 0, /* Reserved */ + dwDataType, + lpbData, + dwLen); if (dwParseType == REG_BINARY) HeapFree(GetProcessHeap(), 0, lpbData); return res; @@ -460,16 +438,17 @@ if (!parseKeyName(stdInput, &keyClass, &keyPath)) return ERROR_INVALID_PARAMETER; - res = RegCreateKeyExW(keyClass, /* Class */ - keyPath, /* Sub Key */ - 0, /* MUST BE 0 */ - NULL, /* object type */ - REG_OPTION_NON_VOLATILE, /* option, REG_OPTION_NON_VOLATILE ... */ - KEY_ALL_ACCESS, /* access mask, KEY_ALL_ACCESS */ - NULL, /* security attribute */ - ¤tKeyHandle, /* result */ - &dwDisp); /* disposition, REG_CREATED_NEW_KEY or - REG_OPENED_EXISTING_KEY */ + res = RegCreateKeyExW( + keyClass, /* Class */ + keyPath, /* Sub Key */ + 0, /* MUST BE 0 */ + NULL, /* object type */ + REG_OPTION_NON_VOLATILE, /* option, REG_OPTION_NON_VOLATILE ... */ + KEY_ALL_ACCESS, /* access mask, KEY_ALL_ACCESS */ + NULL, /* security attribute */ + ¤tKeyHandle, /* result */ + &dwDisp); /* disposition, REG_CREATED_NEW_KEY or + REG_OPENED_EXISTING_KEY */ if (res == ERROR_SUCCESS) currentKeyName = GetMultiByteString(stdInput); @@ -509,63 +488,55 @@ LONG res; /* get value name */ - while ( iswspace(line[line_idx]) ) line_idx++; - if (line[line_idx] == '@' && line[line_idx + 1] == '=') - { + while ( isspaceW(line[line_idx]) ) line_idx++; + if (line[line_idx] == '@' && line[line_idx + 1] == '=') { line[line_idx] = '\0'; val_name = line; line_idx++; - } - else if (line[line_idx] == '\"') - { + } else if (line[line_idx] == '\"') { line_idx++; val_name = line + line_idx; - while (TRUE) - { + while (line[line_idx]) { if (line[line_idx] == '\\') /* skip escaped character */ { line_idx += 2; - } - else - { - if (line[line_idx] == '\"') - { + } else { + if (line[line_idx] == '\"') { line[line_idx] = '\0'; line_idx++; break; - } - else - { + } else { line_idx++; } } } - while ( iswspace(line[line_idx]) ) line_idx++; - if (line[line_idx] != '=') - { + while ( isspaceW(line[line_idx]) ) line_idx++; + if (!line[line_idx]) { + fprintf(stderr, "%S: warning: unexpected EOL\n", getAppName()); + return; + } + if (line[line_idx] != '=') { char* lineA; line[line_idx] = '\"'; lineA = GetMultiByteString(line); - fprintf(stderr,"Warning! unrecognized line:\n%s\n", lineA); + fprintf(stderr,"%S: warning: unrecognized line: '%s'\n", getAppName(), lineA); HeapFree(GetProcessHeap(), 0, lineA); return; } - } - else - { + } else { char* lineA = GetMultiByteString(line); - fprintf(stderr,"Warning! unrecognized line:\n%s\n", lineA); + fprintf(stderr,"%S: warning: unrecognized line: '%s'\n", getAppName(), lineA); HeapFree(GetProcessHeap(), 0, lineA); return; } line_idx++; /* skip the '=' character */ - while ( iswspace(line[line_idx]) ) line_idx++; + while ( isspaceW(line[line_idx]) ) line_idx++; val_data = line + line_idx; /* trim trailing blanks */ - line_idx = lstrlenW(val_data); - while (line_idx > 0 && iswspace(val_data[line_idx-1])) line_idx--; + line_idx = strlenW(val_data); + while (line_idx > 0 && isspaceW(val_data[line_idx-1])) line_idx--; val_data[line_idx] = '\0'; REGPROC_unescape_string(val_name); @@ -575,10 +546,10 @@ char* val_nameA = GetMultiByteString(val_name); char* val_dataA = GetMultiByteString(val_data); fprintf(stderr,"%S: ERROR Key %s not created. Value: %s, Data: %s\n", - getAppName(), - currentKeyName, - val_nameA, - val_dataA); + getAppName(), + currentKeyName, + val_nameA, + val_dataA); HeapFree(GetProcessHeap(), 0, val_nameA); HeapFree(GetProcessHeap(), 0, val_dataA); } @@ -595,20 +566,19 @@ * We encountered the end of the file, make sure we * close the opened key and exit */ - if (stdInput == NULL) - { + if (stdInput == NULL) { closeKey(); return; } - if ( stdInput[0] == L'[') /* We are reading a new key */ + if ( stdInput[0] == '[') /* We are reading a new key */ { WCHAR* keyEnd; - closeKey(); /* Close the previous key */ + closeKey(); /* Close the previous key */ /* Get rid of the square brackets */ stdInput++; - keyEnd = wcsrchr(stdInput, L']'); + keyEnd = strrchrW(stdInput, ']'); if (keyEnd) *keyEnd='\0'; @@ -616,22 +586,19 @@ if ( stdInput[0] == '-') { delete_registry_key(stdInput + 1); - } - else if ( openKeyW(stdInput) != ERROR_SUCCESS ) + } else if ( openKeyW(stdInput) != ERROR_SUCCESS ) { char* stdInputA = GetMultiByteString(stdInput); fprintf(stderr,"%S: setValue failed to open key %s\n", - getAppName(), stdInputA); + getAppName(), stdInputA); HeapFree(GetProcessHeap(), 0, stdInputA); } - } - else if( currentKeyHandle && - (( stdInput[0] == '@') || /* reading a default @=data pair */ - ( stdInput[0] == '\"'))) /* reading a new value=data pair */ + } else if( currentKeyHandle && + (( stdInput[0] == '@') || /* reading a default @=data pair */ + ( stdInput[0] == '\"'))) /* reading a new value=data pair */ { processSetValue(stdInput, isUnicode); - } - else + } else { /* Since we are assuming that the file format is valid we must be * reading a blank line which indicates the end of this key processing @@ -642,30 +609,35 @@ /****************************************************************************** * Processes a registry file. - * Correctly processes comments (in # form), line continuation. + * Correctly processes comments (in # and ; form), line continuation. * * Parameters: * in - input stream to read from - */ -static void processRegLinesA(FILE *in) + * first_chars - beginning of stream, read due to Unicode check + */ +static void processRegLinesA(FILE *in, char* first_chars) { LPSTR line = NULL; /* line read from input stream */ ULONG lineSize = REG_VAL_BUF_SIZE; line = HeapAlloc(GetProcessHeap(), 0, lineSize); CHECK_ENOUGH_MEMORY(line); - - while (!feof(in)) - { + memcpy(line, first_chars, 2); + + while (!feof(in)) { LPSTR s; /* The pointer into line for where the current fgets should read */ - LPSTR check; WCHAR* lineW; s = line; - for (;;) + if(first_chars) { + s += 2; + first_chars = NULL; + } + + for (;;) { size_t size_remaining; - int size_to_get; + int size_to_get, i; char *s_eol; /* various local uses */ /* Do we need to expand the buffer ? */ @@ -691,68 +663,79 @@ */ size_to_get = (size_remaining > INT_MAX ? INT_MAX : size_remaining); - check = fgets (s, size_to_get, in); - - if (check == NULL) - { - if (ferror(in)) - { - perror ("While reading input"); - exit (IO_ERROR); + /* get a single line. note that `i' must be one past the last + * meaningful character in `s' when this loop exits */ + for(i = 0; i < size_to_get-1; ++i){ + int xchar; + + xchar = fgetc(in); + s[i] = xchar; + if(xchar == EOF){ + if(ferror(in)){ + perror("While reading input"); + exit(IO_ERROR); + }else + assert(feof(in)); + break; } - else - { - assert (feof(in)); - *s = '\0'; - /* It is not clear to me from the definition that the - * contents of the buffer are well defined on detecting - * an eof without managing to read anything. - */ + if(s[i] == '\r'){ + /* read the next character iff it's \n */ + if(i+2 >= size_to_get){ + /* buffer too short, so put back the EOL char to + * read next cycle */ + ungetc('\r', in); + break; + } + s[i+1] = fgetc(in); + if(s[i+1] != '\n'){ + ungetc(s[i+1], in); + i = i+1; + }else + i = i+2; + break; } - } + if(s[i] == '\n'){ + i = i+1; + break; + } + } + s[i] = '\0'; /* If we didn't read the eol nor the eof go around for the rest */ - s_eol = strchr (s, '\n'); - if (!feof (in) && !s_eol) - { + s_eol = strpbrk (s, "\r\n"); + if (!feof (in) && !s_eol) { s = strchr (s, '\0'); - /* It should be s + size_to_get - 1 but this is safer */ continue; } /* If it is a comment line then discard it and go around again */ - if (line [0] == '#') - { + if (line [0] == '#' || line [0] == ';') { s = line; continue; } - /* Remove any line feed. Leave s_eol on the \0 */ - if (s_eol) - { - *s_eol = '\0'; - if (s_eol > line && *(s_eol-1) == '\r') - *--s_eol = '\0'; - } - else + /* Remove any line feed. Leave s_eol on the first \0 */ + if (s_eol) { + if (*s_eol == '\r' && *(s_eol+1) == '\n') + *(s_eol+1) = '\0'; + *s_eol = '\0'; + } else s_eol = strchr (s, '\0'); /* If there is a concatenating \\ then go around again */ - if (s_eol > line && *(s_eol-1) == '\\') - { + if (s_eol > line && *(s_eol-1) == '\\') { int c; s = s_eol-1; do { c = fgetc(in); - } - while(c == ' ' || c == '\t'); + } while(c == ' ' || c == '\t'); if(c == EOF) { fprintf(stderr,"%S: ERROR - invalid continuation.\n", - getAppName()); + getAppName()); } else { @@ -790,8 +773,7 @@ s = buf; line = buf; - while(!feof(in)) - { + while(!feof(in)) { size_t size_remaining; int size_to_get; WCHAR *s_eol = NULL; /* various local uses */ @@ -823,15 +805,11 @@ CharsInBuf = fread(s, sizeof(WCHAR), size_to_get - 1, in); s[CharsInBuf] = 0; - if (CharsInBuf == 0) - { - if (ferror(in)) - { + if (CharsInBuf == 0) { + if (ferror(in)) { perror ("While reading input"); exit (IO_ERROR); - } - else - { + } else { assert (feof(in)); *s = '\0'; /* It is not clear to me from the definition that the @@ -844,39 +822,37 @@ /* If we didn't read the eol nor the eof go around for the rest */ while(1) { - s_eol = wcschr(line, '\n'); - - if(!s_eol) - { + const WCHAR line_endings[] = {'\r','\n',0}; + s_eol = strpbrkW(line, line_endings); + + if(!s_eol) { /* Move the stub of the line to the start of the buffer so * we get the maximum space to read into, and so we don't * have to recalculate 'line' if the buffer expands */ - MoveMemory(buf, line, (lstrlenW(line) + 1) * sizeof(WCHAR)); + MoveMemory(buf, line, (strlenW(line)+1) * sizeof(WCHAR)); line = buf; - s = wcschr(line, '\0'); + s = strchrW(line, '\0'); break; } /* If it is a comment line then discard it and go around again */ - if (*line == '#') - { - line = s_eol + 1; + if (*line == '#' || *line == ';') { + if (*s_eol == '\r' && *(s_eol+1) == '\n') + line = s_eol + 2; + else + line = s_eol + 1; continue; } /* If there is a concatenating \\ then go around again */ - if ((*(s_eol-1) == '\\') || - (*(s_eol-1) == '\r' && *(s_eol-2) == '\\')) - { - WCHAR* NextLine = s_eol; + if (*(s_eol-1) == '\\') { + WCHAR* NextLine = s_eol + 1; + + if(*s_eol == '\r' && *(s_eol+1) == '\n') + NextLine++; while(*(NextLine+1) == ' ' || *(NextLine+1) == '\t') NextLine++; - - NextLine++; - - if(*(s_eol-1) == '\r') - s_eol--; MoveMemory(s_eol - 1, NextLine, (CharsInBuf - (NextLine - s) + 1)*sizeof(WCHAR)); CharsInBuf -= NextLine - s_eol + 1; @@ -884,16 +860,10 @@ continue; } - /* Remove any line feed. Leave s_eol on the \0 */ - if (s_eol) - { - *s_eol = '\0'; - if (s_eol > buf && *(s_eol-1) == '\r') - *(s_eol-1) = '\0'; - } - - if(!s_eol) - break; + /* Remove any line feed. Leave s_eol on the last \0 */ + if (*s_eol == '\r' && *(s_eol + 1) == '\n') + *s_eol++ = '\0'; + *s_eol = '\0'; processRegEntry(line, TRUE); line = s_eol + 1; @@ -920,12 +890,11 @@ int status; error_code = GetLastError (); - status = FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, - NULL, error_code, 0, (LPTSTR) &lpMsgBuf, 0, NULL); - if (!status) - { + status = FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, + NULL, error_code, 0, (LPSTR) &lpMsgBuf, 0, NULL); + if (!status) { fprintf(stderr,"%S: Cannot display message for error %ld, status %ld\n", - getAppName(), error_code, GetLastError()); + getAppName(), error_code, GetLastError()); exit(1); } puts(lpMsgBuf); @@ -946,8 +915,7 @@ static void REGPROC_resize_char_buffer(WCHAR **buffer, DWORD *len, DWORD required_len) { required_len++; - if (required_len > *len) - { + if (required_len > *len) { *len = required_len; if (!*buffer) *buffer = HeapAlloc(GetProcessHeap(), 0, *len * sizeof(**buffer)); @@ -967,8 +935,7 @@ */ static void REGPROC_resize_binary_buffer(BYTE **buffer, DWORD *size, DWORD required_size) { - if (required_size > *size) - { + if (required_size > *size) { *size = required_size; if (!*buffer) *buffer = HeapAlloc(GetProcessHeap(), 0, *size); @@ -990,11 +957,9 @@ /* escaping characters */ pos = *line_len; - for (i = 0; i < str_len; i++) - { + for (i = 0; i < str_len; i++) { WCHAR c = str[i]; - switch (c) - { + switch (c) { case '\n': extra++; REGPROC_resize_char_buffer(line_buf, line_buf_size, *line_len + str_len + extra); @@ -1024,20 +989,17 @@ const WCHAR *hex_prefix; const WCHAR hex[] = {'h','e','x',':',0}; WCHAR hex_buf[17]; - const WCHAR concat[] = {'\\','\n',' ',' ',0}; + const WCHAR concat[] = {'\\','\r','\n',' ',' ',0}; DWORD concat_prefix, concat_len; - const WCHAR newline[] = {'\n',0}; + const WCHAR newline[] = {'\r','\n',0}; CHAR* value_multibyte = NULL; - if (type == REG_BINARY) - { + if (type == REG_BINARY) { hex_prefix = hex; - } - else - { - const WCHAR hex_format[] = {'h','e','x','(','%','u',')',':',0}; + } else { + const WCHAR hex_format[] = {'h','e','x','(','%','x',')',':',0}; hex_prefix = hex_buf; - wsprintfW(hex_buf, hex_format, type); + sprintfW(hex_buf, hex_format, type); if ((type == REG_SZ || type == REG_EXPAND_SZ || type == REG_MULTI_SZ) && !unicode) { value_multibyte = GetMultiByteStringN((WCHAR*)value, value_size / sizeof(WCHAR), &value_size); @@ -1055,12 +1017,13 @@ /* - The 2 spaces that concat places at the start of the * line effectively reduce the space available for data. * - If the value name and hex prefix are very long - * ( > REG_FILE_HEX_LINE_LEN) then we may overestimate + * ( > REG_FILE_HEX_LINE_LEN) or *line_len divides + * without a remainder then we may overestimate * the needed number of lines by one. But that's ok. - * - The trailing linefeed takes the place of a comma so - * it's accounted for already. + * - The trailing '\r' takes the place of a comma so + * we only need to add 1 for the trailing '\n' */ - *line_len += *line_len / (REG_FILE_HEX_LINE_LEN - concat_prefix) * concat_len; + *line_len += *line_len / (REG_FILE_HEX_LINE_LEN - concat_prefix) * concat_len + 1; REGPROC_resize_char_buffer(line_buf, line_buf_size, *line_len); lstrcpyW(*line_buf + hex_pos, hex_prefix); if (value_size) @@ -1072,7 +1035,7 @@ i = 0; while (1) { - wsprintfW(*line_buf + data_pos, format, (unsigned int)value[i]); + sprintfW(*line_buf + data_pos, format, (unsigned int)value[i]); data_pos += 2; if (++i == value_size) break; @@ -1081,8 +1044,7 @@ column += 3; /* wrap the line */ - if (column >= REG_FILE_HEX_LINE_LEN) - { + if (column >= REG_FILE_HEX_LINE_LEN) { lstrcpyW(*line_buf + data_pos, concat); data_pos += concat_len; column = concat_prefix; @@ -1098,17 +1060,10 @@ */ static void REGPROC_write_line(FILE *file, const WCHAR* str, BOOL unicode) { - int i; - if (unicode) - { - for(i = 0; str[i]; i++) - { - if (str[i] == L'\n') - fputwc(L'\r', file); - fputwc(str[i], file); - } - } - else + if(unicode) + { + fwrite(str, sizeof(WCHAR), lstrlenW(str), file); + } else { char* strA = GetMultiByteString(str); fputs(strA, file); @@ -1133,11 +1088,11 @@ * val_size - size of the buffer for storing values in bytes. */ static void export_hkey(FILE *file, HKEY key, -WCHAR **reg_key_name_buf, DWORD *reg_key_name_size, -WCHAR **val_name_buf, DWORD *val_name_size, -BYTE **val_buf, DWORD *val_size, -WCHAR **line_buf, DWORD *line_buf_size, -BOOL unicode) + WCHAR **reg_key_name_buf, DWORD *reg_key_name_size, + WCHAR **val_name_buf, DWORD *val_name_size, + BYTE **val_buf, DWORD *val_size, + WCHAR **line_buf, DWORD *line_buf_size, + BOOL unicode) { DWORD max_sub_key_len; DWORD max_val_name_len; @@ -1146,58 +1101,49 @@ DWORD i; BOOL more_data; LONG ret; - WCHAR key_format[] = {'\n','[','%','s',']','\n',0}; + WCHAR key_format[] = {'\r','\n','[','%','s',']','\r','\n',0}; /* get size information and resize the buffers if necessary */ if (RegQueryInfoKeyW(key, NULL, NULL, NULL, NULL, - &max_sub_key_len, NULL, - NULL, &max_val_name_len, &max_val_size, NULL, NULL - ) != ERROR_SUCCESS) - { + &max_sub_key_len, NULL, + NULL, &max_val_name_len, &max_val_size, NULL, NULL + ) != ERROR_SUCCESS) { REGPROC_print_error(); } - curr_len = lstrlenW(*reg_key_name_buf); + curr_len = strlenW(*reg_key_name_buf); REGPROC_resize_char_buffer(reg_key_name_buf, reg_key_name_size, - max_sub_key_len + curr_len + 1); + max_sub_key_len + curr_len + 1); REGPROC_resize_char_buffer(val_name_buf, val_name_size, - max_val_name_len); + max_val_name_len); REGPROC_resize_binary_buffer(val_buf, val_size, max_val_size); REGPROC_resize_char_buffer(line_buf, line_buf_size, lstrlenW(*reg_key_name_buf) + 4); /* output data for the current key */ - wsprintfW(*line_buf, key_format, *reg_key_name_buf); + sprintfW(*line_buf, key_format, *reg_key_name_buf); REGPROC_write_line(file, *line_buf, unicode); /* print all the values */ i = 0; more_data = TRUE; - while(more_data) - { + while(more_data) { DWORD value_type; DWORD val_name_size1 = *val_name_size; DWORD val_size1 = *val_size; ret = RegEnumValueW(key, i, *val_name_buf, &val_name_size1, NULL, - &value_type, *val_buf, &val_size1); - if (ret == ERROR_MORE_DATA) - { + &value_type, *val_buf, &val_size1); + if (ret == ERROR_MORE_DATA) { /* Increase the size of the buffers and retry */ REGPROC_resize_char_buffer(val_name_buf, val_name_size, val_name_size1); REGPROC_resize_binary_buffer(val_buf, val_size, val_size1); - } - else if (ret != ERROR_SUCCESS) - { + } else if (ret != ERROR_SUCCESS) { more_data = FALSE; - if (ret != ERROR_NO_MORE_ITEMS) - { + if (ret != ERROR_NO_MORE_ITEMS) { REGPROC_print_error(); } - } - else - { + } else { DWORD line_len; i++; - if ((*val_name_buf)[0]) - { + if ((*val_name_buf)[0]) { const WCHAR val_start[] = {'"','%','s','"','=',0}; line_len = 0; @@ -1207,31 +1153,25 @@ line_len = 3 + lstrlenW(*val_name_buf); REGPROC_resize_char_buffer(line_buf, line_buf_size, line_len); - wsprintfW(*line_buf, val_start, *val_name_buf); - } - else - { + sprintfW(*line_buf, val_start, *val_name_buf); + } else { const WCHAR std_val[] = {'@','=',0}; line_len = 2; REGPROC_resize_char_buffer(line_buf, line_buf_size, line_len); lstrcpyW(*line_buf, std_val); } - switch (value_type) - { + switch (value_type) { case REG_SZ: { WCHAR* wstr = (WCHAR*)*val_buf; if (val_size1 < sizeof(WCHAR) || val_size1 % sizeof(WCHAR) || - wstr[val_size1 / sizeof(WCHAR) - 1]) - { + wstr[val_size1 / sizeof(WCHAR) - 1]) { REGPROC_export_binary(line_buf, line_buf_size, &line_len, value_type, *val_buf, val_size1, unicode); - } - else - { + } else { const WCHAR start[] = {'"',0}; - const WCHAR end[] = {'"','\n',0}; + const WCHAR end[] = {'"','\r','\n',0}; DWORD len; len = lstrlenW(start); @@ -1240,7 +1180,7 @@ line_len += len; /* At this point we know wstr is '\0'-terminated - * so we can substract 1 from the size + * so we can subtract 1 from the size */ REGPROC_export_string(line_buf, line_buf_size, &line_len, wstr, val_size1 / sizeof(WCHAR) - 1); @@ -1252,10 +1192,10 @@ case REG_DWORD: { - WCHAR format[] = {'d','w','o','r','d',':','%','0','8','x','\n',0}; + WCHAR format[] = {'d','w','o','r','d',':','%','0','8','x','\r','\n',0}; REGPROC_resize_char_buffer(line_buf, line_buf_size, line_len + 15); - wsprintfW(*line_buf + line_len, format, *((DWORD *)*val_buf)); + sprintfW(*line_buf + line_len, format, *((DWORD *)*val_buf)); break; } @@ -1264,14 +1204,14 @@ char* key_nameA = GetMultiByteString(*reg_key_name_buf); char* value_nameA = GetMultiByteString(*val_name_buf); fprintf(stderr,"%S: warning - unsupported registry format '%ld', " - "treat as binary\n", - getAppName(), value_type); + "treat as binary\n", + getAppName(), value_type); fprintf(stderr,"key name: \"%s\"\n", key_nameA); fprintf(stderr,"value name:\"%s\"\n\n", value_nameA); HeapFree(GetProcessHeap(), 0, key_nameA); HeapFree(GetProcessHeap(), 0, value_nameA); } - /* falls through */ + /* falls through */ case REG_EXPAND_SZ: case REG_MULTI_SZ: /* falls through */ @@ -1285,40 +1225,30 @@ i = 0; more_data = TRUE; (*reg_key_name_buf)[curr_len] = '\\'; - while(more_data) - { + while(more_data) { DWORD buf_size = *reg_key_name_size - curr_len - 1; ret = RegEnumKeyExW(key, i, *reg_key_name_buf + curr_len + 1, &buf_size, - NULL, NULL, NULL, NULL); - if (ret == ERROR_MORE_DATA) - { + NULL, NULL, NULL, NULL); + if (ret == ERROR_MORE_DATA) { /* Increase the size of the buffer and retry */ REGPROC_resize_char_buffer(reg_key_name_buf, reg_key_name_size, curr_len + 1 + buf_size); - } - else if (ret != ERROR_SUCCESS) - { + } else if (ret != ERROR_SUCCESS) { more_data = FALSE; - if (ret != ERROR_NO_MORE_ITEMS) - { + if (ret != ERROR_NO_MORE_ITEMS) { REGPROC_print_error(); } - } - else - { + } else { HKEY subkey; i++; if (RegOpenKeyW(key, *reg_key_name_buf + curr_len + 1, - &subkey) == ERROR_SUCCESS) - { + &subkey) == ERROR_SUCCESS) { export_hkey(file, subkey, reg_key_name_buf, reg_key_name_size, - val_name_buf, val_name_size, val_buf, val_size, - line_buf, line_buf_size, unicode); + val_name_buf, val_name_size, val_buf, val_size, + line_buf, line_buf_size, unicode); RegCloseKey(subkey); - } - else - { + } else { REGPROC_print_error(); } } @@ -1327,40 +1257,37 @@ } /****************************************************************************** - * Open file for export. + * Open file in binary mode for export. */ static FILE *REGPROC_open_export_file(WCHAR *file_name, BOOL unicode) { FILE *file; WCHAR dash = '-'; - if (wcsncmp(file_name, &dash, 1) == 0) - file = stdout; - else - { - if (unicode) - file = _wfopen(file_name, L"wb"); - else - file = _wfopen(file_name, L"w"); - if (!file) - { - CHAR* file_nameA = GetMultiByteString(file_name); + if (strncmpW(file_name,&dash,1)==0) { + file=stdout; + _setmode(_fileno(file), _O_BINARY); + } else + { + CHAR* file_nameA = GetMultiByteString(file_name); + file = fopen(file_nameA, "wb"); + if (!file) { perror(""); fprintf(stderr,"%S: Can't open file \"%s\"\n", getAppName(), file_nameA); HeapFree(GetProcessHeap(), 0, file_nameA); exit(1); } - } - if (unicode) + HeapFree(GetProcessHeap(), 0, file_nameA); + } + if(unicode) { const BYTE unicode_seq[] = {0xff,0xfe}; - const WCHAR header[] = L"Windows Registry Editor Version 5.00\r\n"; - fwrite(unicode_seq, sizeof(BYTE), COUNT_OF(unicode_seq), file); - fwrite(header, sizeof(WCHAR), lstrlenW(header), file); - } - else - { - fputs("REGEDIT4\n", file); + const WCHAR header[] = {'W','i','n','d','o','w','s',' ','R','e','g','i','s','t','r','y',' ','E','d','i','t','o','r',' ','V','e','r','s','i','o','n',' ','5','.','0','0','\r','\n'}; + fwrite(unicode_seq, sizeof(BYTE), sizeof(unicode_seq)/sizeof(unicode_seq[0]), file); + fwrite(header, sizeof(WCHAR), sizeof(header)/sizeof(header[0]), file); + } else + { + fputs("REGEDIT4\r\n", file); } return file; @@ -1388,87 +1315,75 @@ BOOL unicode = (format == REG_FORMAT_5); reg_key_name_buf = HeapAlloc(GetProcessHeap(), 0, - reg_key_name_size * sizeof(*reg_key_name_buf)); + reg_key_name_size * sizeof(*reg_key_name_buf)); val_name_buf = HeapAlloc(GetProcessHeap(), 0, - val_name_size * sizeof(*val_name_buf)); + val_name_size * sizeof(*val_name_buf)); val_buf = HeapAlloc(GetProcessHeap(), 0, val_size); line_buf = HeapAlloc(GetProcessHeap(), 0, line_buf_size * sizeof(*line_buf)); CHECK_ENOUGH_MEMORY(reg_key_name_buf && val_name_buf && val_buf && line_buf); - if (reg_key_name && reg_key_name[0]) - { + if (reg_key_name && reg_key_name[0]) { HKEY reg_key_class; WCHAR *branch_name = NULL; HKEY key; REGPROC_resize_char_buffer(®_key_name_buf, ®_key_name_size, - lstrlenW(reg_key_name)); + lstrlenW(reg_key_name)); lstrcpyW(reg_key_name_buf, reg_key_name); /* open the specified key */ - if (!parseKeyName(reg_key_name, ®_key_class, &branch_name)) - { + if (!parseKeyName(reg_key_name, ®_key_class, &branch_name)) { CHAR* key_nameA = GetMultiByteString(reg_key_name); fprintf(stderr,"%S: Incorrect registry class specification in '%s'\n", - getAppName(), key_nameA); + getAppName(), key_nameA); HeapFree(GetProcessHeap(), 0, key_nameA); exit(1); } - if (!branch_name[0]) - { + if (!branch_name[0]) { /* no branch - registry class is specified */ file = REGPROC_open_export_file(file_name, unicode); export_hkey(file, reg_key_class, - ®_key_name_buf, ®_key_name_size, - &val_name_buf, &val_name_size, - &val_buf, &val_size, &line_buf, - &line_buf_size, unicode); - } - else if (RegOpenKeyW(reg_key_class, branch_name, &key) == ERROR_SUCCESS) - { + ®_key_name_buf, ®_key_name_size, + &val_name_buf, &val_name_size, + &val_buf, &val_size, &line_buf, + &line_buf_size, unicode); + } else if (RegOpenKeyW(reg_key_class, branch_name, &key) == ERROR_SUCCESS) { file = REGPROC_open_export_file(file_name, unicode); export_hkey(file, key, - ®_key_name_buf, ®_key_name_size, - &val_name_buf, &val_name_size, - &val_buf, &val_size, &line_buf, - &line_buf_size, unicode); + ®_key_name_buf, ®_key_name_size, + &val_name_buf, &val_name_size, + &val_buf, &val_size, &line_buf, + &line_buf_size, unicode); RegCloseKey(key); - } - else - { + } else { CHAR* key_nameA = GetMultiByteString(reg_key_name); fprintf(stderr,"%S: Can't export. Registry key '%s' does not exist!\n", - getAppName(), key_nameA); + getAppName(), key_nameA); HeapFree(GetProcessHeap(), 0, key_nameA); REGPROC_print_error(); } - } - else - { + } else { unsigned int i; /* export all registry classes */ file = REGPROC_open_export_file(file_name, unicode); - for (i = 0; i < REG_CLASS_NUMBER; i++) - { + for (i = 0; i < REG_CLASS_NUMBER; i++) { /* do not export HKEY_CLASSES_ROOT */ if (reg_class_keys[i] != HKEY_CLASSES_ROOT && - reg_class_keys[i] != HKEY_CURRENT_USER && - reg_class_keys[i] != HKEY_CURRENT_CONFIG && - reg_class_keys[i] != HKEY_DYN_DATA) - { + reg_class_keys[i] != HKEY_CURRENT_USER && + reg_class_keys[i] != HKEY_CURRENT_CONFIG && + reg_class_keys[i] != HKEY_DYN_DATA) { lstrcpyW(reg_key_name_buf, reg_class_namesW[i]); export_hkey(file, reg_class_keys[i], - ®_key_name_buf, ®_key_name_size, - &val_name_buf, &val_name_size, - &val_buf, &val_size, &line_buf, - &line_buf_size, unicode); - } - } - } - - if (file) - { + ®_key_name_buf, ®_key_name_size, + &val_name_buf, &val_name_size, + &val_buf, &val_size, &line_buf, + &line_buf_size, unicode); + } + } + } + + if (file) { fclose(file); } HeapFree(GetProcessHeap(), 0, reg_key_name); @@ -1491,11 +1406,9 @@ if (s[0] == 0xff && s[1] == 0xfe) { processRegLinesW(reg_file); - } - else + } else { - fseek(reg_file, 0, SEEK_SET); - processRegLinesA(reg_file); + processRegLinesA(reg_file, (char*)s); } } return TRUE; @@ -1518,19 +1431,17 @@ if (!reg_key_name || !reg_key_name[0]) return; - if (!parseKeyName(reg_key_name, &key_class, &key_name)) - { + if (!parseKeyName(reg_key_name, &key_class, &key_name)) { char* reg_key_nameA = GetMultiByteString(reg_key_name); fprintf(stderr,"%S: Incorrect registry class specification in '%s'\n", - getAppName(), reg_key_nameA); + getAppName(), reg_key_nameA); HeapFree(GetProcessHeap(), 0, reg_key_nameA); exit(1); } - if (!*key_name) - { + if (!*key_name) { char* reg_key_nameA = GetMultiByteString(reg_key_name); fprintf(stderr,"%S: Can't delete registry class '%s'\n", - getAppName(), reg_key_nameA); + getAppName(), reg_key_nameA); HeapFree(GetProcessHeap(), 0, reg_key_nameA); exit(1); } Modified: trunk/reactos/base/applications/regedit/regproc.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/regedit/…
============================================================================== --- trunk/reactos/base/applications/regedit/regproc.h [iso-8859-1] (original) +++ trunk/reactos/base/applications/regedit/regproc.h [iso-8859-1] Fri Apr 18 20:24:51 2014 @@ -14,7 +14,7 @@ * * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ #pragma once @@ -25,7 +25,7 @@ #define REG_FORMAT_4 2 BOOL export_registry_key(WCHAR *file_name, WCHAR *reg_key_name, DWORD format); -BOOL import_registry_file(FILE* reg_file); -void delete_registry_key(LPTSTR reg_key_name); +BOOL import_registry_file(FILE *in); +void delete_registry_key(WCHAR *reg_key_name); WCHAR* GetWideString(const char* strA); CHAR* GetMultiByteString(const WCHAR* strW);
10 years, 8 months
1
0
0
0
[akhaldi] 62774: [WIDL] * Sync with Wine 1.7.17. CORE-8080
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Apr 18 20:22:07 2014 New Revision: 62774 URL:
http://svn.reactos.org/svn/reactos?rev=62774&view=rev
Log: [WIDL] * Sync with Wine 1.7.17. CORE-8080 Modified: trunk/reactos/media/doc/README.WINE trunk/reactos/tools/widl/getopt.c trunk/reactos/tools/widl/header.c trunk/reactos/tools/widl/header.h trunk/reactos/tools/widl/parser.l trunk/reactos/tools/widl/parser.tab.c trunk/reactos/tools/widl/parser.tab.h trunk/reactos/tools/widl/parser.y trunk/reactos/tools/widl/parser.yy.c trunk/reactos/tools/widl/proxy.c trunk/reactos/tools/widl/typegen.c trunk/reactos/tools/widl/typelib.c trunk/reactos/tools/widl/typelib_struct.h trunk/reactos/tools/widl/utils.c trunk/reactos/tools/widl/widl.c trunk/reactos/tools/widl/widl.h trunk/reactos/tools/widl/widltypes.h trunk/reactos/tools/widl/write_msft.c trunk/reactos/tools/wpp/preproc.c [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/media/doc/README.WINE URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
Modified: trunk/reactos/tools/widl/getopt.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/getopt.c?rev=62…
Modified: trunk/reactos/tools/widl/header.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/header.c?rev=62…
Modified: trunk/reactos/tools/widl/header.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/header.h?rev=62…
Modified: trunk/reactos/tools/widl/parser.l URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/parser.l?rev=62…
Modified: trunk/reactos/tools/widl/parser.tab.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/parser.tab.c?re…
Modified: trunk/reactos/tools/widl/parser.tab.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/parser.tab.h?re…
Modified: trunk/reactos/tools/widl/parser.y URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/parser.y?rev=62…
Modified: trunk/reactos/tools/widl/parser.yy.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/parser.yy.c?rev…
Modified: trunk/reactos/tools/widl/proxy.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/proxy.c?rev=627…
Modified: trunk/reactos/tools/widl/typegen.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/typegen.c?rev=6…
Modified: trunk/reactos/tools/widl/typelib.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/typelib.c?rev=6…
Modified: trunk/reactos/tools/widl/typelib_struct.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/typelib_struct.…
Modified: trunk/reactos/tools/widl/utils.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/utils.c?rev=627…
Modified: trunk/reactos/tools/widl/widl.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/widl.c?rev=6277…
Modified: trunk/reactos/tools/widl/widl.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/widl.h?rev=6277…
Modified: trunk/reactos/tools/widl/widltypes.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/widltypes.h?rev…
Modified: trunk/reactos/tools/widl/write_msft.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/write_msft.c?re…
Modified: trunk/reactos/tools/wpp/preproc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wpp/preproc.c?rev=62…
10 years, 8 months
1
0
0
0
[akhaldi] 62773: [LIBXML2] * Update to 2.9.1 * Make use of our iconvc and zlib libs. [LIBXSLT][MSXML3] * Make use of our iconvc and zlib libs. CORE-8079 #resolve
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Apr 18 19:33:35 2014 New Revision: 62773 URL:
http://svn.reactos.org/svn/reactos?rev=62773&view=rev
Log: [LIBXML2] * Update to 2.9.1 * Make use of our iconvc and zlib libs. [LIBXSLT][MSXML3] * Make use of our iconvc and zlib libs. CORE-8079 #resolve Removed: trunk/reactos/include/reactos/libs/libxml/Makefile.am trunk/reactos/include/reactos/libs/libxml/Makefile.in trunk/reactos/lib/3rdparty/libxml2/INSTALL trunk/reactos/lib/3rdparty/libxml2/Makefile.am trunk/reactos/lib/3rdparty/libxml2/Makefile.in trunk/reactos/lib/3rdparty/libxml2/Makefile.tests trunk/reactos/lib/3rdparty/libxml2/README.tests trunk/reactos/lib/3rdparty/libxml2/acinclude.m4 trunk/reactos/lib/3rdparty/libxml2/aclocal.m4 trunk/reactos/lib/3rdparty/libxml2/check-relaxng-test-suite.py trunk/reactos/lib/3rdparty/libxml2/check-relaxng-test-suite2.py trunk/reactos/lib/3rdparty/libxml2/check-xinclude-test-suite.py trunk/reactos/lib/3rdparty/libxml2/check-xml-test-suite.py trunk/reactos/lib/3rdparty/libxml2/check-xsddata-test-suite.py trunk/reactos/lib/3rdparty/libxml2/config.guess trunk/reactos/lib/3rdparty/libxml2/config.h.in trunk/reactos/lib/3rdparty/libxml2/config.sub trunk/reactos/lib/3rdparty/libxml2/configure trunk/reactos/lib/3rdparty/libxml2/configure.in trunk/reactos/lib/3rdparty/libxml2/dbgen.pl trunk/reactos/lib/3rdparty/libxml2/dbgenattr.pl trunk/reactos/lib/3rdparty/libxml2/depcomp trunk/reactos/lib/3rdparty/libxml2/genUnicode.py trunk/reactos/lib/3rdparty/libxml2/gentest.py trunk/reactos/lib/3rdparty/libxml2/include/Makefile.am trunk/reactos/lib/3rdparty/libxml2/include/Makefile.in trunk/reactos/lib/3rdparty/libxml2/install-sh trunk/reactos/lib/3rdparty/libxml2/libxml-2.0-uninstalled.pc.in trunk/reactos/lib/3rdparty/libxml2/libxml-2.0.pc.in trunk/reactos/lib/3rdparty/libxml2/libxml.3 trunk/reactos/lib/3rdparty/libxml2/libxml.m4 trunk/reactos/lib/3rdparty/libxml2/libxml.spec.in trunk/reactos/lib/3rdparty/libxml2/libxml2.spec trunk/reactos/lib/3rdparty/libxml2/ltmain.sh trunk/reactos/lib/3rdparty/libxml2/missing trunk/reactos/lib/3rdparty/libxml2/regressions.py trunk/reactos/lib/3rdparty/libxml2/regressions.xml trunk/reactos/lib/3rdparty/libxml2/runsuite.c trunk/reactos/lib/3rdparty/libxml2/runtest.c trunk/reactos/lib/3rdparty/libxml2/runxmlconf.c trunk/reactos/lib/3rdparty/libxml2/testAutomata.c trunk/reactos/lib/3rdparty/libxml2/testC14N.c trunk/reactos/lib/3rdparty/libxml2/testHTML.c trunk/reactos/lib/3rdparty/libxml2/testModule.c trunk/reactos/lib/3rdparty/libxml2/testReader.c trunk/reactos/lib/3rdparty/libxml2/testRegexp.c trunk/reactos/lib/3rdparty/libxml2/testRelax.c trunk/reactos/lib/3rdparty/libxml2/testSAX.c trunk/reactos/lib/3rdparty/libxml2/testSchemas.c trunk/reactos/lib/3rdparty/libxml2/testThreads.c trunk/reactos/lib/3rdparty/libxml2/testThreadsWin32.c trunk/reactos/lib/3rdparty/libxml2/testURI.c trunk/reactos/lib/3rdparty/libxml2/testXPath.c trunk/reactos/lib/3rdparty/libxml2/testapi.c trunk/reactos/lib/3rdparty/libxml2/testchar.c trunk/reactos/lib/3rdparty/libxml2/testdict.c trunk/reactos/lib/3rdparty/libxml2/testdso.c trunk/reactos/lib/3rdparty/libxml2/testlimits.c trunk/reactos/lib/3rdparty/libxml2/testrecurse.c trunk/reactos/lib/3rdparty/libxml2/xml2-config.1 trunk/reactos/lib/3rdparty/libxml2/xml2-config.in trunk/reactos/lib/3rdparty/libxml2/xml2Conf.sh.in Modified: trunk/reactos/dll/3rdparty/libxslt/CMakeLists.txt trunk/reactos/dll/win32/msxml3/CMakeLists.txt trunk/reactos/include/reactos/libs/libxml/entities.h trunk/reactos/include/reactos/libs/libxml/parser.h trunk/reactos/include/reactos/libs/libxml/tree.h trunk/reactos/include/reactos/libs/libxml/xmlerror.h trunk/reactos/include/reactos/libs/libxml/xmlversion.h trunk/reactos/include/reactos/libs/libxml/xmlversion.h.in trunk/reactos/include/reactos/libs/libxml/xpath.h trunk/reactos/lib/3rdparty/libxml2/CMakeLists.txt trunk/reactos/lib/3rdparty/libxml2/Copyright trunk/reactos/lib/3rdparty/libxml2/HTMLparser.c trunk/reactos/lib/3rdparty/libxml2/SAX2.c trunk/reactos/lib/3rdparty/libxml2/buf.c trunk/reactos/lib/3rdparty/libxml2/catalog.c trunk/reactos/lib/3rdparty/libxml2/config.h trunk/reactos/lib/3rdparty/libxml2/debugXML.c trunk/reactos/lib/3rdparty/libxml2/dict.c trunk/reactos/lib/3rdparty/libxml2/elfgcchack.h trunk/reactos/lib/3rdparty/libxml2/enc.h trunk/reactos/lib/3rdparty/libxml2/encoding.c trunk/reactos/lib/3rdparty/libxml2/hash.c trunk/reactos/lib/3rdparty/libxml2/libxml.h trunk/reactos/lib/3rdparty/libxml2/nanohttp.c trunk/reactos/lib/3rdparty/libxml2/parser.c trunk/reactos/lib/3rdparty/libxml2/parserInternals.c trunk/reactos/lib/3rdparty/libxml2/relaxng.c trunk/reactos/lib/3rdparty/libxml2/threads.c trunk/reactos/lib/3rdparty/libxml2/timsort.h trunk/reactos/lib/3rdparty/libxml2/tree.c trunk/reactos/lib/3rdparty/libxml2/valid.c trunk/reactos/lib/3rdparty/libxml2/xmlIO.c trunk/reactos/lib/3rdparty/libxml2/xmllint.c trunk/reactos/lib/3rdparty/libxml2/xmlreader.c trunk/reactos/lib/3rdparty/libxml2/xmlregexp.c trunk/reactos/lib/3rdparty/libxml2/xmlsave.c trunk/reactos/lib/3rdparty/libxml2/xmlschemas.c trunk/reactos/media/doc/3rd Party Files.txt [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/dll/3rdparty/libxslt/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/libxslt/CMake…
Modified: trunk/reactos/dll/win32/msxml3/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/CMakeList…
Removed: trunk/reactos/include/reactos/libs/libxml/Makefile.am URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Removed: trunk/reactos/include/reactos/libs/libxml/Makefile.in URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/include/reactos/libs/libxml/entities.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/include/reactos/libs/libxml/parser.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/include/reactos/libs/libxml/tree.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/include/reactos/libs/libxml/xmlerror.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/include/reactos/libs/libxml/xmlversion.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/include/reactos/libs/libxml/xmlversion.h.in URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/include/reactos/libs/libxml/xpath.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/lib/3rdparty/libxml2/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/CMake…
Modified: trunk/reactos/lib/3rdparty/libxml2/Copyright URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/Copyr…
Modified: trunk/reactos/lib/3rdparty/libxml2/HTMLparser.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/HTMLp…
Removed: trunk/reactos/lib/3rdparty/libxml2/INSTALL URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/INSTA…
Removed: trunk/reactos/lib/3rdparty/libxml2/Makefile.am URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/Makef…
Removed: trunk/reactos/lib/3rdparty/libxml2/Makefile.in URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/Makef…
Removed: trunk/reactos/lib/3rdparty/libxml2/Makefile.tests URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/Makef…
Removed: trunk/reactos/lib/3rdparty/libxml2/README.tests URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/READM…
Modified: trunk/reactos/lib/3rdparty/libxml2/SAX2.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/SAX2.…
Removed: trunk/reactos/lib/3rdparty/libxml2/acinclude.m4 URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/acinc…
Removed: trunk/reactos/lib/3rdparty/libxml2/aclocal.m4 URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/acloc…
Modified: trunk/reactos/lib/3rdparty/libxml2/buf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/buf.c…
Modified: trunk/reactos/lib/3rdparty/libxml2/catalog.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/catal…
Removed: trunk/reactos/lib/3rdparty/libxml2/check-relaxng-test-suite.py URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/check…
Removed: trunk/reactos/lib/3rdparty/libxml2/check-relaxng-test-suite2.py URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/check…
Removed: trunk/reactos/lib/3rdparty/libxml2/check-xinclude-test-suite.py URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/check…
Removed: trunk/reactos/lib/3rdparty/libxml2/check-xml-test-suite.py URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/check…
Removed: trunk/reactos/lib/3rdparty/libxml2/check-xsddata-test-suite.py URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/check…
Removed: trunk/reactos/lib/3rdparty/libxml2/config.guess URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/confi…
Modified: trunk/reactos/lib/3rdparty/libxml2/config.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/confi…
Removed: trunk/reactos/lib/3rdparty/libxml2/config.h.in URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/confi…
Removed: trunk/reactos/lib/3rdparty/libxml2/config.sub URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/confi…
Removed: trunk/reactos/lib/3rdparty/libxml2/configure URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/confi…
Removed: trunk/reactos/lib/3rdparty/libxml2/configure.in URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/confi…
Removed: trunk/reactos/lib/3rdparty/libxml2/dbgen.pl URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/dbgen…
Removed: trunk/reactos/lib/3rdparty/libxml2/dbgenattr.pl URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/dbgen…
Modified: trunk/reactos/lib/3rdparty/libxml2/debugXML.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/debug…
Removed: trunk/reactos/lib/3rdparty/libxml2/depcomp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/depco…
Modified: trunk/reactos/lib/3rdparty/libxml2/dict.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/dict.…
Modified: trunk/reactos/lib/3rdparty/libxml2/elfgcchack.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/elfgc…
Modified: trunk/reactos/lib/3rdparty/libxml2/enc.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/enc.h…
Modified: trunk/reactos/lib/3rdparty/libxml2/encoding.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/encod…
Removed: trunk/reactos/lib/3rdparty/libxml2/genUnicode.py URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/genUn…
Removed: trunk/reactos/lib/3rdparty/libxml2/gentest.py URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/gente…
Modified: trunk/reactos/lib/3rdparty/libxml2/hash.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/hash.…
Removed: trunk/reactos/lib/3rdparty/libxml2/include/Makefile.am URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/inclu…
Removed: trunk/reactos/lib/3rdparty/libxml2/include/Makefile.in URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/inclu…
Removed: trunk/reactos/lib/3rdparty/libxml2/install-sh URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/insta…
Removed: trunk/reactos/lib/3rdparty/libxml2/libxml-2.0-uninstalled.pc.in URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/libxm…
Removed: trunk/reactos/lib/3rdparty/libxml2/libxml-2.0.pc.in URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/libxm…
Removed: trunk/reactos/lib/3rdparty/libxml2/libxml.3 URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/libxm…
Modified: trunk/reactos/lib/3rdparty/libxml2/libxml.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/libxm…
Removed: trunk/reactos/lib/3rdparty/libxml2/libxml.m4 URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/libxm…
Removed: trunk/reactos/lib/3rdparty/libxml2/libxml.spec.in URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/libxm…
Removed: trunk/reactos/lib/3rdparty/libxml2/libxml2.spec URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/libxm…
Removed: trunk/reactos/lib/3rdparty/libxml2/ltmain.sh URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/ltmai…
Removed: trunk/reactos/lib/3rdparty/libxml2/missing URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/missi…
Modified: trunk/reactos/lib/3rdparty/libxml2/nanohttp.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/nanoh…
Modified: trunk/reactos/lib/3rdparty/libxml2/parser.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/parse…
Modified: trunk/reactos/lib/3rdparty/libxml2/parserInternals.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/parse…
Removed: trunk/reactos/lib/3rdparty/libxml2/regressions.py URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/regre…
Removed: trunk/reactos/lib/3rdparty/libxml2/regressions.xml URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/regre…
Modified: trunk/reactos/lib/3rdparty/libxml2/relaxng.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/relax…
Removed: trunk/reactos/lib/3rdparty/libxml2/runsuite.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/runsu…
Removed: trunk/reactos/lib/3rdparty/libxml2/runtest.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/runte…
Removed: trunk/reactos/lib/3rdparty/libxml2/runxmlconf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/runxm…
Removed: trunk/reactos/lib/3rdparty/libxml2/testAutomata.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testA…
Removed: trunk/reactos/lib/3rdparty/libxml2/testC14N.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testC…
Removed: trunk/reactos/lib/3rdparty/libxml2/testHTML.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testH…
Removed: trunk/reactos/lib/3rdparty/libxml2/testModule.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testM…
Removed: trunk/reactos/lib/3rdparty/libxml2/testReader.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testR…
Removed: trunk/reactos/lib/3rdparty/libxml2/testRegexp.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testR…
Removed: trunk/reactos/lib/3rdparty/libxml2/testRelax.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testR…
Removed: trunk/reactos/lib/3rdparty/libxml2/testSAX.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testS…
Removed: trunk/reactos/lib/3rdparty/libxml2/testSchemas.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testS…
Removed: trunk/reactos/lib/3rdparty/libxml2/testThreads.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testT…
Removed: trunk/reactos/lib/3rdparty/libxml2/testThreadsWin32.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testT…
Removed: trunk/reactos/lib/3rdparty/libxml2/testURI.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testU…
Removed: trunk/reactos/lib/3rdparty/libxml2/testXPath.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testX…
Removed: trunk/reactos/lib/3rdparty/libxml2/testapi.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testa…
Removed: trunk/reactos/lib/3rdparty/libxml2/testchar.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testc…
Removed: trunk/reactos/lib/3rdparty/libxml2/testdict.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testd…
Removed: trunk/reactos/lib/3rdparty/libxml2/testdso.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testd…
Removed: trunk/reactos/lib/3rdparty/libxml2/testlimits.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testl…
Removed: trunk/reactos/lib/3rdparty/libxml2/testrecurse.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/testr…
Modified: trunk/reactos/lib/3rdparty/libxml2/threads.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/threa…
Modified: trunk/reactos/lib/3rdparty/libxml2/timsort.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/timso…
Modified: trunk/reactos/lib/3rdparty/libxml2/tree.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/tree.…
Modified: trunk/reactos/lib/3rdparty/libxml2/valid.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/valid…
Removed: trunk/reactos/lib/3rdparty/libxml2/xml2-config.1 URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xml2-…
Removed: trunk/reactos/lib/3rdparty/libxml2/xml2-config.in URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xml2-…
Removed: trunk/reactos/lib/3rdparty/libxml2/xml2Conf.sh.in URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xml2C…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmlIO.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlIO…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmllint.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlli…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmlreader.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlre…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmlregexp.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlre…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmlsave.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlsa…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmlschemas.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlsc…
Modified: trunk/reactos/media/doc/3rd Party Files.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/3rd%20Party%20Fi…
10 years, 8 months
1
0
0
0
[ekohl] 62772: [FASTFAT] Add file and directory removal notification.
by ekohl@svn.reactos.org
Author: ekohl Date: Fri Apr 18 12:07:55 2014 New Revision: 62772 URL:
http://svn.reactos.org/svn/reactos?rev=62772&view=rev
Log: [FASTFAT] Add file and directory removal notification. Modified: trunk/reactos/drivers/filesystems/fastfat/close.c Modified: trunk/reactos/drivers/filesystems/fastfat/close.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
============================================================================== --- trunk/reactos/drivers/filesystems/fastfat/close.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/fastfat/close.c [iso-8859-1] Fri Apr 18 12:07:55 2014 @@ -28,7 +28,7 @@ NTSTATUS Status = STATUS_SUCCESS; DPRINT("VfatCloseFile(DeviceExt %p, FileObject %p)\n", - DeviceExt, FileObject); + DeviceExt, FileObject); /* FIXME : update entry in directory? */ pCcb = (PVFATCCB) (FileObject->FsContext2); @@ -52,6 +52,17 @@ if (pFcb->Flags & FCB_DELETE_PENDING) { VfatDelEntry(DeviceExt, pFcb); + + FsRtlNotifyFullReportChange(DeviceExt->NotifySync, + &(DeviceExt->NotifyList), + (PSTRING)&pFcb->PathNameU, + pFcb->PathNameU.Length - pFcb->LongNameU.Length, + NULL, + NULL, + ((*pFcb->Attributes & FILE_ATTRIBUTE_DIRECTORY) ? + FILE_NOTIFY_CHANGE_DIR_NAME : FILE_NOTIFY_CHANGE_FILE_NAME), + FILE_ACTION_REMOVED, + NULL); } else {
10 years, 8 months
1
0
0
0
[jimtabor] 62771: - Add support to scrolls too.
by jimtabor@svn.reactos.org
Author: jimtabor Date: Thu Apr 17 23:09:50 2014 New Revision: 62771 URL:
http://svn.reactos.org/svn/reactos?rev=62771&view=rev
Log: - Add support to scrolls too. Modified: trunk/reactos/win32ss/user/user32/windows/nonclient.c Modified: trunk/reactos/win32ss/user/user32/windows/nonclient.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
============================================================================== --- trunk/reactos/win32ss/user/user32/windows/nonclient.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/user32/windows/nonclient.c [iso-8859-1] Thu Apr 17 23:09:50 2014 @@ -1133,7 +1133,7 @@ if (hwnd != GetCapture()) return 0; } ReleaseCapture(); - if (hittest == HTCAPTION || hittest == HTSYSMENU) + if (hittest == HTCAPTION || hittest == HTSYSMENU || hittest == HTHSCROLL || hittest == HTVSCROLL) { TRACE("Msg pt %x and Msg.lParam %x and lParam %x\n",MAKELONG(msg.pt.x,msg.pt.y),msg.lParam,lParam); SendMessageW( hwnd, WM_CONTEXTMENU, (WPARAM)hwnd, MAKELONG(msg.pt.x,msg.pt.y));
10 years, 8 months
1
0
0
0
[jimtabor] 62770: [User32] - Fixed right click on title bar. See CORE-7054.
by jimtabor@svn.reactos.org
Author: jimtabor Date: Thu Apr 17 22:48:14 2014 New Revision: 62770 URL:
http://svn.reactos.org/svn/reactos?rev=62770&view=rev
Log: [User32] - Fixed right click on title bar. See CORE-7054. Modified: trunk/reactos/win32ss/user/user32/windows/nonclient.c Modified: trunk/reactos/win32ss/user/user32/windows/nonclient.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
============================================================================== --- trunk/reactos/win32ss/user/user32/windows/nonclient.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/user32/windows/nonclient.c [iso-8859-1] Thu Apr 17 22:48:14 2014 @@ -1135,8 +1135,8 @@ ReleaseCapture(); if (hittest == HTCAPTION || hittest == HTSYSMENU) { - ERR("Msg pt %x and Msg.lParam %x and lParam %x\n",MAKELONG(msg.pt.x,msg.pt.y),msg.lParam,lParam); - SendMessageW( hwnd, WM_SYSCOMMAND, SC_MOUSEMENU + HTSYSMENU, msg.lParam ); + TRACE("Msg pt %x and Msg.lParam %x and lParam %x\n",MAKELONG(msg.pt.x,msg.pt.y),msg.lParam,lParam); + SendMessageW( hwnd, WM_CONTEXTMENU, (WPARAM)hwnd, MAKELONG(msg.pt.x,msg.pt.y)); } break; }
10 years, 8 months
1
0
0
0
[khornicek] 62769: [USETUP] - add a default page file entry to the registry also during unattended setup CORE-8074
by khornicek@svn.reactos.org
Author: khornicek Date: Thu Apr 17 21:32:35 2014 New Revision: 62769 URL:
http://svn.reactos.org/svn/reactos?rev=62769&view=rev
Log: [USETUP] - add a default page file entry to the registry also during unattended setup CORE-8074 Modified: trunk/reactos/base/setup/usetup/interface/usetup.c Modified: trunk/reactos/base/setup/usetup/interface/usetup.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/interfac…
============================================================================== --- trunk/reactos/base/setup/usetup/interface/usetup.c [iso-8859-1] (original) +++ trunk/reactos/base/setup/usetup/interface/usetup.c [iso-8859-1] Thu Apr 17 21:32:35 2014 @@ -1524,6 +1524,8 @@ MaxSize, TRUE); + DestinationDriveLetter = (WCHAR)PartitionList->CurrentPartition->DriveLetter[0]; + return SELECT_FILE_SYSTEM_PAGE; } } @@ -1534,6 +1536,8 @@ MUIDisplayError(ERROR_INSUFFICIENT_DISKSPACE, Ir, POPUP_WAIT_ANY_KEY); return SELECT_PARTITION_PAGE; /* let the user select another partition */ } + + DestinationDriveLetter = (WCHAR)PartitionList->CurrentPartition->DriveLetter[0]; return SELECT_FILE_SYSTEM_PAGE; }
10 years, 8 months
1
0
0
0
← Newer
1
...
29
30
31
32
33
34
35
...
50
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
Results per page:
10
25
50
100
200