Eric Kohl [Wed, 7 Sep 2011 20:11:19 +0000 (20:11 +0000)]
[RPCTR4]
- Take NetworkAddr into account when a named pipe client is opened.
- Return RPC_S_SERVER_UNAVAILABLE when an attempt to create a named pipe client fails with an ERROR_BAD_NETPATH error.
This fixes the first test failure in the advapi32 service winetest.
svn path=/trunk/; revision=53630
Timo Kreuzer [Wed, 7 Sep 2011 18:39:20 +0000 (18:39 +0000)]
[HAL_XBOX]
Fix build
svn path=/trunk/; revision=53627
Timo Kreuzer [Wed, 7 Sep 2011 18:30:38 +0000 (18:30 +0000)]
[HAL]
Fix buld. I swear it worked here!
svn path=/trunk/; revision=53626
Timo Kreuzer [Wed, 7 Sep 2011 18:25:43 +0000 (18:25 +0000)]
[HAL]
- give apic hal its own halinit_apic
- give minihal an own halinit_mini.c containing function stubs
- move HalInitializeProcessor to halinit.c and add hal specific function HalpInitProcessor
- get rid of all the #ifndef _MINIHAL_ in halinit.c and move the file to lib_hal_generic
- improve the hal version/build check
- Update spec file for amd64
svn path=/trunk/; revision=53625
Giannis Adamopoulos [Wed, 7 Sep 2011 14:05:58 +0000 (14:05 +0000)]
[user32_apitest]
- Add a test case for SetActiveWindow that shows its behavior related to owner windows. It should point the bug observed in bug 1239
svn path=/trunk/; revision=53621
Timo Kreuzer [Wed, 7 Sep 2011 13:58:34 +0000 (13:58 +0000)]
[NTOSKRNL]
Move the internal headers below the redefinition of types, because gcc instantiates inline function where they are defined, using the original types. Fixes build.
svn path=/trunk/; revision=53620
Timo Kreuzer [Wed, 7 Sep 2011 13:45:06 +0000 (13:45 +0000)]
[NTOSKRNL]
Forgot this file, sorry
svn path=/trunk/; revision=53619
Timo Kreuzer [Wed, 7 Sep 2011 13:43:54 +0000 (13:43 +0000)]
[NTOSKRNL]
Make KeNumberProcessors internally an UCHAR and move it into krnlinit.c instead of having it once per architecture. Fixes a bunch of MSVC warnings.
svn path=/trunk/; revision=53618
Timo Kreuzer [Wed, 7 Sep 2011 12:00:29 +0000 (12:00 +0000)]
[HAL]
- move v86 code out of trap.S into v86.S (APIC uses a different trap entry file), compile it directly in the dll instead of a lib to be able to silence linker warnings
- Group files in HAL_PIC_SOURCE and HAL_APIC_SOURCE, you just need to replace PIC with APIC to build the hal with APIC support (we can later use it to build the other hals: halapic, halaacpi, halmacpi, halmps)
- use apic on amd64 builds
- give halacpi its own resource file
- silence MSVC linker warnings
svn path=/trunk/; revision=53616
Timo Kreuzer [Wed, 7 Sep 2011 10:14:48 +0000 (10:14 +0000)]
[HAL]
Rename HalpAcquireSystemHardwareSpinLock to HalpAcquireCmosSpinLock
svn path=/trunk/; revision=53615
Rafal Harabien [Wed, 7 Sep 2011 09:51:13 +0000 (09:51 +0000)]
[MKHIVE]
- Fix max key name length, max value name length, max value data length properties of registry key not being set correctly
- Fixes #6042 - regedit on LiveCD shows keys and values now
svn path=/trunk/; revision=53614
Timo Kreuzer [Tue, 6 Sep 2011 21:01:49 +0000 (21:01 +0000)]
[HAL]
Start implementing APIC support, which is needed for both SMP and x64. It will use the local APIC + I/O APIC for interrupt control, the RTC instead of the PIT for the timer interrupt (PIT doesn't always work with I/O APIC), the APIC timer for profiling and finally the TSC for the performance counter and KeStallExecutionProcessor.
The code is incomplete and doesn't work yet
svn path=/trunk/; revision=53611
Eric Kohl [Tue, 6 Sep 2011 19:17:54 +0000 (19:17 +0000)]
[MUP]
- Any attempt to open or create a file on a remote machine will return STATUS_BAD_NETWORK_PATH. This means the server is not available. Trying to create \\testserver\testshare\testdir\test.txt fails just like on Windows XP.
- Add service key and values for the MUP driver. Add the driver to the File System group because adding it to the Network group, like on Windows XP, does not load the driver.
svn path=/trunk/; revision=53609
Jérôme Gardou [Tue, 6 Sep 2011 17:31:25 +0000 (17:31 +0000)]
[CMAKE]
- get rid of set_entrypoint usage for "win32" dlls
svn path=/trunk/; revision=53608
Timo Kreuzer [Mon, 5 Sep 2011 22:18:56 +0000 (22:18 +0000)]
[RTL]
Add FPO information to some asm functions
svn path=/trunk/; revision=53607
Jérôme Gardou [Mon, 5 Sep 2011 19:36:07 +0000 (19:36 +0000)]
[RBUILD]
- qmgrprxy.dll has an entrypoint
svn path=/trunk/; revision=53606
Jérôme Gardou [Mon, 5 Sep 2011 19:22:44 +0000 (19:22 +0000)]
[MSVCRT]
- comment out _vswprintf export until I get more time to fix this properly
svn path=/trunk/; revision=53605
Jérôme Gardou [Mon, 5 Sep 2011 19:08:11 +0000 (19:08 +0000)]
[MSVCRT]
- some fixes to spec file, based on a wine patch by Piotr Caban
svn path=/trunk/; revision=53604
Dmitry Gorbachev [Mon, 5 Sep 2011 15:37:35 +0000 (15:37 +0000)]
[RSYM]
.stab/.stabstr sections have no IMAGE_SCN_LNK_REMOVE flag now.
svn path=/trunk/; revision=53603
Dmitry Gorbachev [Mon, 5 Sep 2011 15:36:33 +0000 (15:36 +0000)]
[FAT32]
Move the FAT sector buffer higher for RBuild builds, too.
svn path=/trunk/; revision=53602
Timo Kreuzer [Mon, 5 Sep 2011 15:28:49 +0000 (15:28 +0000)]
Fix build
svn path=/trunk/; revision=53601
Timo Kreuzer [Mon, 5 Sep 2011 15:20:07 +0000 (15:20 +0000)]
[HAL]
- Use functions instead of macros for irq<->vector<->irql translation, this will be neccessary, once apic support is there
- Disable mp hal in rbuild for now, its broken anyway
svn path=/trunk/; revision=53600
Aleksey Bragin [Mon, 5 Sep 2011 15:05:56 +0000 (15:05 +0000)]
[NTOS]
- Fix IoCheckEaBufferValidity (IntEaLength must be signed, otherwise loop exiting condition may not trigger).
- SEH-protect ObQueryNameString (by Dmitry Chapyshev's request).
svn path=/trunk/; revision=53599
Aleksey Bragin [Mon, 5 Sep 2011 14:27:48 +0000 (14:27 +0000)]
[NTOS/EX]
- Remove redundant check for a previous mode. Spotted by PVS.
svn path=/trunk/; revision=53598
Sylvain Petreolle [Mon, 5 Sep 2011 12:41:18 +0000 (12:41 +0000)]
[CMAKE]
Don't assume CMAKE_SHARED_LIBRARY_ASM_FLAGS exists.
svn path=/trunk/; revision=53597
Aleksey Bragin [Mon, 5 Sep 2011 09:54:20 +0000 (09:54 +0000)]
[NTOS/CONFIG]
- Remove unnecessary assignments. Spotted by PVS and Dmitry Chapyshev. This may change the behaviour of that codepath, so test results are going to be observed.
svn path=/trunk/; revision=53596
James Tabor [Sun, 4 Sep 2011 21:54:57 +0000 (21:54 +0000)]
[User32]
- Fixed over check conditions for deleting regions in set window region.
- Disabled offsets with window region. Fixes wine tests..
svn path=/trunk/; revision=53595
Amine Khaldi [Sun, 4 Sep 2011 21:52:37 +0000 (21:52 +0000)]
[CMAKE]
* Properly use add_target_compile_flags.
svn path=/trunk/; revision=53594
Jérôme Gardou [Sun, 4 Sep 2011 21:08:29 +0000 (21:08 +0000)]
[BUSLOGIC]
- woops, revert some accident of 53591
svn path=/trunk/; revision=53593
Jérôme Gardou [Sun, 4 Sep 2011 21:06:02 +0000 (21:06 +0000)]
[CMAKE]
- fix msvc build
svn path=/trunk/; revision=53592
Jérôme Gardou [Sun, 4 Sep 2011 21:04:26 +0000 (21:04 +0000)]
[BUSLOGIC]
- get rid of unused variable
svn path=/trunk/; revision=53591
Jérôme Gardou [Sun, 4 Sep 2011 20:51:52 +0000 (20:51 +0000)]
[ATAPI]
- get rid of unused variable
svn path=/trunk/; revision=53590
Jérôme Gardou [Sun, 4 Sep 2011 20:32:19 +0000 (20:32 +0000)]
[PCMCIA]
- remove #pragma once from pch
svn path=/trunk/; revision=53589
Jérôme Gardou [Sun, 4 Sep 2011 20:27:48 +0000 (20:27 +0000)]
[CMAKE/CRT]
- disable pch for now
svn path=/trunk/; revision=53588
Jérôme Gardou [Sun, 4 Sep 2011 18:41:04 +0000 (18:41 +0000)]
[CMAKE]
- revert unwanted change from 53567
svn path=/trunk/; revision=53587
Jérôme Gardou [Sun, 4 Sep 2011 17:33:34 +0000 (17:33 +0000)]
[CMAKE]
- rostests side of r53585
svn path=/trunk/; revision=53586
Jérôme Gardou [Sun, 4 Sep 2011 17:32:30 +0000 (17:32 +0000)]
[CMAKE]
- enable -Werror by default on gcc build
svn path=/trunk/; revision=53585
Jérôme Gardou [Sun, 4 Sep 2011 17:31:12 +0000 (17:31 +0000)]
[CMAKE/KDBG]
- fix warning
svn path=/trunk/; revision=53584
Jérôme Gardou [Sun, 4 Sep 2011 15:58:48 +0000 (15:58 +0000)]
[WIN32K]
- Avoid invalid memory write.
See issue #5969 for more details.
svn path=/trunk/; revision=53583
Jérôme Gardou [Sun, 4 Sep 2011 15:37:42 +0000 (15:37 +0000)]
[RPCRT4]
- remove ros hack, obsoleted by r53580 and r53581
svn path=/trunk/; revision=53582
Jérôme Gardou [Sun, 4 Sep 2011 15:29:15 +0000 (15:29 +0000)]
[STI]
- we have an entry point.
svn path=/trunk/; revision=53581
Jérôme Gardou [Sun, 4 Sep 2011 15:19:10 +0000 (15:19 +0000)]
[ACTCXPRXY]
- we have an entry point, provided by rpc proxy data
svn path=/trunk/; revision=53580
Eric Kohl [Sun, 4 Sep 2011 14:42:08 +0000 (14:42 +0000)]
[SERVICES]
RStartServiceA: Convert the ANSI start arguments vector to a UNICODE vector and pass it to ScmStartService. Calls to StartServiceA can now be used to pass arguments to a starting service.
svn path=/trunk/; revision=53579
Jérôme Gardou [Sun, 4 Sep 2011 14:09:14 +0000 (14:09 +0000)]
[PSDK]
- put NOGDI guard at the right place...
svn path=/trunk/; revision=53578
Jérôme Gardou [Sun, 4 Sep 2011 13:09:16 +0000 (13:09 +0000)]
[WINETESTS/WININET]
- fix warnings
svn path=/trunk/; revision=53577
Jérôme Gardou [Sun, 4 Sep 2011 13:01:38 +0000 (13:01 +0000)]
[WINETESTS/URLMON]
- fix warnings
svn path=/trunk/; revision=53576
Sylvain Petreolle [Sun, 4 Sep 2011 12:26:49 +0000 (12:26 +0000)]
[WINETESTS]
Allow to run skipped test in interactive mode.
svn path=/trunk/; revision=53575
Jérôme Gardou [Sun, 4 Sep 2011 12:08:54 +0000 (12:08 +0000)]
[PSDK]
- fix compilation for any fool wanting to use our headers outside of NT 5.2 scope
svn path=/trunk/; revision=53573
Eric Kohl [Sun, 4 Sep 2011 12:01:27 +0000 (12:01 +0000)]
[ADVAPI32]
Pass service start arguments to ANSI services too. Clean up the service start code.
svn path=/trunk/; revision=53572
Jérôme Gardou [Sun, 4 Sep 2011 11:31:17 +0000 (11:31 +0000)]
[WINETESTS/GDI32]
- fix warnings
svn path=/trunk/; revision=53571
Amine Khaldi [Sun, 4 Sep 2011 00:52:28 +0000 (00:52 +0000)]
[CMAKE/DLLS]
* Set some imports as delay-loaded.
svn path=/trunk/; revision=53570
Jérôme Gardou [Sun, 4 Sep 2011 00:31:13 +0000 (00:31 +0000)]
[LWIP]
- fix warning in ros glue code
svn path=/trunk/; revision=53569
Jérôme Gardou [Sat, 3 Sep 2011 23:56:04 +0000 (23:56 +0000)]
[ROSSYM_NEW]
- fix some warnings
- fix function prototype. This might fix usermode stack logs
svn path=/trunk/; revision=53568
Jérôme Gardou [Sat, 3 Sep 2011 23:05:09 +0000 (23:05 +0000)]
[CMAKE]
- add flags to ASM as well instead of hacking the compile rule
- remove -fPIC flag from ASM compile flags, (it's a cmake bug)
- enable languages before including compiler specific files.
svn path=/trunk/; revision=53567
Aleksey Bragin [Sat, 3 Sep 2011 22:21:56 +0000 (22:21 +0000)]
[NTOS]
- Remove unnecessary duplicated if condition.
- Fix a typo.
svn path=/trunk/; revision=53566
Eric Kohl [Sat, 3 Sep 2011 19:47:56 +0000 (19:47 +0000)]
[SERVICES/ADVAPI32]
Pass the service start argument vector to the started service main function. ANSI services are not supported yet.
svn path=/trunk/; revision=53564
Thomas Faber [Sat, 3 Sep 2011 19:44:07 +0000 (19:44 +0000)]
[NTDLL_APITEST]
- Fix warnings and failure messages
svn path=/trunk/; revision=53563
Jérôme Gardou [Sat, 3 Sep 2011 19:25:54 +0000 (19:25 +0000)]
[CMAKE]
- go RTFM, you moron
svn path=/trunk/; revision=53561
Jérôme Gardou [Sat, 3 Sep 2011 19:19:57 +0000 (19:19 +0000)]
[ROSTESTS]
- rostests side of r53559
- remove some definitions instead of just staring at the compiler emitting warnings
svn path=/trunk/; revision=53560
Jérôme Gardou [Sat, 3 Sep 2011 19:11:44 +0000 (19:11 +0000)]
[CMAKE]
- get rid of set_unicode macro.
- Add an option to set_module_type to do the work instead
- Improve debug output
svn path=/trunk/; revision=53559
Thomas Faber [Sat, 3 Sep 2011 18:59:14 +0000 (18:59 +0000)]
[CMAKE]
- Replace add_linkerflag and add_compiler_flags with their new equivalents add_target_link_flags/add_compile_flags
- Remove those now obsolete macros
- Use the new set_module_type to get rid of evil hacks for drivers without entry point (wmilib, drmk)
svn path=/trunk/; revision=53558
Jérôme Gardou [Sat, 3 Sep 2011 18:26:19 +0000 (18:26 +0000)]
[CMAKE]
- use the new options of set_module_type for a few modules
svn path=/trunk/; revision=53557
Jérôme Gardou [Sat, 3 Sep 2011 18:24:38 +0000 (18:24 +0000)]
[CMAKE]
- handle '0' entry point in set_module_type_function
svn path=/trunk/; revision=53556
Jérôme Gardou [Sat, 3 Sep 2011 18:16:15 +0000 (18:16 +0000)]
[CMAKE]
- remove add_compiler_flags_target function, Thomas was faster than me, and did something nicer
svn path=/trunk/; revision=53555
Giannis Adamopoulos [Sat, 3 Sep 2011 17:53:14 +0000 (17:53 +0000)]
[win32k]
- SetWindowPos should send WM_MOUSEMOVE only when the window under the cursor changes
- Fixes moving winamp window
svn path=/trunk/; revision=53554
Jérôme Gardou [Sat, 3 Sep 2011 17:48:57 +0000 (17:48 +0000)]
[CMAKE]
- merge set_module_type function into the global CMakeMacros.cmake file, leaving compiler particular bits to set_module_type_toolchain function.
- Add the ENTRYPOINT and BASEADDRESS options to this function. Not used yet
svn path=/trunk/; revision=53553
Amine Khaldi [Sat, 3 Sep 2011 17:35:54 +0000 (17:35 +0000)]
[RPCRT4_WINETEST]
* Fix msvc build.
svn path=/trunk/; revision=53552
Jérôme Gardou [Sat, 3 Sep 2011 16:44:49 +0000 (16:44 +0000)]
- revert r53547, although setting explicitly something which is default isn't a "wrong change" per se.
svn path=/trunk/; revision=53551
Rafal Harabien [Sat, 3 Sep 2011 16:33:55 +0000 (16:33 +0000)]
[FREELDR]
- Try to fix release build
- Remove unused function
svn path=/trunk/; revision=53550
Rafal Harabien [Sat, 3 Sep 2011 16:27:11 +0000 (16:27 +0000)]
[FREELDR]
- Fix release build
svn path=/trunk/; revision=53549
Giannis Adamopoulos [Sat, 3 Sep 2011 16:22:32 +0000 (16:22 +0000)]
[win32k]
- merge r53215 and r53221 from themes branch
- Fixes drawing apps that use SetWindowRgn and also fixes a gdi object leak
See issue #1239 for more details.
svn path=/trunk/; revision=53548
Jérôme Gardou [Sat, 3 Sep 2011 16:09:34 +0000 (16:09 +0000)]
[VGA_NEW]
- fix some warnings
svn path=/trunk/; revision=53547
Thomas Faber [Sat, 3 Sep 2011 14:57:27 +0000 (14:57 +0000)]
[CMAKE]
- Add add_target_property macro and add wrapper macros to easily set important properties
- This makes macros more consistent, follows CMake property names, favors per-target instead of per-directory property settings and favors adding to properties instead of replacing them
- Convert the global settings to use the new add_compile_flags and add_target_link_flags - no functional change
- Fix add_importlibs to add to compile definitions instead of replacing them
- Big thanks to Amine
svn path=/trunk/; revision=53545
Olaf Siejka [Sat, 3 Sep 2011 14:37:34 +0000 (14:37 +0000)]
[TRANSLATION]
- base/application UTF-8 conversion patch by Elton Chung;
- minor corrections by me;
See issue #6333 for more details.
svn path=/trunk/; revision=53544
Rafal Harabien [Sat, 3 Sep 2011 10:56:36 +0000 (10:56 +0000)]
[FREELDR]
- Introduce WINE-like debug macros ERR, FIXME, WARN and TRACE
- Always show ERR and FIXME information
- WARN and TRACE are enabled by DebugPrintMask in debug.c as before
- Thanks to new macros find bug in CMake livecd creation and fix it
svn path=/trunk/; revision=53542
Dmitry Chapyshev [Sat, 3 Sep 2011 04:55:54 +0000 (04:55 +0000)]
- Remove unneeded ";"
svn path=/trunk/; revision=53540
Olaf Siejka [Sat, 3 Sep 2011 01:09:42 +0000 (01:09 +0000)]
[TRANSLATION]
- Romanian syssetup and usetup translation by Stefan Fulea <fulea.stefan> at <gmail.com>;
- Fix ipconfig build under MSVC, use "" instead of \" as escape character;
svn path=/trunk/; revision=53539
Timo Kreuzer [Fri, 2 Sep 2011 22:07:28 +0000 (22:07 +0000)]
[HAL]
Fix a dependency issue
svn path=/trunk/; revision=53536
Aleksey Bragin [Fri, 2 Sep 2011 21:22:30 +0000 (21:22 +0000)]
- Fix a totally broken case when a directory has no name in ObQueryNameString. Spotted by Coverity.
svn path=/trunk/; revision=53535
Aleksey Bragin [Fri, 2 Sep 2011 19:25:49 +0000 (19:25 +0000)]
- Remove unnecessary assignment.
svn path=/trunk/; revision=53532
Amine Khaldi [Fri, 2 Sep 2011 15:47:51 +0000 (15:47 +0000)]
* Fix CMake build. Our current PCH handling doesn't allow this.
svn path=/trunk/; revision=53531
Amine Khaldi [Fri, 2 Sep 2011 15:13:29 +0000 (15:13 +0000)]
* Fix rbuild build.
svn path=/trunk/; revision=53530
Timo Kreuzer [Fri, 2 Sep 2011 14:45:19 +0000 (14:45 +0000)]
[HAL]
- Flatten the directory structure
- use static libraries in cmake builds as well to save build time
svn path=/trunk/; revision=53529
Amine Khaldi [Fri, 2 Sep 2011 10:17:30 +0000 (10:17 +0000)]
[WIN32K]
* Missed this one.
svn path=/trunk/; revision=53528
Amine Khaldi [Fri, 2 Sep 2011 09:23:20 +0000 (09:23 +0000)]
[WIN32K]
* Remove some useless asserts considering cLockObj is DWORD.
svn path=/trunk/; revision=53527
Timo Kreuzer [Thu, 1 Sep 2011 19:01:19 +0000 (19:01 +0000)]
[FREELDR]
- Move cleaning the shared user data to after WinLdrSetProcessorContext, as we need the new page tables to be active
- Fix indentation/coding style in registry.c
- Fix a few 64 bit warnings
- delete <arch>/ntsetup.c and rename <arch>/wlmemory.c to <arch>/winldr.c
svn path=/trunk/; revision=53526
Timo Kreuzer [Thu, 1 Sep 2011 18:55:12 +0000 (18:55 +0000)]
[NTOSKRNL]
Fix condition check for informing the debugger in NtMapViewOfSection
Found by Amine Khaldi
svn path=/trunk/; revision=53525
Timo Kreuzer [Thu, 1 Sep 2011 18:32:13 +0000 (18:32 +0000)]
[HAL]
Don't use enums as bitfields. MSVC doesn't handle it the way gcc does. Fixes clock initialization on MSVC builds. You would wonder how the MSVC build even worked without a clock interrupt :D
svn path=/trunk/; revision=53524
Amine Khaldi [Thu, 1 Sep 2011 17:36:34 +0000 (17:36 +0000)]
[USER32]
* Attempt to fix the relocation issue in the rbuild build.
svn path=/trunk/; revision=53523
Thomas Faber [Thu, 1 Sep 2011 16:58:20 +0000 (16:58 +0000)]
[RTL][NETSHELL]
- Fix the remaining issues from preceding commits
svn path=/trunk/; revision=53522
Dmitry Chapyshev [Thu, 1 Sep 2011 16:27:20 +0000 (16:27 +0000)]
- Partly revert r53519. Fix build
svn path=/trunk/; revision=53521
Dmitry Chapyshev [Thu, 1 Sep 2011 16:02:16 +0000 (16:02 +0000)]
- Partly revert r53519
svn path=/trunk/; revision=53520
Dmitry Chapyshev [Thu, 1 Sep 2011 15:30:19 +0000 (15:30 +0000)]
- Fix multiple typos and bugs, found by PVS-Studio
svn path=/trunk/; revision=53519
Dmitry Chapyshev [Thu, 1 Sep 2011 15:13:59 +0000 (15:13 +0000)]
- Fix build
- Fix wrong memory copying, found by PVS-Studio
svn path=/trunk/; revision=53518
Dmitry Chapyshev [Thu, 1 Sep 2011 14:57:21 +0000 (14:57 +0000)]
- Try to fix build
svn path=/trunk/; revision=53517
Dmitry Chapyshev [Thu, 1 Sep 2011 13:18:22 +0000 (13:18 +0000)]
- Fix typos, found by PVS-Studio
svn path=/trunk/; revision=53516
Dmitry Chapyshev [Thu, 1 Sep 2011 12:41:50 +0000 (12:41 +0000)]
- Fix typo, found by PVS-Studio
svn path=/trunk/; revision=53515
Dmitry Chapyshev [Thu, 1 Sep 2011 12:38:56 +0000 (12:38 +0000)]
- Fix wrong macros usage, found by PVS-Studio
svn path=/trunk/; revision=53514
Dmitry Chapyshev [Thu, 1 Sep 2011 12:34:51 +0000 (12:34 +0000)]
- Fix wrong macros usage, found by PVS-Studio
svn path=/trunk/; revision=53513
Dmitry Chapyshev [Thu, 1 Sep 2011 12:25:52 +0000 (12:25 +0000)]
- Fix a bug, found by PVS-Studio
svn path=/trunk/; revision=53512