Michael Neumann dfd3b908f5 Fix current_exe() on DragonFly (again)
This is a follow up on [this pull request][1].

Since DragonFly 4.6.1 ([this commit][2]), the "kern.proc.pathname"
sysctl works correctly, i.e. it does not return paths including a ":"
(see [here][3]). Use it and don't try to fix old versions of DragonFly!
There are not many DragonFly installations out there that we can't
control and no one is compiling Rust from source. If someone wants to
run Rust on a pre-4.6.1 DragonFly system, the ports system should
provide a patch.

[1]: https://github.com/rust-lang/rust/pull/35494
[2]: https://gitweb.dragonflybsd.org/dragonfly.git/commit/726f7ca07e193db73635e9c4e24e40c96087d6d9
[3]: https://gist.github.com/mneumann/a2f6b6a0a03935b561d6185872a4b222
2016-12-06 19:31:48 +01:00
..
2016-11-27 17:59:36 +01:00
2016-11-30 23:24:57 -05:00
2016-11-30 23:24:57 -05:00
2016-11-30 10:38:08 -08:00
2016-11-30 10:38:08 -08:00
2016-11-30 10:38:08 -08:00
2016-11-30 10:38:08 -08:00
2016-11-30 10:38:08 -08:00
2016-11-30 10:38:08 -08:00
2016-11-30 10:38:08 -08:00
2016-11-30 10:38:08 -08:00