src/os/windows/vm/perfMemory_windows.cpp

changeset 1040
98cb887364d3
parent 435
a61af66fc99e
child 1788
a2ea687fdc7c
     1.1 --- a/src/os/windows/vm/perfMemory_windows.cpp	Fri Feb 27 08:34:19 2009 -0800
     1.2 +++ b/src/os/windows/vm/perfMemory_windows.cpp	Fri Feb 27 13:27:09 2009 -0800
     1.3 @@ -195,7 +195,7 @@
     1.4  // check if the given path is considered a secure directory for
     1.5  // the backing store files. Returns true if the directory exists
     1.6  // and is considered a secure location. Returns false if the path
     1.7 -// is a symbolic link or if an error occured.
     1.8 +// is a symbolic link or if an error occurred.
     1.9  //
    1.10  static bool is_directory_secure(const char* path) {
    1.11  
    1.12 @@ -994,7 +994,7 @@
    1.13      return false;
    1.14    }
    1.15  
    1.16 -  // if running on windows 2000 or later, set the automatic inheritence
    1.17 +  // if running on windows 2000 or later, set the automatic inheritance
    1.18    // control flags.
    1.19    SetSecurityDescriptorControlFnPtr _SetSecurityDescriptorControl;
    1.20    _SetSecurityDescriptorControl = (SetSecurityDescriptorControlFnPtr)
    1.21 @@ -1002,7 +1002,7 @@
    1.22                        "SetSecurityDescriptorControl");
    1.23  
    1.24    if (_SetSecurityDescriptorControl != NULL) {
    1.25 -    // We do not want to further propogate inherited DACLs, so making them
    1.26 +    // We do not want to further propagate inherited DACLs, so making them
    1.27      // protected prevents that.
    1.28      if (!_SetSecurityDescriptorControl(pSD, SE_DACL_PROTECTED,
    1.29                                              SE_DACL_PROTECTED)) {

mercurial