patch [#34103] path_util_cleanups.patch
from Lawrence D'Oliveiro (ldo) - Better argument name for BLI_cleanup_path and BLI_cleanup_file - remove redundant BLI_add_slash already done by BLI_cleanup_dir
This commit is contained in:
@@ -132,9 +132,9 @@ __attribute__((nonnull(1)))
|
||||
* converts it to a regular full path.
|
||||
* Also removes garbage from directory paths, like /../ or double slashes etc
|
||||
*/
|
||||
void BLI_cleanup_file(const char *relabase, char *dir); /* removes trailing slash */
|
||||
void BLI_cleanup_file(const char *relabase, char *path); /* removes trailing slash */
|
||||
void BLI_cleanup_dir(const char *relabase, char *dir); /* same as above but adds a trailing slash */
|
||||
void BLI_cleanup_path(const char *relabase, char *dir); /* doesn't touch trailing slash */
|
||||
void BLI_cleanup_path(const char *relabase, char *path); /* doesn't touch trailing slash */
|
||||
|
||||
/* go back one directory */
|
||||
bool BLI_parent_dir(char *path);
|
||||
|
||||
Reference in New Issue
Block a user