Re: apr_off_t is of an ambiguous size.
From: Ben Reser <ben_at_reser.org>
Date: 2004-01-17 23:28:20 CET
On Sat, Jan 17, 2004 at 11:52:43AM -0500, Greg Hudson wrote:
Okay just thought I'd double check. I've heard the horror stories of
> apr_file_seek does modify the offset value, so yes, we need to stuff it
Yup, I just spaced handling this.
Here's a changed implementation on the basis of your comments:
svn_error_t *
status = apr_file_seek (file, where, &apr_offset);
return svn_error_create (SVN_ERR_IO_OFFSET_SIZE, NULL,
Any objections to this implementation?
-- Ben Reser <ben@reser.org> http://ben.reser.org "Conscience is the inner voice which warns us somebody may be looking." - H.L. Mencken --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sat Jan 17 23:28:50 2004 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.