mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 08:13:14 +02:00
core: use PATH_MAX for size of variable with complete filename in exec_on_files
This commit is contained in:
+1
-1
@@ -490,7 +490,7 @@ util_exec_on_files (const char *directory, int recurse_subdirs,
|
||||
void (*callback)(void *data, const char *filename),
|
||||
void *callback_data)
|
||||
{
|
||||
char complete_filename[1024];
|
||||
char complete_filename[PATH_MAX];
|
||||
DIR *dir;
|
||||
struct dirent *entry;
|
||||
struct stat statbuf;
|
||||
|
||||
Reference in New Issue
Block a user