Add support for dumping the status on Windows.
authorBruce Cran <bruce@cran.org.uk>
Sun, 28 Apr 2013 15:34:15 +0000 (17:34 +0200)
committerJens Axboe <axboe@kernel.dk>
Sun, 28 Apr 2013 15:34:15 +0000 (17:34 +0200)
commita0bafb7d88c33b9046073e0bc4af7d64d0caa30b
tree5ba37a83f59e00a639b9f63dabfda3f804c14c9b
parent45f944b907acf5c8aeb6bca72c8932ea3ead258e
Add support for dumping the status on Windows.

Windows uses a per-user temporary directory, with the path stored in the TEMP
environment variable. Update check_status_file to check both the Unix TMPDIR
and Windows TEMP variables before falling back to /tmp.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
stat.c