harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b4483abc7dfcad9a41860c158fa97084bc91adcc
parent 7caf7c291d14af6743f4274f54155648488d1acc
Author: Drew DeVault <sir@cmpwn.com>
Date:   Mon, 11 Jan 2021 13:46:53 -0500

rt::compile: further simplification

Diffstat:
Mrt/compile.ha | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/rt/compile.ha b/rt/compile.ha @@ -12,8 +12,7 @@ export fn compile(src: str) int = { close(2); const path = "./harec"; - const param = "-"; - const argv: [3]nullable *const char = [path, param, null]; + const argv: [3]nullable *const char = [path, "-", null]; const envp: [1]nullable *const char = [null]; execve(path: *const char, &argv, &envp); abort();