Commit 31ae4f1
committed
On DragonFly use procfs for self_exe_name()
Using /proc/curproc/file does not resolve mount-points as sysctl(3) with
KERN_PROC_PATHNAME does, which gave back paths containing colons like
/pfs/@@-1:00004/usr/bin. This led to problems when joining paths based on it.1 parent 6131df6 commit 31ae4f1
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
668 | | - | |
| 668 | + | |
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
| |||
691 | 691 | | |
692 | 692 | | |
693 | 693 | | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
694 | 704 | | |
695 | 705 | | |
696 | 706 | | |
| |||
0 commit comments