commit 502e858e0593bc90a13377b520f58d59e765e145
parent f8e3bf486e99a8231d19cae1ad1076facd6e93ce
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 9 Mar 2021 21:56:26 -0500
temp: reduce length of +linux dirs
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/temp/+linux.ha b/temp/+linux.ha
@@ -55,7 +55,7 @@ export fn named(
//
// The caller must free the return value with [path::path_free].
export fn dir() path::path = {
- let buf: [16]u8 = [0...];
+ let buf: [8]u8 = [0...];
random::buffer(buf[..]);
let name = hex::encode(buf);
defer free(name);