Commit c897bea3055737f694ec4e322ef6a326c6c2c9ee

Jim Meyering 1997-07-01T11:50:39

(make_path): Reorder stat-then-mkdir-if-missing calls so that mkdir is called first. Before make_path would first `stat' a directory, then call mkdir if it didn't exist. But if some other process created the directory between the stat & mkdir, the mkdir would fail with EEXIST. Diagnosis and suggestion from Greg McGary.