mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -252,7 +252,7 @@ RtlGetCurrentDirectory_U(ULONG MaximumLength,
|
||||||
|
|
||||||
DPRINT ("RtlGetCurrentDirectory %lu %p\n", MaximumLength, Buffer);
|
DPRINT ("RtlGetCurrentDirectory %lu %p\n", MaximumLength, Buffer);
|
||||||
|
|
||||||
cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName);
|
cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName);
|
||||||
|
|
||||||
RtlAcquirePebLock();
|
RtlAcquirePebLock();
|
||||||
Length = cd->DosPath.Length / sizeof(WCHAR);
|
Length = cd->DosPath.Length / sizeof(WCHAR);
|
||||||
|
@ -304,7 +304,7 @@ RtlSetCurrentDirectory_U(PUNICODE_STRING name)
|
||||||
DPRINT ("RtlSetCurrentDirectory %wZ\n", name);
|
DPRINT ("RtlSetCurrentDirectory %wZ\n", name);
|
||||||
|
|
||||||
RtlAcquirePebLock ();
|
RtlAcquirePebLock ();
|
||||||
cd = (PCURDIR)&NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName;
|
cd = (PCURDIR)&NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName;
|
||||||
size = cd->DosPath.MaximumLength;
|
size = cd->DosPath.MaximumLength;
|
||||||
|
|
||||||
buf = RtlAllocateHeap (RtlGetProcessHeap(),
|
buf = RtlAllocateHeap (RtlGetProcessHeap(),
|
||||||
|
@ -516,7 +516,7 @@ CHECKPOINT;
|
||||||
|
|
||||||
RtlAcquirePebLock();
|
RtlAcquirePebLock();
|
||||||
|
|
||||||
cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName);
|
cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName);
|
||||||
DPRINT("type %ld\n", type);
|
DPRINT("type %ld\n", type);
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
|
@ -707,7 +707,7 @@ RtlDosPathNameToNtPathName_U(PWSTR dosname,
|
||||||
if (nah)
|
if (nah)
|
||||||
{
|
{
|
||||||
memset (nah, 0, sizeof(CURDIR));
|
memset (nah, 0, sizeof(CURDIR));
|
||||||
cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName);
|
cd = (PCURDIR)&(NtCurrentPeb ()->ProcessParameters->CurrentDirectoryName);
|
||||||
if (Type == 5 && cd->Handle &&
|
if (Type == 5 && cd->Handle &&
|
||||||
!_wcsnicmp (cd->DosPath.Buffer, fullname, cd->DosPath.Length / 2))
|
!_wcsnicmp (cd->DosPath.Buffer, fullname, cd->DosPath.Length / 2))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue