Commit e61d0f2
authored
Correct {DSK} versioned file cache failures (#526)
A missing check for the applicability of a versioned file cache
caused loadups to fail in the case where the modification timestamp
of a directory and its parent were identical, and the file being
looked up had the same name (when lowercased) as the directory it was
contained within. E.g., looking up TEDIT in library/tedit/ where
the modification times of library and library/tedit were identical.
The inode number of the directory containing the file must be the
same as the inode number of the directory the cache was built from.1 parent 3c4d9f5 commit e61d0f2
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
3055 | 3056 | | |
3056 | 3057 | | |
3057 | 3058 | | |
3058 | | - | |
| 3059 | + | |
| 3060 | + | |
3059 | 3061 | | |
3060 | 3062 | | |
3061 | 3063 | | |
3062 | 3064 | | |
| 3065 | + | |
3063 | 3066 | | |
3064 | 3067 | | |
3065 | 3068 | | |
| |||
0 commit comments