Fixed makefile to include rules.mak first, so it gets the settings in there right

Fixed path parsing for \\.\

svn path=/trunk/; revision=949
This commit is contained in:
Phillip Susi 2000-01-21 23:06:26 +00:00
parent 2a24d175bf
commit e4008de214
2 changed files with 8 additions and 5 deletions

View file

@ -1,4 +1,4 @@
/* $Id: create.c,v 1.15 2000/01/11 17:30:16 ekohl Exp $
/* $Id: create.c,v 1.16 2000/01/21 23:06:26 phreak Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@ -94,7 +94,7 @@ HANDLE STDCALL CreateFileW(LPCWSTR lpFileName,
dwCreationDisposition = FILE_OVERWRITE;
}
DPRINT("CreateFileW(lpFileName %S)\n",lpFileName);
DPRINT1("CreateFileW(lpFileName %S)\n",lpFileName);
if (dwDesiredAccess & GENERIC_READ)
dwDesiredAccess |= FILE_GENERIC_READ;
@ -117,7 +117,9 @@ HANDLE STDCALL CreateFileW(LPCWSTR lpFileName,
lpFileName[2] == (WCHAR)'.' &&
lpFileName[3] == (WCHAR)'\\')
{
wcscpy(PathNameW, lpFileName);
wcscpy(PathNameW, lpFileName+4);
OutputDebugStringA( "Fuck off\n" );
DPRINT1( "Fucking String: %S\n", PathNameW );
}
else if (lpFileName[0] == (WCHAR)'\\')
{

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.28 1999/11/17 21:33:44 ariadne Exp $
# $Id: makefile,v 1.29 2000/01/21 23:06:25 phreak Exp $
#
# ReactOS Operating System
#
@ -10,6 +10,7 @@ BASE_CFLAGS = -I../../include
CFLAGS = $(CFLAGS) -DKERNEL32_BASE=$(KERNEL32_BASE)
include ../../rules.mak
ifneq ($(HOST),mingw32-windows)
ifneq ($(HOST),mingw32-linux)
DLLTARGET=$(TARGET).a
@ -156,4 +157,4 @@ else
endif
#WARNINGS_ARE_ERRORS = yes
include ../../rules.mak