diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-14 09:51:00 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-14 09:51:00 +0000 |
commit | 19bdeb401606fad7884cca38aa06c19036e48a3f (patch) | |
tree | ae1f28c09ec3e9cb9389d086e629bd4ddad7f678 | |
parent | bd574d549d682de3e5e5390d82c199bb90b10d81 (diff) | |
download | gnunet-19bdeb401606fad7884cca38aa06c19036e48a3f.tar.gz gnunet-19bdeb401606fad7884cca38aa06c19036e48a3f.zip |
-special treatment for ./binaray-name
-rw-r--r-- | src/util/os_installation.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c index bfc5970fa..34ddd4372 100644 --- a/src/util/os_installation.c +++ b/src/util/os_installation.c | |||
@@ -477,8 +477,9 @@ GNUNET_OS_check_helper_binary (const char *binary) | |||
477 | } | 477 | } |
478 | GNUNET_free (binaryexe); | 478 | GNUNET_free (binaryexe); |
479 | #else | 479 | #else |
480 | if (GNUNET_YES == GNUNET_STRINGS_path_is_absolute (binary, GNUNET_NO, | 480 | if ( (GNUNET_YES == GNUNET_STRINGS_path_is_absolute (binary, GNUNET_NO, |
481 | NULL, NULL)) | 481 | NULL, NULL)) || |
482 | (0 == strncmp (binary, "./", 2)) ) | ||
482 | p = GNUNET_strdup (binary); | 483 | p = GNUNET_strdup (binary); |
483 | else | 484 | else |
484 | { | 485 | { |