Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-05-05 23:34:19 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-05-05 23:34:19 +0300
commitc246e0c3b6bfd4c57d12f8c3b232968b59757e26 (patch)
tree2043ae33a4acef91fa4749426930512daf3a206a /source/blender/blenlib/intern/path_util.c
parente00142bfa73ace6ba2e66923e3c36b08b72c57ed (diff)
Prefer name 'program' over 'binary'
binary-search is confusing!
Diffstat (limited to 'source/blender/blenlib/intern/path_util.c')
-rw-r--r--source/blender/blenlib/intern/path_util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c
index 67b28e82796..b079478f397 100644
--- a/source/blender/blenlib/intern/path_util.c
+++ b/source/blender/blenlib/intern/path_util.c
@@ -1026,7 +1026,7 @@ bool BLI_path_cwd(char *path)
* environment variable (Windows-only) onto *name in turn until such a file is found.
* Returns success/failure.
*/
-bool BLI_path_binary_extensions_add_win32(char *name, const size_t maxlen)
+bool BLI_path_program_extensions_add_win32(char *name, const size_t maxlen)
{
bool retval = false;
int type;
@@ -1071,7 +1071,7 @@ bool BLI_path_binary_extensions_add_win32(char *name, const size_t maxlen)
/**
* Search for a binary (executable)
*/
-bool BLI_path_binary_search(
+bool BLI_path_program_search(
char *fullname, const size_t maxlen,
const char *name)
{
@@ -1103,7 +1103,7 @@ bool BLI_path_binary_search(
BLI_path_append(filename, maxlen, name);
if (
#ifdef _WIN32
- BLI_path_binary_extensions_add_win32(filename, maxlen)
+ BLI_path_program_extensions_add_win32(filename, maxlen)
#else
BLI_exists(filename)
#endif