From 774f770056887c27418bd715136fe1fdc8806d7d Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Thu, 12 Sep 2019 12:42:59 +0200 Subject: [PATCH] Correct AT_FDCWD definition --- std/os/bits/linux.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/os/bits/linux.zig b/std/os/bits/linux.zig index 0617378da9f50d1a1751a5b3de3b8c247b3666e2..cd8a3cbca13ea0463c308cbc653041f45ae5c3dd 100644 --- a/std/os/bits/linux.zig +++ b/std/os/bits/linux.zig @@ -24,7 +24,7 @@ pub const STDOUT_FILENO = 1; pub const STDERR_FILENO = 2; /// Special value used to indicate openat should use the current working directory -pub const AT_FDCWD = 100; +pub const AT_FDCWD = -100; /// Do not follow symbolic links pub const AT_SYMLINK_NOFOLLOW = 0x100; -- 2.54.0