summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorglenda@drat <glenda@drat>2016-05-26 07:21:13 -0700
committerglenda@drat <glenda@drat>2016-05-26 07:21:13 -0700
commitd1cd9059e7ba9476c0be23a7dcfe03a0289d3c15 (patch)
tree9253a371525a9b3269ad2d68b43a20ab58e2b269 /mbld
parente2c2808a2a5f83c7c8f204cd01035a1713be8787 (diff)
downloadmc-d1cd9059e7ba9476c0be23a7dcfe03a0289d3c15.tar.gz
Openmode instead of open for test log.
Diffstat (limited to 'mbld')
-rw-r--r--mbld/test.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbld/test.myr b/mbld/test.myr
index bb2735b..e9b8d72 100644
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -165,7 +165,7 @@ const runtest = {b, cmd
std.fatal("\nunable to run test: {}\n", m)
| `std.Ok (pid, infd, outfd):
log = std.strcat(cmd[0], ".log")
- logfd = std.try(std.open(log, std.Owronly | std.Ocreat))
+ logfd = std.try(std.openmode(log, std.Owronly | std.Ocreat, 0o644))
sub = showsub(outfd, logfd)
std.slfree(log)
std.close(infd)