[protobuf] Re: Issue 302 in protobuf: Skip(count) fails when count offset 2^32 count type should be off_t, not int

2011-07-05 Thread protobuf
Updates: Status: WontFix Comment #2 on issue 302 by liuj...@google.com: Skip(count) fails when count offset 2^32 count type should be off_t, not int http://code.google.com/p/protobuf/issues/detail?id=302 Protobuf is not designed to handle large messages. We didn't consider messages

[protobuf] Re: Issue 302 in protobuf: Skip(count) fails when count offset 2^32 count type should be off_t, not int

2011-07-05 Thread protobuf
Comment #3 on issue 302 by fac2...@gmail.com: Skip(count) fails when count offset 2^32 count type should be off_t, not int http://code.google.com/p/protobuf/issues/detail?id=302 The issue is not about large messages, but about large files. We use collections of small messages stored in

[protobuf] Re: Issue 302 in protobuf: Skip(count) fails when count offset 2^32 count type should be off_t, not int

2011-07-05 Thread protobuf
Comment #4 on issue 302 by liuj...@google.com: Skip(count) fails when count offset 2^32 count type should be off_t, not int http://code.google.com/p/protobuf/issues/detail?id=302 Well, for the java version, I think you mean the LimitedInputStream. That class has to use long to override its

[protobuf] Re: Issue 302 in protobuf: Skip(count) fails when count offset 2^32 count type should be off_t, not int

2011-06-06 Thread protobuf
Comment #1 on issue 302 by fac2...@gmail.com: Skip(count) fails when count offset 2^32 count type should be off_t, not int http://code.google.com/p/protobuf/issues/detail?id=302 Here's a patch that fixes the issue. The patch was written by Kevin C. Dorff and myself and fixes the issue