diff options
author | Ken Raeburn <raeburn@mit.edu> | 2003-01-17 23:19:47 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2003-01-17 23:19:47 +0000 |
commit | 0888eeec6d670a19fc26eaddb40a49580c6941b4 (patch) | |
tree | 6fba868c7ab7d59a22029a90c6277264a514fa9d /src/util/profile/prof_file.c | |
parent | 61d2b0f60348ece3adbb30090824ec959d3ce79f (diff) | |
download | krb5-0888eeec6d670a19fc26eaddb40a49580c6941b4.tar.gz krb5-0888eeec6d670a19fc26eaddb40a49580c6941b4.tar.xz krb5-0888eeec6d670a19fc26eaddb40a49580c6941b4.zip |
* prof_file.c (profile_flush_file_data): [_WIN32]: Don't call sync
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15126 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/profile/prof_file.c')
-rw-r--r-- | src/util/profile/prof_file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/profile/prof_file.c b/src/util/profile/prof_file.c index a71c44fe43..90866b9135 100644 --- a/src/util/profile/prof_file.c +++ b/src/util/profile/prof_file.c @@ -319,7 +319,9 @@ errcode_t profile_flush_file_data(data) /* Couldn't make the hard link, so there's going to be a small window where data->filespec does not refer to either version. */ +#ifndef _WIN32 sync(); +#endif if (rename(data->filespec, old_file)) { retval = errno; goto errout; |