Pierre Schweitzer [Wed, 8 Oct 2014 19:32:21 +0000 (19:32 +0000)]
[NTFS]
- Add a directory entry into FCB which will be a copy of the $FILE_NAME attribute of the FILE record. Though, it won't contain the name itself (in the FCB instead), so keep first char NULL and length 0.
- Implement its support (which requires opening the FILE record 5 first) for root FCB creation.
svn path=/trunk/; revision=64617
Amine Khaldi [Wed, 8 Oct 2014 19:32:14 +0000 (19:32 +0000)]
[WINDOWSCODECS_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64616
Amine Khaldi [Wed, 8 Oct 2014 19:30:33 +0000 (19:30 +0000)]
[WINDOWSCODECS]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64615
Pierre Schweitzer [Wed, 8 Oct 2014 19:25:00 +0000 (19:25 +0000)]
[NTFS]
ReadFileRecord() returns a NTSTATUS
svn path=/trunk/; revision=64614
Amine Khaldi [Wed, 8 Oct 2014 19:19:01 +0000 (19:19 +0000)]
[PSDK]
* Update iads.idl.
CORE-8540
svn path=/trunk/; revision=64613
Amine Khaldi [Wed, 8 Oct 2014 19:18:00 +0000 (19:18 +0000)]
[WBEMPROX_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64612
Amine Khaldi [Wed, 8 Oct 2014 19:17:38 +0000 (19:17 +0000)]
[WBEMPROX]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64611
Pierre Schweitzer [Wed, 8 Oct 2014 19:12:48 +0000 (19:12 +0000)]
[NTFS]
- Remove magic value usage in NtfsDumpFileAttributes()
- Implement GetFileNameFromRecord() which returns the $FILE_NAME attribute from a FILE record
- On record lookup, also return the MFT index of the found record
- Finally implement NtfsMakeFCBFromDirEntry() which allows creating a FCB from a dir entry. It is still incomplete though, it doesn't copy any data yet from the entry
svn path=/trunk/; revision=64610
Amine Khaldi [Wed, 8 Oct 2014 19:03:40 +0000 (19:03 +0000)]
[VBSCRIPT_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64609
Amine Khaldi [Wed, 8 Oct 2014 19:03:07 +0000 (19:03 +0000)]
[VBSCRIPT]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64608
Amine Khaldi [Wed, 8 Oct 2014 18:56:31 +0000 (18:56 +0000)]
[USP10_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64607
Amine Khaldi [Wed, 8 Oct 2014 18:56:19 +0000 (18:56 +0000)]
[USP10]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64606
Amine Khaldi [Wed, 8 Oct 2014 18:47:38 +0000 (18:47 +0000)]
[STI_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64605
Amine Khaldi [Wed, 8 Oct 2014 18:42:31 +0000 (18:42 +0000)]
[SHDOCVW_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64604
Amine Khaldi [Wed, 8 Oct 2014 18:42:09 +0000 (18:42 +0000)]
[SHDOCVW]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64603
Amine Khaldi [Wed, 8 Oct 2014 18:04:21 +0000 (18:04 +0000)]
[SCRRUN_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64602
Amine Khaldi [Wed, 8 Oct 2014 18:03:53 +0000 (18:03 +0000)]
[SCRRUN]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64601
Amine Khaldi [Wed, 8 Oct 2014 18:02:25 +0000 (18:02 +0000)]
[SCHANNEL]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64600
Amine Khaldi [Wed, 8 Oct 2014 18:01:39 +0000 (18:01 +0000)]
[RSAENH_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64599
Amine Khaldi [Wed, 8 Oct 2014 18:01:22 +0000 (18:01 +0000)]
[RSAENH]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64598
Amine Khaldi [Wed, 8 Oct 2014 17:55:55 +0000 (17:55 +0000)]
[CMAKE/MSVC]
* We don't need to set /implib, we generate our own.
svn path=/trunk/; revision=64597
Timo Kreuzer [Wed, 8 Oct 2014 07:38:56 +0000 (07:38 +0000)]
[NTOSKRNL]
Fix a status code
svn path=/trunk/; revision=64595
Timo Kreuzer [Wed, 8 Oct 2014 00:32:03 +0000 (00:32 +0000)]
[NTOSKRNL]
Move calculation of commit charge to MiInsertVadEx.
svn path=/trunk/; revision=64594
Timo Kreuzer [Wed, 8 Oct 2014 00:31:49 +0000 (00:31 +0000)]
[NTOSKRNL]
Modify MiCreatePebOrTeb to use MiInsertVadEx instead of doing everything "by hand". No, this does not "change Windows behavior". The TEB creation works exactly as before, and the only difference in the PEB creation is that if the first attempt fails, we will no longer try again from the top of the address space. But since this cannot fail in the first place, at least not due to the VA range not being free, another attempt would be pointless anyway!
svn path=/trunk/; revision=64593
Timo Kreuzer [Wed, 8 Oct 2014 00:31:43 +0000 (00:31 +0000)]
[NTOSKRNL]
Lock the workingset before inserting a node into the address space in MiInsertVad
svn path=/trunk/; revision=64592
Timo Kreuzer [Wed, 8 Oct 2014 00:31:35 +0000 (00:31 +0000)]
[NTOSKRNL]
- Improve the random address base code in MiCreatePebOrTeb to actually make sense and not rely on retarded hacks implicitly hardcoding the PEB size in pages into the random value generation.
svn path=/trunk/; revision=64591
Timo Kreuzer [Wed, 8 Oct 2014 00:31:28 +0000 (00:31 +0000)]
[NTOSKRNL]
- Add missing dereference on failure in MiMapViewOfDataSection
- Simplify some code
svn path=/trunk/; revision=64590
Timo Kreuzer [Wed, 8 Oct 2014 00:31:17 +0000 (00:31 +0000)]
[NTOSKRNL]
Implement MiInsertVadEx, replacing duplicated code from NtAllocateVirtualMemory and MiMapViewOfDataSection
svn path=/trunk/; revision=64589
Timo Kreuzer [Wed, 8 Oct 2014 00:31:09 +0000 (00:31 +0000)]
[NTOSKRNL]
Slightly refactor MiMapViewOfDataSection and NtAllocateVirtualMemory
svn path=/trunk/; revision=64588
Timo Kreuzer [Wed, 8 Oct 2014 00:30:57 +0000 (00:30 +0000)]
[NTOSKRNL]
Release AddressCreationLock in MiCreatePebOrTeb on failure path
svn path=/trunk/; revision=64587
Timo Kreuzer [Wed, 8 Oct 2014 00:30:50 +0000 (00:30 +0000)]
[NTOSKRNL]
Move acquisition of PFN lock into MmAllocPage and MmDereferencePage
svn path=/trunk/; revision=64586
Timo Kreuzer [Wed, 8 Oct 2014 00:30:37 +0000 (00:30 +0000)]
[NTOSKRNL]
Small impovement to NtFreeVirtualMemory to make things clearer
svn path=/trunk/; revision=64585
Timo Kreuzer [Wed, 8 Oct 2014 00:30:30 +0000 (00:30 +0000)]
[NTOSKRNL]
Refactor CcRosMapVacb a bit
svn path=/trunk/; revision=64584
Timo Kreuzer [Wed, 8 Oct 2014 00:30:15 +0000 (00:30 +0000)]
[NTOSKRNL]
Move MmMapMemoryArea to Cc and rename it to CcRosMapVacb
svn path=/trunk/; revision=64583
Timo Kreuzer [Tue, 7 Oct 2014 22:07:44 +0000 (22:07 +0000)]
[ADVAPI32]
Hey Arch, stop spamming my debug logs!
svn path=/trunk/; revision=64582
Timo Kreuzer [Tue, 7 Oct 2014 22:02:12 +0000 (22:02 +0000)]
[NTOSKRNL]
Silence some annoying DPRINTs
svn path=/trunk/; revision=64581
Pierre Schweitzer [Mon, 6 Oct 2014 20:51:41 +0000 (20:51 +0000)]
[NTFS]
- Implement NtfsDirFindFile()
- Enable again NtfsMakeFCBFromDirEntry() and fix its prototype but disable its implementation yet
svn path=/trunk/; revision=64577
Pierre Schweitzer [Mon, 6 Oct 2014 19:28:41 +0000 (19:28 +0000)]
[NTFS]
Not being working (yet) doesn't mean you can leak mem!
svn path=/trunk/; revision=64576
Amine Khaldi [Mon, 6 Oct 2014 18:47:17 +0000 (18:47 +0000)]
[EVENTVWR]
* Minor style change.
svn path=/trunk/; revision=64575
Amine Khaldi [Mon, 6 Oct 2014 18:43:37 +0000 (18:43 +0000)]
[CMAKE]
* Target shdocvw_v1 doesn't exist, don't depend on it.
svn path=/trunk/; revision=64574
Amine Khaldi [Mon, 6 Oct 2014 18:42:46 +0000 (18:42 +0000)]
[PSDK]
* Update wincrypt.h.
CORE-8540
svn path=/trunk/; revision=64573
Amine Khaldi [Mon, 6 Oct 2014 18:42:09 +0000 (18:42 +0000)]
[RICHED20_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64572
Amine Khaldi [Mon, 6 Oct 2014 18:41:33 +0000 (18:41 +0000)]
[RICHED20]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64571
Amine Khaldi [Mon, 6 Oct 2014 18:40:17 +0000 (18:40 +0000)]
[RASAPI32]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64570
Amine Khaldi [Mon, 6 Oct 2014 18:39:23 +0000 (18:39 +0000)]
[PROPSYS]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64569
Amine Khaldi [Mon, 6 Oct 2014 18:37:50 +0000 (18:37 +0000)]
[PDH]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64568
Amine Khaldi [Mon, 6 Oct 2014 18:36:01 +0000 (18:36 +0000)]
[CMAKE]
* Target build_header doesn't exist, don't depend on it.
svn path=/trunk/; revision=64567
Eric Kohl [Mon, 6 Oct 2014 18:35:17 +0000 (18:35 +0000)]
[DEVMGR]
- Replace the call to DevInstallW by InstallDevInst in the device properties.
- Also call InstallDevInst from the device problem wizard.
CORE-6350 #resolve
svn path=/trunk/; revision=64566
Amine Khaldi [Mon, 6 Oct 2014 18:32:06 +0000 (18:32 +0000)]
[PSAPI_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64565
Amine Khaldi [Mon, 6 Oct 2014 18:31:15 +0000 (18:31 +0000)]
[OLEDLG]
* Sync with Wine 1.7.27.
CORE-8540
svn path=/trunk/; revision=64564
Amine Khaldi [Mon, 6 Oct 2014 18:29:45 +0000 (18:29 +0000)]
[CMAKE]
* Don't add a dependency on a file.
svn path=/trunk/; revision=64563
Amine Khaldi [Mon, 6 Oct 2014 18:24:38 +0000 (18:24 +0000)]
[CMAKE]
* Target oleaut32_typelibs doesn't exist, don't depend on it.
svn path=/trunk/; revision=64562
Amine Khaldi [Mon, 6 Oct 2014 18:22:59 +0000 (18:22 +0000)]
[PSDK]
* Update propsys.idl.
CORE-8540
svn path=/trunk/; revision=64561
Amine Khaldi [Mon, 6 Oct 2014 18:22:07 +0000 (18:22 +0000)]
[CMAKE]
* Don't add a dependency on a file.
svn path=/trunk/; revision=64560
Eric Kohl [Mon, 6 Oct 2014 15:33:56 +0000 (15:33 +0000)]
[DEVMGR]
Fix indentation. No code changes!
svn path=/trunk/; revision=64559
Eric Kohl [Mon, 6 Oct 2014 14:23:36 +0000 (14:23 +0000)]
[NEWDEV]
- Implement InstallDevInst.
- Display different wizard titles for the instller and update wizard.
- Add header titles to the wizard pages.
- Add new header file for private functions.
svn path=/trunk/; revision=64558
Eric Kohl [Mon, 6 Oct 2014 12:36:11 +0000 (12:36 +0000)]
[DEVMGR]
Add a space between the hexadecimal and decimal IRQ numbers in the device resource list.
svn path=/trunk/; revision=64557
Eric Kohl [Mon, 6 Oct 2014 08:44:20 +0000 (08:44 +0000)]
[DEVMGR]
Fix the width of the resource list view.
svn path=/trunk/; revision=64556
Hermès Bélusca-Maïto [Sun, 5 Oct 2014 22:48:56 +0000 (22:48 +0000)]
These are the keyboard status flags (unused at the moment).
svn path=/trunk/; revision=64555
Hermès Bélusca-Maïto [Sun, 5 Oct 2014 22:48:13 +0000 (22:48 +0000)]
Fix comment.
svn path=/trunk/; revision=64554
Hermès Bélusca-Maïto [Sun, 5 Oct 2014 22:47:37 +0000 (22:47 +0000)]
[NTVDM]: disable the cpu level dprints.
svn path=/trunk/; revision=64553
Hervé Poussineau [Sun, 5 Oct 2014 21:30:57 +0000 (21:30 +0000)]
[MKHIVE] Create reparse points, and use them instead of pseudo-connections between cells
svn path=/trunk/; revision=64552
Jérôme Gardou [Sun, 5 Oct 2014 20:37:30 +0000 (20:37 +0000)]
[NTOS/MM]
- Silence some DPRINTs
svn path=/trunk/; revision=64551
Jérôme Gardou [Sun, 5 Oct 2014 20:19:49 +0000 (20:19 +0000)]
[ADVAPI32]
- Kill also the debug print in the W version.
svn path=/trunk/; revision=64550
Jérôme Gardou [Sun, 5 Oct 2014 20:17:43 +0000 (20:17 +0000)]
[ADVAPI32]
- Clean up a leftover debug print
svn path=/trunk/; revision=64549
Hervé Poussineau [Sun, 5 Oct 2014 19:46:00 +0000 (19:46 +0000)]
[MKHIVE] Remove dead code and unused structure fields
Use MEMKEY/PMEMKEY names to represent registry key node in memory.
svn path=/trunk/; revision=64548
Hervé Poussineau [Sun, 5 Oct 2014 19:45:37 +0000 (19:45 +0000)]
[MKHIVE] Remove key name in our custom registry tree; use cell index instead
svn path=/trunk/; revision=64547
Kamil Hornicek [Sun, 5 Oct 2014 14:55:15 +0000 (14:55 +0000)]
[CHARMAP]
- remove dead code
CID
1237028
[SETUPAPI]
- fix swapped arguments
CID
1237062
svn path=/trunk/; revision=64546
Jérôme Gardou [Sun, 5 Oct 2014 14:20:08 +0000 (14:20 +0000)]
[NTOS/SE]
- Do not fail when setting the same primary token for a process.
- Fake equality of tokens when both of them are (not) restricted.
CORE-8554 #resolve #comment JRE-7u65 now installs fine
svn path=/trunk/; revision=64545
Jérôme Gardou [Sun, 5 Oct 2014 14:19:53 +0000 (14:19 +0000)]
[ADVAPI32]
- Add a few debug prints.
svn path=/trunk/; revision=64544
Eric Kohl [Sun, 5 Oct 2014 12:40:22 +0000 (12:40 +0000)]
[DEVMGR]
- Include "precomp.h" instead of <windef.h>.
- Use UNIMPLEMENTED again.
svn path=/trunk/; revision=64543
Eric Kohl [Sun, 5 Oct 2014 12:34:07 +0000 (12:34 +0000)]
[DEVMGR]
Replace UNIMPLMENTED by FIXME.
svn path=/trunk/; revision=64542
Eric Kohl [Sun, 5 Oct 2014 12:25:05 +0000 (12:25 +0000)]
[DEVMGR]
Use a new debug channel 'devmgr' instead of DPRINTFs.
svn path=/trunk/; revision=64541
Christoph von Wittich [Sun, 5 Oct 2014 11:02:11 +0000 (11:02 +0000)]
[uxtheme]
fix a typo
svn path=/trunk/; revision=64540
Jérôme Gardou [Sun, 5 Oct 2014 10:02:34 +0000 (10:02 +0000)]
[MSI]
- Revert unwanted change
svn path=/trunk/; revision=64539
Jérôme Gardou [Sun, 5 Oct 2014 09:57:11 +0000 (09:57 +0000)]
[LIBWINE]
- Add support for the +tid debug channel, prefixing every traces with the current thread ID.
svn path=/trunk/; revision=64538
Jérôme Gardou [Sun, 5 Oct 2014 09:57:02 +0000 (09:57 +0000)]
[NTOS/MM]
- Do not assert in case of stack overflow, just let the page fault handler raise STATUS_STACK_OVERFLOW
svn path=/trunk/; revision=64537
Jérôme Gardou [Sun, 5 Oct 2014 09:56:48 +0000 (09:56 +0000)]
[MSI]
- Do not use PCH with auto-generated files.
svn path=/trunk/; revision=64536
Eric Kohl [Sun, 5 Oct 2014 08:55:55 +0000 (08:55 +0000)]
[SETUPAPI]
Add overlay icons to the class image list.
svn path=/trunk/; revision=64535
Eric Kohl [Sun, 5 Oct 2014 08:53:51 +0000 (08:53 +0000)]
[DEVMGMT]
- Reimplement the 'list by device type' function. The old implementation did not list devices as 'unknown devices' if they had no device class GUID or an unknown class GUID.
- Use overlay images to indicate problems on a device.
svn path=/trunk/; revision=64534
Timo Kreuzer [Sun, 5 Oct 2014 08:49:15 +0000 (08:49 +0000)]
[NTOSKRNL]
Kill MiZeroFillSection
svn path=/trunk/; revision=64533
Timo Kreuzer [Sun, 5 Oct 2014 07:16:01 +0000 (07:16 +0000)]
[NTOSKRNL]
Remove obsolete FreePage parameter from MmDeleteVirtualMapping
svn path=/trunk/; revision=64532
Timo Kreuzer [Sun, 5 Oct 2014 06:33:34 +0000 (06:33 +0000)]
[NTOSKRNL]
Apply indentation of 4 spaces, no code change.
svn path=/trunk/; revision=64531
Timo Kreuzer [Sat, 4 Oct 2014 22:41:47 +0000 (22:41 +0000)]
[NTOSKRNL]
Fix compilation with MI_TRACE_PFNS and MSVC
svn path=/trunk/; revision=64530
Jérôme Gardou [Sat, 4 Oct 2014 21:24:16 +0000 (21:24 +0000)]
[USETUP]
- Fix potential buffer overflow
svn path=/trunk/; revision=64529
Timo Kreuzer [Sat, 4 Oct 2014 21:17:27 +0000 (21:17 +0000)]
[NTOSKRNL]
- Implement MiIncrementAvailablePages and MiDecrementAvailablePages factoring out duplicated code from a number of locations
- Get rid of MiAllocatePfn. Any further comment would result in excessive use of curse words.
svn path=/trunk/; revision=64528
Jérôme Gardou [Sat, 4 Oct 2014 20:26:14 +0000 (20:26 +0000)]
[GCC/CMAKE]
- Add a way to conditionally use the GCC stack protector.
Just add -DSTACK_PROTECTOR:BOOL=TRUE as argument to configure.cmd/sh
svn path=/trunk/; revision=64527
Jérôme Gardou [Sat, 4 Oct 2014 20:25:57 +0000 (20:25 +0000)]
[CMAKE]
- Introduce the kerneldll module type (like kernelmodedriver, but ending with .dll) and use it in various places
- vfatx.dll whould in fact be a native DLL
svn path=/trunk/; revision=64526
Jérôme Gardou [Sat, 4 Oct 2014 20:25:35 +0000 (20:25 +0000)]
[KERNEL32]
- Always allocate a guard page at the bottom of the stack.
It doesn't depend on it being reserved or committed, it just has to be here.
svn path=/trunk/; revision=64525
Pierre Schweitzer [Sat, 4 Oct 2014 15:41:38 +0000 (15:41 +0000)]
[MSPAINT]
- Check for correct allocation
- Don't leak in case of file opening failure
svn path=/trunk/; revision=64524
Hermès Bélusca-Maïto [Sat, 4 Oct 2014 15:41:29 +0000 (15:41 +0000)]
[NTVDM]
- Move registers code into cpu/
- Implement getIntelRegistersPointer.
svn path=/trunk/; revision=64523
Hermès Bélusca-Maïto [Sat, 4 Oct 2014 14:40:59 +0000 (14:40 +0000)]
[PSDK/XDK]: Don't hardcode "80" in the CONTEXT structure, but use the correct define.
svn path=/trunk/; revision=64522
Hermès Bélusca-Maïto [Sat, 4 Oct 2014 13:36:17 +0000 (13:36 +0000)]
[NTVDM]
- Move almost all the DOS command launch thread into dem.c,
- Rework the code so that now, when we want to either load our BIOS32 or a custom one, we start their execution at F000:FFF0 as it should be,
- For modularity purposes (ie. to be able one day to load real OSes in our ntvdm), implement INT 19h (bootstrap loader) so that it calls a (temporary) dos bootsector loader that writes some bootstrap code at 0000:7c00, then the INT 19h runs this code, that has as an effect to load our DOS32 (for a real OS, the MBR code goes to 0000:7c00 and is then run).
svn path=/trunk/; revision=64521
Sylvain Petreolle [Sat, 4 Oct 2014 13:34:19 +0000 (13:34 +0000)]
[EVENTVWR]
-Fix use of unitialized handle for the waiting dialog.
-Allocate the size of one event for each event, not the amount of all events.
svn path=/trunk/; revision=64520
Thomas Faber [Sat, 4 Oct 2014 12:03:37 +0000 (12:03 +0000)]
[CRT]
- Add __fastfail intrinsic implementation for GCC and MSVC <= 2010. Patch by Timo Kreuzer.
CORE-8419
svn path=/trunk/; revision=64519
Thomas Faber [Sat, 4 Oct 2014 08:43:15 +0000 (08:43 +0000)]
[NTOS:FORMATTING]
- Remove some trailing whitespace
svn path=/trunk/; revision=64518
Hermès Bélusca-Maïto [Sat, 4 Oct 2014 00:18:39 +0000 (00:18 +0000)]
[NTVDM]: DPRINT the CPU level for diagnostics purposes.
svn path=/trunk/; revision=64517
Jérôme Gardou [Fri, 3 Oct 2014 22:19:07 +0000 (22:19 +0000)]
[MKHIVE]
- Perform a case insensitive comparison to find existing subkeys in the tree.
Dedicated to Hervé ;-)
svn path=/trunk/; revision=64516
Jérôme Gardou [Fri, 3 Oct 2014 22:18:49 +0000 (22:18 +0000)]
[ADVAPI32]
- Add parameter checks to RegEnumValueW/A
- Implement RegEnumValueW for HKCR subkeys
CORE-8582
svn path=/trunk/; revision=64515
Timo Kreuzer [Fri, 3 Oct 2014 20:11:37 +0000 (20:11 +0000)]
[HPP]
Fix problem with inconsistent EOLs
svn path=/trunk/; revision=64514