nfqws,tpws: r/o open instead of stat() for list file check

This commit is contained in:
bol-van
2025-02-04 23:28:18 +03:00
parent bd67b41f32
commit 5f9fa28251
6 changed files with 34 additions and 8 deletions

View File

@@ -77,6 +77,7 @@ typedef struct
#define FILE_MOD_RESET(ms) memset(ms,0,sizeof(file_mod_sig))
bool file_mod_signature(const char *filename, file_mod_sig *ms);
time_t file_mod_time(const char *filename);
bool file_open_test(const char *filename, int flags);
typedef struct
{