mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Converted a few stray unix linefeeds to dos
svn path=/trunk/; revision=4155
This commit is contained in:
parent
7ff8369044
commit
da676ec715
1 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: path.c,v 1.15 2002/10/20 11:56:00 chorns Exp $
|
||||
/* $Id: path.c,v 1.16 2003/02/15 20:25:03 phreak Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -252,7 +252,7 @@ RtlGetCurrentDirectory_U(ULONG MaximumLength,
|
|||
|
||||
DPRINT ("RtlGetCurrentDirectory %lu %p\n", MaximumLength, Buffer);
|
||||
|
||||
cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName);
|
||||
cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName);
|
||||
|
||||
RtlAcquirePebLock();
|
||||
Length = cd->DosPath.Length / sizeof(WCHAR);
|
||||
|
@ -304,7 +304,7 @@ RtlSetCurrentDirectory_U(PUNICODE_STRING name)
|
|||
DPRINT ("RtlSetCurrentDirectory %wZ\n", name);
|
||||
|
||||
RtlAcquirePebLock ();
|
||||
cd = (PCURDIR)&NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName;
|
||||
cd = (PCURDIR)&NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName;
|
||||
size = cd->DosPath.MaximumLength;
|
||||
|
||||
buf = RtlAllocateHeap (RtlGetProcessHeap(),
|
||||
|
@ -516,7 +516,7 @@ CHECKPOINT;
|
|||
|
||||
RtlAcquirePebLock();
|
||||
|
||||
cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName);
|
||||
cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName);
|
||||
DPRINT("type %ld\n", type);
|
||||
switch (type)
|
||||
{
|
||||
|
@ -707,7 +707,7 @@ RtlDosPathNameToNtPathName_U(PWSTR dosname,
|
|||
if (nah)
|
||||
{
|
||||
memset (nah, 0, sizeof(CURDIR));
|
||||
cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName);
|
||||
cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName);
|
||||
if (Type == 5 && cd->Handle &&
|
||||
!_wcsnicmp (cd->DosPath.Buffer, fullname, cd->DosPath.Length / 2))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue