Author: tfaber
Date: Sun Jan 6 11:37:11 2013
New Revision: 58126
URL: http://svn.reactos.org/svn/reactos?rev=58126&view=rev
Log:
[TIMEDATE]
- Correctly show current time zone name even if no daylight saving settings are set. Patch by Lee Schroeder.
CORE-6803 #resolve #comment Fixed, thanks. Sorry for the long wait.
Modified:
trunk/reactos/dll/cpl/timedate/dateandtime.c
Modified: trunk/reactos/dll/cpl/timedate/dateandtime.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/timedate/dateandti…
==============================================================================
--- trunk/reactos/dll/cpl/timedate/dateandtime.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/timedate/dateandtime.c [iso-8859-1] Sun Jan 6 11:37:11 2013
@@ -123,15 +123,12 @@
switch (TimeZoneId)
{
case TIME_ZONE_ID_STANDARD:
+ case TIME_ZONE_ID_UNKNOWN:
wcscpy(TimeZoneName, TimeZoneInfo.StandardName);
break;
case TIME_ZONE_ID_DAYLIGHT:
wcscpy(TimeZoneName, TimeZoneInfo.DaylightName);
- break;
-
- case TIME_ZONE_ID_UNKNOWN:
- LoadStringW(hApplet, IDS_TIMEZONEUNKNOWN, TimeZoneName, 128);
break;
case TIME_ZONE_ID_INVALID:
Author: hbelusca
Date: Sun Jan 6 00:05:09 2013
New Revision: 58121
URL: http://svn.reactos.org/svn/reactos?rev=58121&view=rev
Log:
[CSRSRV]
Check for NULL parameter in the function CsrLocateThreadByClientId. Triggered when it was called by CsrApiHandleConnectionRequest during tests (the call to CsrLocateThreadByClientId happens in line 146 of api.c).
Modified:
branches/ros-csrss/subsystems/win32/csrsrv/thredsup.c
Modified: branches/ros-csrss/subsystems/win32/csrsrv/thredsup.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-csrss/subsystems/win32/csrs…
==============================================================================
--- branches/ros-csrss/subsystems/win32/csrsrv/thredsup.c [iso-8859-1] (original)
+++ branches/ros-csrss/subsystems/win32/csrsrv/thredsup.c [iso-8859-1] Sun Jan 6 00:05:09 2013
@@ -188,6 +188,8 @@
PCSR_THREAD FoundThread;
// ASSERT(ProcessStructureListLocked());
+ if (Process) *Process = NULL;
+
/* Hash the Thread */
i = CsrHashThread(ClientId->UniqueThread);
@@ -210,7 +212,7 @@
FoundThread->ClientId.UniqueThread == ClientId->UniqueThread )
{
/* Match found, return the process */
- *Process = FoundThread->Process;
+ if (Process) *Process = FoundThread->Process;
/* Return thread too */
// DPRINT1("Found: %p %p\n", FoundThread, FoundThread->Process);