Commit dd8aa60346fc93beac5077d9a4e3a5b281df9085

Jim Meyering 1999-01-02T05:16:57

(make_dir): New function, factored out of make_path. (make_path): Use make_dir rather than open-coding it twice. This effectively reverses the order of the latter pair of stat/mkdir calls and fixes a race condition bug whereby one of two concurrent `mkdir -p' processes could fail with EEXIST.