mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
vol: Windows requires binary fmode for salvaged
Same as 98f633c60d
, but for the
salvageserver.
Change-Id: I961e31fd6a2a6e08e3bd4381793195bb1e388e7c
Reviewed-on: http://gerrit.openafs.org/3676
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
parent
038264b4d6
commit
802899aac0
@ -338,6 +338,9 @@ main(int argc, char **argv)
|
||||
exit(2);
|
||||
}
|
||||
#ifdef AFS_NT40_ENV
|
||||
/* Default to binary mode for fopen() */
|
||||
_set_fmode(_O_BINARY);
|
||||
|
||||
main_thread = pthread_self();
|
||||
if (spawnDatap && spawnDataLen) {
|
||||
/* This is a child per partition salvager. Don't setup log or
|
||||
|
Loading…
Reference in New Issue
Block a user