aboutsummaryrefslogtreecommitdiff
path: root/src/util/os_installation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-14 09:51:00 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-14 09:51:00 +0000
commit19bdeb401606fad7884cca38aa06c19036e48a3f (patch)
treeae1f28c09ec3e9cb9389d086e629bd4ddad7f678 /src/util/os_installation.c
parentbd574d549d682de3e5e5390d82c199bb90b10d81 (diff)
downloadgnunet-19bdeb401606fad7884cca38aa06c19036e48a3f.tar.gz
gnunet-19bdeb401606fad7884cca38aa06c19036e48a3f.zip
-special treatment for ./binaray-name
Diffstat (limited to 'src/util/os_installation.c')
-rw-r--r--src/util/os_installation.c5
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 {