Commit 9f1f01d
committed
Don't require a FIFO to be identifiable as such
The jobserver specification [0] currently suggests that the FIFO must be a
genuine FIFO.
For some work we're doing [1][2], we're emulating a FIFO using CUSE/FUSE to allow
tracking when consumers disappear to avoid lost tokens. nixos had a similar
idea in the past too [3].
There doesn't seem to be a good reason to check that any FIFO passed by
the user is actually identifiable as such by `stat()`, so drop the check.
make already does not perform such a check, just the specification isn't
clear about it, so we've asked them to clarify it [4].
[0] https://www.gnu.org/software/make/manual/html_node/POSIX-Jobserver.html
[1] https://codeberg.org/amonakov/guildmaster
[2] https://gitweb.gentoo.org/proj/steve.git/
[3] NixOS/nixpkgs#314888
[4] https://savannah.gnu.org/bugs/index.php?677261 parent 231db65 commit 9f1f01d
2 files changed
+1
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 29 | | |
37 | 30 | | |
38 | 31 | | |
| |||
89 | 82 | | |
90 | 83 | | |
91 | 84 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | 85 | | |
98 | 86 | | |
99 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
386 | | - | |
387 | 385 | | |
388 | 386 | | |
389 | 387 | | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | 388 | | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | 389 | | |
398 | 390 | | |
399 | 391 | | |
| |||
0 commit comments