You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2014/07/23 15:24:24 UTC
[6/9] git commit: refs/heads/master - Add missing chy_ prefix
Add missing chy_ prefix
Fixes Cygwin build.
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/cfdefaf8
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/cfdefaf8
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/cfdefaf8
Branch: refs/heads/master
Commit: cfdefaf81be28806d4d9fc635ca4d362f91e737a
Parents: 3b1945e
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Tue Jul 22 20:50:47 2014 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Tue Jul 22 20:50:47 2014 +0200
----------------------------------------------------------------------
core/Lucy/Store/FSFileHandle.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/cfdefaf8/core/Lucy/Store/FSFileHandle.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Store/FSFileHandle.c b/core/Lucy/Store/FSFileHandle.c
index 74f5ffc..17b6a07 100644
--- a/core/Lucy/Store/FSFileHandle.c
+++ b/core/Lucy/Store/FSFileHandle.c
@@ -421,7 +421,7 @@ FSFH_Read_IMP(FSFileHandle *self, char *dest, int64_t offset, size_t len) {
}
// Read.
- check_val = pread64(ivars->fd, dest, len, offset);
+ check_val = chy_pread64(ivars->fd, dest, len, offset);
if (check_val != (int64_t)len) {
if (check_val == -1) {
Err_set_error(Err_new(Str_newf("Tried to read %u64 bytes, got %i64: %s",