Cleanup base_name() function.
Replace strlen(), xmalloc(), strcpy() sequence with xstrdup(). Add const annotation and fix function declaration style while here.
Please register or sign in to comment
Replace strlen(), xmalloc(), strcpy() sequence with xstrdup(). Add const annotation and fix function declaration style while here.