ports/lang/nim/files/patch-lib-pure-os.nim
Bartek Rutkowski dd5e0f907f lang/nimrod: MOVED to lang/nim and update 0.9.2 -> 0.10.2
- Upstream has renamed the project from 'nimrod' to 'nim'

PR:		199118
Submitted by:	Neal Nelson <ports@nicandneal.net>
2015-04-03 20:32:14 +00:00

13 lines
430 B
Nim

--- lib/pure/os.nim.orig
+++ lib/pure/os.nim
@@ -1785,8 +1785,7 @@
result = getApplAux("/proc/" & $getpid() & "/path/a.out")
if result.len == 0: result = getApplHeuristic()
elif defined(freebsd):
- result = getApplAux("/proc/" & $getpid() & "/file")
- if result.len == 0: result = getApplHeuristic()
+ result = getApplHeuristic()
elif defined(macosx):
var size: cuint32
getExecPath1(nil, size)