]> Kevux Git Server - fll/commit
Bugfix: Copy should destination should be the base name rather than the entire path.
authorKevin Day <thekevinday@gmail.com>
Fri, 22 Jul 2022 01:30:46 +0000 (20:30 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 22 Jul 2022 01:30:46 +0000 (20:30 -0500)
commitf57654c80ecb53fd40bf2b2e18d41197718bbaa7
treebec1826eb9d2fe15a2ed8ebe7e7e43ee5edb260f
parent713fed1f9755f48164eb00f8b3d1572943bb2c9d
Bugfix: Copy should destination should be the base name rather than the entire path.

The entire path is being appended to the destination when performing a clone or a copy operation.
Example:
  copy a/b/c.txt destination/

This should copy c.txt as "destination/c.txt".
What instead happens is this: "destination/a/b/c.txt".

Change the code to now detect the file base name and append the base name rather than append the entire path.
level_3/fake/c/private-make-operate_process_type.c
level_3/fake/c/private-make-operate_process_type.h