Skip to content
Snippets Groups Projects
Forked from Utils / KWSys
1053 commits behind the upstream repository.
  • Cory Quammen's avatar
    3d1d4e7c
    SystemTools: MakeDirectory() reports failure if path is file · 3d1d4e7c
    Cory Quammen authored
    If the path passed to MakeDirectory() pointed to an existing file (not
    directory), it would return true indicating that the directory was
    successfully created even though creation of the directory failed.
    Now it returns true only when the existing path is a directory and
    returns false otherwise.
    
    Change-Id: Ieb3e6352d63868c824df35f19187a8d396f75296
    3d1d4e7c
    History
    SystemTools: MakeDirectory() reports failure if path is file
    Cory Quammen authored
    If the path passed to MakeDirectory() pointed to an existing file (not
    directory), it would return true indicating that the directory was
    successfully created even though creation of the directory failed.
    Now it returns true only when the existing path is a directory and
    returns false otherwise.
    
    Change-Id: Ieb3e6352d63868c824df35f19187a8d396f75296
SystemTools.cxx 119.27 KiB