From af442a22d956464e7df703b290fa49d78dda3dfa Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 24 Sep 2017 11:13:37 +0200 Subject: executor, sys/windows: initial windows support --- sys/syz-sysgen/sysgen.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/syz-sysgen') diff --git a/sys/syz-sysgen/sysgen.go b/sys/syz-sysgen/sysgen.go index 273bb7d04..e34055f1c 100644 --- a/sys/syz-sysgen/sysgen.go +++ b/sys/syz-sysgen/sysgen.go @@ -36,7 +36,7 @@ func main() { flag.Parse() for OS, archs := range targets.List { - top := ast.ParseGlob(filepath.Join("sys", OS, "*\\.txt"), nil) + top := ast.ParseGlob(filepath.Join("sys", OS, "*.txt"), nil) if top == nil { os.Exit(1) } @@ -67,7 +67,7 @@ func main() { eh := func(pos ast.Pos, msg string) { job.Errors = append(job.Errors, fmt.Sprintf("%v: %v\n", pos, msg)) } - consts := compiler.DeserializeConstsGlob(filepath.Join("sys", OS, "*_"+job.Target.Arch+"\\.const"), eh) + consts := compiler.DeserializeConstsGlob(filepath.Join("sys", OS, "*_"+job.Target.Arch+".const"), eh) if consts == nil { return } -- cgit mrf-deployment