diff options
| author | Richard Basch <probe@mit.edu> | 1996-03-12 19:04:45 +0000 |
|---|---|---|
| committer | Richard Basch <probe@mit.edu> | 1996-03-12 19:04:45 +0000 |
| commit | d172d81439fb027047c76e832148a7c23cef27fe (patch) | |
| tree | c5080fc544bcd90856f82171c556975907494b29 /src | |
| parent | 9de25f5b4de8e0a168be70ed8414b6c7538777ed (diff) | |
| download | krb5-d172d81439fb027047c76e832148a7c23cef27fe.tar.gz krb5-d172d81439fb027047c76e832148a7c23cef27fe.tar.xz krb5-d172d81439fb027047c76e832148a7c23cef27fe.zip | |
* kprop.c: Write a byte to the last-prop file to ensure the file
modtime is updated. Simply opening the file isn't sufficient.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7609 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
| -rw-r--r-- | src/slave/ChangeLog | 5 | ||||
| -rw-r--r-- | src/slave/kprop.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/slave/ChangeLog b/src/slave/ChangeLog index 179178171..8c2eaa918 100644 --- a/src/slave/ChangeLog +++ b/src/slave/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 12 14:01:32 1996 Richard Basch <basch@lehman.com> + + * kprop.c: Write a byte to the last-prop file to ensure the file + modtime is updated. Simply opening the file isn't sufficient. + Wed Mar 6 16:15:46 1996 Richard Basch <basch@lehman.com> * kprop.c: The credentials cache should be destroyed after any error. diff --git a/src/slave/kprop.c b/src/slave/kprop.c index 9f8a28772..c0c315cc4 100644 --- a/src/slave/kprop.c +++ b/src/slave/kprop.c @@ -701,6 +701,7 @@ void update_last_prop_file(hostname, file_name) free(file_last_prop); return; } + write(fd, "", 1); free(file_last_prop); close(fd); return; |
