Skip to content

Commit

Permalink
Problem with directory caching, #1661, disable until it is solved.
Browse files Browse the repository at this point in the history
  • Loading branch information
nbriggs committed Apr 13, 2024
1 parent e2e2c7e commit 8d34f08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dsk.c
Original file line number Diff line number Diff line change
Expand Up @@ -3082,8 +3082,11 @@ static int get_version_array(char *dir, char *file, FileName *varray, CurrentVAr
* If the cached version array is still valid, we can return immediately.
*/

#if 0
/* there is a (different?) problem (#1661) with the caching - disable until it's solved */
if ((sbuf.st_mtime == cache->mtime) && strcmp(dir, cache->path) == 0
&& strcmp(lcased_file, cache->file) == 0) return(1);
#endif

errno = 0;
TIMEOUT0(dirp = opendir(dir));
Expand Down

0 comments on commit 8d34f08

Please sign in to comment.