On 2014-04-18 23:40, pschweitzer@svn.reactos.org wrote:
--- trunk/reactos/drivers/filesystems/cdfs/fcb.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/cdfs/fcb.c [iso-8859-1] Fri Apr 18 21:40:02 2014 @@ -129,7 +131,7 @@ BOOLEAN CdfsFCBIsRoot(PFCB Fcb) {
- return(wcscmp(Fcb->PathName, L"\") == 0);
- return (Fcb->PathName.Length = sizeof(WCHAR) && Fcb->PathName.Buffer[0] == L'\');
}
==
Generally I'm seeing a lot of manual work where RtlInitEmptyUnicodeString and RtlCopyUnicodeString could be used.