OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-691-g4f838b0
Gerrit Code Review
gerrit@openafs.org
Tue, 25 Jan 2011 01:56:40 -0800 (PST)
The following commit has been merged in the master branch:
commit 4f838b03bbf9ea0e1ede8a188ea6dde3efb4e231
Author: Rod Widdowson <rdw@steadingsoftware.com>
Date: Sun Jan 23 14:29:51 2011 +0000
Windows: fix parameters and return value from nt_seek
SetFilePointerEx takes specific values
(FILE_BEGIN/FILE_CURRENT/FILE_END) whilse fseek requires SEEK_SET,
SEK_END, SEEK_CUR. It turns out that these overlap, but we should
not let that pass unchallenged.
SetFilePointerEx returns nonzero for success zero for failure. fseek
returns the other way around.
Neither of these changes currently matter, but we should fix them.
Change-Id: Ib31cf6265fa1e714232ff0d2e099c657e41f17e9
Reviewed-on: http://gerrit.openafs.org/3746
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/vol/ntops.c | 21 ++++++++++++++++++---
src/vol/ntops.h | 2 +-
2 files changed, 19 insertions(+), 4 deletions(-)
--
OpenAFS Master Repository