Commit aed390ae authored by Rob Swindell's avatar Rob Swindell

Merge branch 'master' of gitlab.synchro.net:sbbs/sbbs

parents ec44fa3f bc512f0a
Pipeline #149 passed with stage
in 9 minutes and 23 seconds
This diff is collapsed.
......@@ -347,8 +347,11 @@ int md(const char* inpath)
*p = '\0';
if(!isdir(path)) {
if(mkpath(path) != 0)
return errno;
if(mkpath(path) != 0) {
int result = errno;
if(!isdir(path)) // race condition: did another thread make the directory already?
return result;
}
}
return 0;
......
NH4BNBH4NBH4NBH4NBHNBHNBH40NBHNBH4NBW H70N H4BNBHNBHNBH4NBHNBH40NBH4߱0NBHNBHNBH4NBH4NBH4NBH4NBH4NBW H7070N H7N HN HN H7۱NH7N H707NH70N H707NH707N BHW7N H70N H7070N H7NHN HN B4Kgj0BW H۲N H۲NH7N H70N H7N H۲N H70ݲN H707NH7N H70N H۲N B4Wbbs software0BH4NBH4NBH4NBH4NBHNBHNBH4NBHWN HBNBH4NBW BH40NBW HN HBNBHNBHNBHNBH4NBW HN HBNBHNBH4NBH4NBH4NBH4NBZ
N
H4BNBH4NBH4NBH4NBHNBHNBH40NBHNBH4NBW H70N H4BNBHNBHNBH4NBHNBH40NBH4߱0NBHNBHNBH4NBH4NBH4NBH4NB
W H7070N H7N HN HN H7۱NH7N H707NH70N H707NH707N B
HW7N H70N H7070N H7NHN HN B
4Kgj0BW H۲N H۲NH7N H70N H7N H۲N H70ݲN H707NH7N H70N H۲N B4Wbbs software0B
H4NBH4NBH4NBH4NBHNBHNBH4NBHWN HBNBH4NBW BH40NBW HN HBNBHNBHNBHNBH4NBW HN HBNBHNBH4NBH4NBH4NBH4
Z
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment