[CMLIB]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 2 Feb 2014 16:45:48 +0000 (16:45 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 2 Feb 2014 16:45:48 +0000 (16:45 +0000)
commit048856c9cc1501c8eeafd125b38246d8c2dbc71e
tree8a46a3f66e273e38a0dc93567b3ded9fd9e99001
parentbdb5664d61f5bd49ea8047ab1a0e236330debc00
[CMLIB]
- memcpy --> RtlCopyMemory
- Remove a __debugbreak()
- Improve a bit the DPRINT that is displayed when a corrupted hive is loaded.
- Fix a comment.
- Implement saving the hive file name in the hive itself. According to what windows does (just open an existing hive file with your preferred hex editor 8^) ), you can see that it copies the last 31 unicode characters of the path, and terminate it by a NULL.

[NTOS]
Remove unneeded cast.

svn path=/trunk/; revision=61922
reactos/lib/cmlib/cminit.c
reactos/lib/cmlib/cmlib.h
reactos/lib/cmlib/hivecell.c
reactos/lib/cmlib/hivedata.h
reactos/lib/cmlib/hiveinit.c
reactos/lib/cmlib/hivewrt.c
reactos/ntoskrnl/config/cminit.c