Repository navigation
Commit 725ee05
committed
Claim pool builds with noclobber instead of mkdir
Create the claim file with set -C, which the shell opens with O_EXCL.
Ubuntu 26.04 ships uutils coreutils 0.8.0, whose mkdir can exit 0 when
the kernel returns EEXIST build.
uutils/coreutils#13970
uutils/coreutils#13986
The Rust kids rewrote a 50-year-old wheel and it came back square;
mkdir as a mutex is older than most of them.1 parent 1f6b99b commit 725ee05
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
| 180 | + | |
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
| |||
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
192 | | - | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
0 commit comments