do not copy index.xml
All checks were successful
pyrite-dev/taiga/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-03-09 23:26:25 +09:00
commit 7e561c490e
Signed by: nishi
GPG key ID: 27EF69B208EB9343

View file

@ -51,7 +51,7 @@ static int scan(const char* top, int mode, const char* path) {
return 0; return 0;
} }
} else if(!mode) { } else if(!mode && strcmp(d->d_name, "index.xml") != 0) {
char* po = u_strvacat(out, d->d_name, NULL); char* po = u_strvacat(out, d->d_name, NULL);
FILE* fin = fopen(p, "rb"); FILE* fin = fopen(p, "rb");
FILE* fout = fopen(po, "wb"); FILE* fout = fopen(po, "wb");