OSDN Git Service

Relax EXPANDDIR_MAX_SIZE limit
authorStarg <starg@users.osdn.me>
Sun, 6 May 2018 17:42:40 +0000 (02:42 +0900)
committerStarg <starg@users.osdn.me>
Sun, 6 May 2018 17:42:40 +0000 (02:42 +0900)
interface/w32g_utl.c

index 13ddd17..0b6a179 100644 (file)
@@ -1810,7 +1810,7 @@ void ScanDirectoryFiles(char *basedir,
        url_close(dir);
 }
 
-#define EXPANDDIR_MAX_SIZE  100000     /* Limit of total bytes of the file names */
+#define EXPANDDIR_MAX_SIZE  1000000    /* Limit of total bytes of the file names */
 static int expand_dir_proc(char *filename, void *v)
 {
        void **user_val = (void **)v;