Skip to content

os: Inconsistent EOF error message returned by File.ReadAt on windows #5619

@syndtr

Description

@syndtr
What steps will reproduce the problem?
1. create file.tmp file
2. run this http://play.golang.org/p/jZkzWF8Npr
3.

What is the expected output?
io.EOF

What do you see instead?
read file.tmp: Reached the end of the file.

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
windows 8 64-bit

Which version are you using?  (run 'go version')
go version go1.1rc3 windows/amd64

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions