]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: unified afs errors must use nt mapping
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 1 Aug 2011 15:00:55 +0000 (11:00 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Tue, 2 Aug 2011 20:51:05 +0000 (13:51 -0700)
commit19cd276d0969853de86c0067980353eeb7309eef
treecb88df85b3afd3acf32c80a72282efe833821e0a
parenta36705f48889821ff38c6f8fc72c5ccb980e14ac
Windows: unified afs errors must use nt mapping

On Windows, error.h does not provide a complete list of POSIX
C99 error values.  OpenAFS fills in the gaps with a private
error mapping table afs/errmap_nt.h (src/util/errmap_nt.h).
If errmap_nt.h is not included prior to processing unified_afs.h,
values such as ELOOP will be mapped to EIO instead of the unique
value defined by errmap_nt.h.

Reviewed-on: http://gerrit.openafs.org/5128
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from 71e64b6f21817872676e74a8c67c0f0bcfb23391)

Change-Id: If6582d7242418c15eb007471199a6dfcc6732e3b
Reviewed-on: http://gerrit.openafs.org/5147
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/afs/unified_afs.p.h