Ignore:
Timestamp:
Dec 28, 1999, 11:08:57 PM (26 years ago)
Author:
sandervl
Message:

SetCurrentDirectory check + InstallDate registry key fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/directory.cpp

    r2044 r2232  
    1 /* $Id: directory.cpp,v 1.13 1999-12-09 11:59:28 sandervl Exp $ */
     1/* $Id: directory.cpp,v 1.14 1999-12-28 22:08:56 sandervl Exp $ */
    22
    33/*
     
    118118
    119119
    120 ODINFUNCTIONNODBG1(BOOL,SetCurrentDirectoryA,LPCSTR,lpPathName)
    121 {
     120ODINFUNCTION1(BOOL,SetCurrentDirectoryA,LPCSTR,lpPathName)
     121{
     122  if(HIWORD(lpPathName) == 0) {
     123        SetLastError(ERROR_INVALID_PARAMETER);
     124        return FALSE;
     125  }
    122126  int len = strlen(lpPathName);
    123127  char *tmp=(char *)alloca(len + 1);
Note: See TracChangeset for help on using the changeset viewer.