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
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
August 2005
----- 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
23 participants
669 discussions
Start a n
N
ew thread
[hpoussin] 17318: BYTE -> UCHAR. Thanks Alex
by hpoussin@svn.reactos.com
BYTE -> UCHAR. Thanks Alex Modified: trunk/reactos/w32api/include/ddk/ntifs.h _____ Modified: trunk/reactos/w32api/include/ddk/ntifs.h --- trunk/reactos/w32api/include/ddk/ntifs.h 2005-08-11 21:20:42 UTC (rev 17317) +++ trunk/reactos/w32api/include/ddk/ntifs.h 2005-08-11 21:25:28 UTC (rev 17318) @@ -1434,7 +1434,7 @@ { LARGE_INTEGER StartingLcn; LARGE_INTEGER BitmapSize; - BYTE Buffer[1]; + UCHAR Buffer[1]; } VOLUME_BITMAP_BUFFER, *PVOLUME_BITMAP_BUFFER; #if (VER_PRODUCTBUILD >= 2600)
19 years, 3 months
1
0
0
0
[hpoussin] 17317: Add STARTING_LCN_INPUT_BUFFER and VOLUME_BITMAP_BUFFER structures
by hpoussin@svn.reactos.com
Add STARTING_LCN_INPUT_BUFFER and VOLUME_BITMAP_BUFFER structures Remove #pragma pack/pop around RETRIEVAL_POINTERS_BUFFER as it should be standard-packed according to Alex. Modified: trunk/reactos/w32api/include/ddk/ntifs.h _____ Modified: trunk/reactos/w32api/include/ddk/ntifs.h --- trunk/reactos/w32api/include/ddk/ntifs.h 2005-08-11 21:09:56 UTC (rev 17316) +++ trunk/reactos/w32api/include/ddk/ntifs.h 2005-08-11 21:20:42 UTC (rev 17317) @@ -1308,7 +1308,6 @@ ULONG LengthAccepted; } QUERY_PATH_RESPONSE, *PQUERY_PATH_RESPONSE; -#pragma pack(push,8) typedef struct _RETRIEVAL_POINTERS_BUFFER { ULONG ExtentCount; LARGE_INTEGER StartingVcn; @@ -1317,7 +1316,6 @@ LARGE_INTEGER Lcn; } Extents[1]; } RETRIEVAL_POINTERS_BUFFER, *PRETRIEVAL_POINTERS_BUFFER; -#pragma pack(pop) typedef struct _RTL_SPLAY_LINKS { struct _RTL_SPLAY_LINKS *Parent; @@ -1383,6 +1381,11 @@ } SE_EXPORTS, *PSE_EXPORTS; +typedef struct +{ + LARGE_INTEGER StartingLcn; +} STARTING_LCN_INPUT_BUFFER, *PSTARTING_LCN_INPUT_BUFFER; + typedef struct _STARTING_VCN_INPUT_BUFFER { LARGE_INTEGER StartingVcn; } STARTING_VCN_INPUT_BUFFER, *PSTARTING_VCN_INPUT_BUFFER; @@ -1427,6 +1430,13 @@ LIST_ENTRY Secured; } VAD_HEADER, *PVAD_HEADER; +typedef struct +{ + LARGE_INTEGER StartingLcn; + LARGE_INTEGER BitmapSize; + BYTE Buffer[1]; +} VOLUME_BITMAP_BUFFER, *PVOLUME_BITMAP_BUFFER; + #if (VER_PRODUCTBUILD >= 2600) typedef BOOLEAN
19 years, 3 months
1
0
0
0
[gvg] 17316: Revert last Wine sync to pidl.c, since it breaks SHGetPathFromIDListW. Fixes
by gvg@svn.reactos.com
Revert last Wine sync to pidl.c, since it breaks SHGetPathFromIDListW. Fixes bug 697 Modified: trunk/reactos/lib/shell32/pidl.c _____ Modified: trunk/reactos/lib/shell32/pidl.c --- trunk/reactos/lib/shell32/pidl.c 2005-08-11 20:48:55 UTC (rev 17315) +++ trunk/reactos/lib/shell32/pidl.c 2005-08-11 21:09:56 UTC (rev 17316) @@ -1210,6 +1210,87 @@ } /*********************************************************************** ** + * SHELL_GetPathFromIDListA + */ +HRESULT SHELL_GetPathFromIDListA(LPCITEMIDLIST pidl, LPSTR pszPath, UINT uOutSize) +{ + HRESULT hr = S_OK; + + pszPath[0]=0; + + /* One case is a PIDL rooted at desktop level */ + if (_ILIsDesktop(pidl) || _ILIsValue(pidl) || _ILIsFolder(pidl)) + { + hr = SHGetSpecialFolderPathA(0, pszPath, CSIDL_DESKTOP, FALSE); + + if (SUCCEEDED(hr)) + PathAddBackslashA(pszPath); + } + /* The only other valid case is an item ID list beginning at "My Computer" */ + else if (_ILIsMyComputer(pidl)) + pidl = ILGetNext(pidl); + + if (SUCCEEDED(hr)) + { + LPSTR txt; + + while(pidl && pidl->mkid.cb) + { + if (_ILIsSpecialFolder(pidl)) + { + hr = E_INVALIDARG; + break; + } + + txt = _ILGetTextPointer(pidl); + if (!txt) + { + hr = E_INVALIDARG; + break; + } + + if (lstrlenA(txt) > pidl->mkid.cb) + ERR("pidl %p is borked\n",pidl); + + /* make sure there's enough space for the next segment */ + if ((lstrlenA(txt) + lstrlenA(pszPath)) > uOutSize) + { + hr = E_INVALIDARG; + break; + } + lstrcatA( pszPath, txt ); + + pidl = ILGetNext(pidl); + if (!pidl) + { + hr = E_INVALIDARG; + break; + } + + /* Are we at the end and successfully converted the complete PIDL? */ + if (!pidl->mkid.cb) + break; + + if ((lstrlenA(pszPath) + 1) > uOutSize) + { + hr = E_INVALIDARG; + break; + } + if (!PathAddBackslashA(pszPath)) + { + hr = E_INVALIDARG; + break; + } + } + } + else + hr = E_INVALIDARG; + + TRACE_(shell)("-- %s, 0x%08lx\n", pszPath, hr); + return hr; +} + +/********************************************************************** *** * SHGetPathFromIDListA [SHELL32.@][NT 4.0: SHELL32.220] * * PARAMETERS @@ -1226,26 +1307,108 @@ */ BOOL WINAPI SHGetPathFromIDListA(LPCITEMIDLIST pidl, LPSTR pszPath) { - WCHAR wszPath[MAX_PATH]; - BOOL bSuccess; + HRESULT hr; - bSuccess = SHGetPathFromIDListW(pidl, wszPath); - if (bSuccess) - WideCharToMultiByte(CP_ACP, 0, wszPath, -1, pszPath, MAX_PATH, NULL, NULL); + TRACE_(shell)("(pidl=%p,%p)\n",pidl,pszPath); + pdump(pidl); - return bSuccess; + if (!pidl) + return FALSE; + + hr = SHELL_GetPathFromIDListA(pidl, pszPath, MAX_PATH); + + return SUCCEEDED(hr); } /*********************************************************************** ** + * SHELL_GetPathFromIDListW + */ +HRESULT SHELL_GetPathFromIDListW(LPCITEMIDLIST pidl, LPWSTR pszPath, UINT uOutSize) +{ + HRESULT hr = S_OK; + UINT len; + + pszPath[0]=0; + + /* One case is a PIDL rooted at desktop level */ + if (_ILIsDesktop(pidl) ||_ILIsValue(pidl) || _ILIsFolder(pidl)) + { + hr = SHGetSpecialFolderPathW(0, pszPath, CSIDL_DESKTOP, FALSE); + + if (SUCCEEDED(hr)) + PathAddBackslashW(pszPath); + } + /* The only other valid case is an item ID list beginning at "My Computer" */ + else if (_ILIsMyComputer(pidl)) + pidl = ILGetNext(pidl); + + if (SUCCEEDED(hr)) + { + LPSTR txt; + + while(pidl && pidl->mkid.cb) + { + if (_ILIsSpecialFolder(pidl)) + { + hr = E_INVALIDARG; + break; + } + + txt = _ILGetTextPointer(pidl); + if (!txt) + { + hr = E_INVALIDARG; + break; + } + + if (lstrlenA(txt) > pidl->mkid.cb) + ERR("pidl %p is borked\n",pidl); + len = MultiByteToWideChar(CP_ACP, 0, txt, -1, NULL, 0); + if ( (lstrlenW(pszPath) + len) > uOutSize ) + { + hr = E_INVALIDARG; + break; + } + + MultiByteToWideChar(CP_ACP, 0, txt, -1, + &pszPath[lstrlenW(pszPath)], len); + + pidl = ILGetNext(pidl); + if (!pidl) + { + hr = E_INVALIDARG; + break; + } + + /* Are we at the end and successfully converted the complete PIDL? */ + if (!pidl->mkid.cb) + break; + + if ((lstrlenW(pszPath) + 1) > uOutSize ) + { + hr = E_INVALIDARG; + break; + } + if (!PathAddBackslashW(pszPath)) + { + hr = E_INVALIDARG; + break; + } + } + } + else + hr = E_INVALIDARG; + + TRACE_(shell)("-- %s, 0x%08lx\n", debugstr_w(pszPath), hr); + return hr; +} + +/********************************************************************** *** * SHGetPathFromIDListW [SHELL32.@] */ BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST pidl, LPWSTR pszPath) { HRESULT hr; - LPCITEMIDLIST pidlLast; - LPSHELLFOLDER psfFolder; - DWORD dwAttributes; - STRRET strret; TRACE_(shell)("(pidl=%p,%p)\n", pidl, debugstr_w(pszPath)); pdump(pidl); @@ -1253,19 +1416,8 @@ if (!pidl) return FALSE; - hr = SHBindToParent(pidl, &IID_IShellFolder, (VOID**)&psfFolder, &pidlLast); - if (FAILED(hr)) return FALSE; + hr = SHELL_GetPathFromIDListW(pidl, pszPath, MAX_PATH); - dwAttributes = SFGAO_FILESYSTEM; - hr = IShellFolder_GetAttributesOf(psfFolder, 1, &pidlLast, &dwAttributes); - if (FAILED(hr) || !(dwAttributes & SFGAO_FILESYSTEM)) return FALSE; - - hr = IShellFolder_GetDisplayNameOf(psfFolder, pidlLast, SHGDN_FORPARSING, &strret); - if (FAILED(hr)) return FALSE; - - hr = StrRetToBufW(&strret, pidlLast, pszPath, MAX_PATH); - IShellFolder_Release(psfFolder); - TRACE_(shell)("-- %s, 0x%08lx\n",debugstr_w(pszPath), hr); return SUCCEEDED(hr); }
19 years, 3 months
1
0
0
0
[hbirr] 17314: Replaced _WINBASE_ by _WINBASE_H because some headers depends on _WINBASE_H.
by hbirr@svn.reactos.com
Replaced _WINBASE_ by _WINBASE_H because some headers depends on _WINBASE_H. Modified: trunk/reactos/include/ndk/rtltypes.h Modified: trunk/reactos/w32api/include/winbase.h _____ Modified: trunk/reactos/include/ndk/rtltypes.h --- trunk/reactos/include/ndk/rtltypes.h 2005-08-11 20:45:41 UTC (rev 17313) +++ trunk/reactos/include/ndk/rtltypes.h 2005-08-11 20:48:55 UTC (rev 17314) @@ -399,7 +399,7 @@ } RTL_ATOM_TABLE, *PRTL_ATOM_TABLE; /* Let Kernel Drivers use this */ -#ifndef _WINBASE_ +#ifndef _WINBASE_H typedef struct _SYSTEMTIME { WORD wYear; _____ Modified: trunk/reactos/w32api/include/winbase.h --- trunk/reactos/w32api/include/winbase.h 2005-08-11 20:45:41 UTC (rev 17313) +++ trunk/reactos/w32api/include/winbase.h 2005-08-11 20:48:55 UTC (rev 17314) @@ -1,5 +1,5 @@ -#ifndef _WINBASE_ -#define _WINBASE_ +#ifndef _WINBASE_H +#define _WINBASE_H #if __GNUC__ >= 3 #pragma GCC system_header #endif
19 years, 3 months
1
0
0
0
[navaraf] 17315: Implement NdisAllocatePacketPool by calling NdisAllocatePacketPoolEx.
by navaraf@svn.reactos.com
Implement NdisAllocatePacketPool by calling NdisAllocatePacketPoolEx. Modified: trunk/reactos/drivers/net/ndis/ndis/buffer.c _____ Modified: trunk/reactos/drivers/net/ndis/ndis/buffer.c --- trunk/reactos/drivers/net/ndis/ndis/buffer.c 2005-08-11 20:48:55 UTC (rev 17314) +++ trunk/reactos/drivers/net/ndis/ndis/buffer.c 2005-08-11 20:48:55 UTC (rev 17315) @@ -514,40 +514,12 @@ * ProtocolReservedLength = Size of protocol reserved area in bytes */ { - PNDIS_PACKET_POOL Pool; - UINT Size, Length, i; - PNDIS_PACKET Packet, NextPacket; - - NDIS_DbgPrint(MAX_TRACE, ("Status (0x%X) PoolHandle (0x%X) " - "NumberOfDescriptors (%d) ProtocolReservedLength (%d).\n", - Status, PoolHandle, NumberOfDescriptors, ProtocolReservedLength)); - - Length = sizeof(NDIS_PACKET) + ProtocolReservedLength; - Size = sizeof(NDIS_PACKET_POOL) + Length * NumberOfDescriptors; - - Pool = ExAllocatePool(NonPagedPool, Size); - if (Pool) { - KeInitializeSpinLock(&Pool->SpinLock.SpinLock); - Pool->PacketLength = Length; - - if (NumberOfDescriptors > 0) { - Packet = (PNDIS_PACKET)&Pool->Buffer; - Pool->FreeList = Packet; - - NextPacket = (PNDIS_PACKET)((ULONG_PTR)Packet + Length); - for (i = 1; i < NumberOfDescriptors; i++) { - Packet->Private.Head = (PNDIS_BUFFER)NextPacket; - Packet = NextPacket; - NextPacket = (PNDIS_PACKET)((ULONG_PTR)Packet + Length); - } - Packet->Private.Head = NULL; - } else - Pool->FreeList = NULL; - - *Status = NDIS_STATUS_SUCCESS; - *PoolHandle = (PNDIS_HANDLE)Pool; - } else - *Status = NDIS_STATUS_RESOURCES; + NdisAllocatePacketPoolEx( + Status, + PoolHandle, + NumberOfDescriptors, + 0, + ProtocolReservedLength); }
19 years, 3 months
1
0
0
0
[ekohl] 17313: The RpcFinally block must always be executed. Otherwise, RPC code will leak allocated buffer memory.
by ekohl@svn.reactos.com
The RpcFinally block must always be executed. Otherwise, RPC code will leak allocated buffer memory. Modified: trunk/reactos/w32api/include/rpc.h _____ Modified: trunk/reactos/w32api/include/rpc.h --- trunk/reactos/w32api/include/rpc.h 2005-08-11 20:44:04 UTC (rev 17312) +++ trunk/reactos/w32api/include/rpc.h 2005-08-11 20:45:41 UTC (rev 17313) @@ -59,7 +59,7 @@ #define RpcExcept(x) } else { #define RpcEndExcept } #define RpcTryFinally if (1) { -#define RpcFinally } else { +#define RpcFinally } if (1) { #define RpcEndFinally } #define RpcExceptionCode() 0 #define RpcAbnormalTermination() AbnormalTermination()
19 years, 3 months
1
0
0
0
[hbirr] 17312: Moved the pragma to the correct position.
by hbirr@svn.reactos.com
Moved the pragma to the correct position. Modified: trunk/reactos/w32api/include/ddk/win2k.h _____ Modified: trunk/reactos/w32api/include/ddk/win2k.h --- trunk/reactos/w32api/include/ddk/win2k.h 2005-08-11 20:43:24 UTC (rev 17311) +++ trunk/reactos/w32api/include/ddk/win2k.h 2005-08-11 20:44:04 UTC (rev 17312) @@ -50,6 +50,8 @@ MaximumBusDataType } BUS_DATA_TYPE, *PBUS_DATA_TYPE; +#pragma pack(pop) + NTOSAPI VOID DDKAPI @@ -95,8 +97,6 @@ ((Mdl)->MappedSystemVa) : \ (MmMapLockedPages((Mdl), KernelMode))) -#pragma pack(pop) - #ifdef __cplusplus } #endif
19 years, 3 months
1
0
0
0
[ea] 17311: A more likely demo VMS server (it should not block, because it is chain-called from the listenig thread in csrsrv.dll.
by ea@svn.reactos.com
A more likely demo VMS server (it should not block, because it is chain-called from the listenig thread in csrsrv.dll. Modified: trunk/vms/server/server.c _____ Modified: trunk/vms/server/server.c --- trunk/vms/server/server.c 2005-08-11 20:41:20 UTC (rev 17310) +++ trunk/vms/server/server.c 2005-08-11 20:43:24 UTC (rev 17311) @@ -37,30 +37,21 @@ VOID STDCALL VmsStaticServerThread (PVOID x) { NTSTATUS Status = STATUS_SUCCESS; - LPC_MAX_MESSAGE Request; + PPORT_MESSAGE Request = (PPORT_MESSAGE) x; PPORT_MESSAGE Reply = NULL; ULONG MessageType = 0; - while (TRUE) + DPRINT("VMSSRV: %s called\n", __FUNCTION__); + + MessageType = Request->u2.s2.Type; + DPRINT("VMSSRV: %s received a message (Type=%d)\n", + __FUNCTION__, MessageType); + switch (MessageType) { - Status = NtReplyWaitReceivePort (VmsApiPort, - 0, - Reply, - (PPORT_MESSAGE) & Request); - if(NT_SUCCESS(Status)) - { - MessageType = Request.Header.u2.s2.Type; - DPRINT("VMS: %s received a message (Type=%d)\n", - __FUNCTION__, MessageType); - switch(MessageType) - { - default: - continue; - } - }else{ - DPRINT("VMS: %s: NtReplyWaitReceivePort failed (Status=%08lx)\n", - __FUNCTION__, Status); - } + default: + Reply = Request; + Status = NtReplyPort (VmsApiPort, Reply); + break; } } @@ -71,7 +62,23 @@ NTSTATUS STDCALL ServerDllInitialization (ULONG ArgumentCount, LPWSTR *Argument) { - return CsrAddStaticServerThread (VmsStaticServerThread); + NTSTATUS Status = STATUS_SUCCESS; + + DPRINT("VMSSRV: %s called\n", __FUNCTION__); + + // Get the listening port from csrsrv.dll + VmsApiPort = CsrQueryApiPort (); + if (NULL == VmsApiPort) + { + return STATUS_UNSUCCESSFUL; + } + // Register our message dispatcher + Status = CsrAddStaticServerThread (VmsStaticServerThread); + if (NT_SUCCESS(Status)) + { + //TODO: perform the real VMS server internal initialization here + } + return Status; } /* EOF */
19 years, 3 months
1
0
0
0
[hbirr] 17310: Use GetLocalTime instead of GetSystemTime.
by hbirr@svn.reactos.com
Use GetLocalTime instead of GetSystemTime. Modified: trunk/reactos/subsys/system/cmd/locale.c _____ Modified: trunk/reactos/subsys/system/cmd/locale.c --- trunk/reactos/subsys/system/cmd/locale.c 2005-08-11 20:39:28 UTC (rev 17309) +++ trunk/reactos/subsys/system/cmd/locale.c 2005-08-11 20:41:20 UTC (rev 17310) @@ -71,8 +71,8 @@ VOID PrintTime (VOID) { TCHAR szMsg[RC_STRING_MAX_SIZE]; - SYSTEMTIME t; - GetSystemTime(&t); + SYSTEMTIME t; + GetLocalTime(&t); LoadString(CMD_ModuleHandle, STRING_LOCALE_HELP1, szMsg, RC_STRING_MAX_SIZE); ConOutPrintf(_T("%s: %02d%c%02d%c%02d%c%02d\n"), szMsg, t.wHour, cTimeSeparator,
19 years, 3 months
1
0
0
0
[hbirr] 17309: Don't query on batch files.
by hbirr@svn.reactos.com
Don't query on batch files. Modified: trunk/reactos/subsys/system/cmd/copy.c _____ Modified: trunk/reactos/subsys/system/cmd/copy.c --- trunk/reactos/subsys/system/cmd/copy.c 2005-08-11 20:37:09 UTC (rev 17308) +++ trunk/reactos/subsys/system/cmd/copy.c 2005-08-11 20:39:28 UTC (rev 17309) @@ -537,6 +537,13 @@ } } + /* keep quiet within batch files */ + if (bc != NULL) + { + dwFlags |= COPY_NO_PROMPT; + dwFlags &= ~COPY_PROMPT; + } + if(nFiles < 1) { /* There is not enough files, there has to be at least 1 */
19 years, 3 months
1
0
0
0
← Newer
1
...
26
27
28
29
30
31
32
...
67
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Results per page:
10
25
50
100
200