oops
All checks were successful
pyrite-dev/taiga/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-03-02 01:14:30 +09:00
commit 05cce3405e
Signed by: nishi
GPG key ID: 27EF69B208EB9343

16
src/process.c Normal file
View file

@ -0,0 +1,16 @@
#include <taiga.h>
void process(const char* out, const char* full){
char* f = strrchr(full, '/');
if(f != NULL) f = f + 1;
if(f != NULL){
char* n;
f = u_strdup(f);
if((n = strrchr(f, '.')) != NULL) n[0] = 0;
free(f);
}
}