io.Copy: i/o count too large
Closed this issue · 2 comments
GoogleCodeExporter commented
file, _ = c.FOpen(flag.Arg(0), p.OREAD)
dst, _ := os.OpenFile("/tmp/test", os.O_RDWR | os.O_CREATE, 0666)
_, ioerr := io.Copy(dst, file)
if ioerr != nil {
fmt.Printf("Error %s\n", ioerr)
}
Outputs:
Error i/o count too large
I'm not sure, but I think the Msize limit should be handled transparently in
the client.
Original issue reported on code.google.com by mmikuli...@gmail.com
on 6 Jun 2011 at 3:09
GoogleCodeExporter commented
Attaching a patch which solved the problem to me. Possibly there are other
places where it has to be applied.
Original comment by mmikuli...@gmail.com
on 6 Jun 2011 at 3:19
Attachments:
GoogleCodeExporter commented
Fixed
Original comment by lion...@gmail.com
on 13 Jun 2011 at 3:46
- Changed state: Fixed