Changeset 5819 for trunk/src


Ignore:
Timestamp:
May 28, 2001, 6:23:42 PM (24 years ago)
Author:
phaller
Message:

Fix CreateDirectory

File:
1 edited

Legend:

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

    r5303 r5819  
    1 /* $Id: directory.cpp,v 1.35 2001-03-12 14:16:33 sandervl Exp $ */
     1/* $Id: directory.cpp,v 1.36 2001-05-28 16:23:42 phaller Exp $ */
    22
    33/*
     
    233233              PSECURITY_ATTRIBUTES,arg2)
    234234{
     235  // 2001-05-28 PH
     236  // verify filename first (NT4SP6)
     237  // @@@PH: if (IsBadStringPtr( (LPVOID)lpstrDirectory, 0xFFFF))
     238  if (lpstrDirectory == NULL)
     239  {
     240      SetLastError(ERROR_PATH_NOT_FOUND);
     241      return FALSE;
     242  }
     243
    235244  int len = strlen(lpstrDirectory);
    236245 
Note: See TracChangeset for help on using the changeset viewer.