Switching to wsl
This commit is contained in:
@@ -31,7 +31,7 @@ func Read(args ...object.Object) object.Object {
|
||||
}
|
||||
|
||||
buf := make([]byte, n)
|
||||
n, err := syscall.Read(syscall.Handle(fd), buf)
|
||||
n, err := syscall.Read(fd, buf)
|
||||
if err != nil {
|
||||
return newError("IOError: %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user