commit 2eeabebfada1cca06ba60f2f8b904fd47dbf7c57
parent 57178c5004ebe5b36f81259d05f691e664337e6d
Author: Sebastian <sebastian@sebsite.pw>
Date: Fri, 3 Feb 2023 22:28:30 -0500
os+freebsd: don't autofill fields without default value
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/os/+freebsd/stdfd.ha b/os/+freebsd/stdfd.ha
@@ -5,12 +5,16 @@ use bufio;
use io;
use rt;
-export let stdin_bufio: bufio::bufstream = bufio::bufstream {
+let stdin_bufio: bufio::bufstream = bufio::bufstream {
+ // Will be overwritten, but must be initialized
+ stream = null: io::stream,
source = 0,
...
};
-export let stdout_bufio: bufio::bufstream = bufio::bufstream {
+let stdout_bufio: bufio::bufstream = bufio::bufstream {
+ // Will be overwritten, but must be initialized
+ stream = null: io::stream,
source = 1,
...
};