]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: torture error reporting
authorJeffrey Altman <jaltman@your-file-system.com>
Fri, 26 Aug 2011 13:36:04 +0000 (09:36 -0400)
committerDerrick Brashear <shadow@dementix.org>
Sun, 26 Feb 2012 06:30:02 +0000 (22:30 -0800)
commit1f5f00810ab9cc48e3bc1a290253373b167f61bf
treec46e51bd235d34c4303f1cd35e895273a8e56d48
parentd1630cabac0631bc47b21f11eecb376261a02756
Windows: torture error reporting

When LeaveThread() is called and GetLastError() has already
been called, pass the last error value to LeaveThread().  Otherwise,
the GetLastError() call in LeaveThread() may return an inaccurrate
result.

Reviewed-on: http://gerrit.openafs.org/5312
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 209d59a61ba9614a8b9d231d828f74a3e9bdaa27)

Change-Id: I8f1b5b6431bad4413e7d81c95835ed852fbba16f
Reviewed-on: http://gerrit.openafs.org/6800
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/WINNT/tests/torture/Source/nbio.c