• Sven Sandberg's avatar
    BUG#41959: mtr: error message when mkpath() fails and the file exists but is not directory · 75017750
    Sven Sandberg authored
    Problem: when mtr tries to create a directory, and the target
    exists but is a file instead of directory, it tries several times
    to create the directory again before it fails.
    Fix: make it check if the target exists and is a non-directory.
    
    
    mysql-test/lib/My/File/Path.pm:
      mkpath() now stops with appropriate error message if the target
      exists but is a non-directory.
    75017750
Path.pm 2.81 KB