Copy basename since pointer may be overwritten later according to man pages
Copy basename since pointer may be overwritten later according to man pages

coderstephen/walrus,coderstephen/walrus,coderstephen/walrus