projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bd574d5
)
-special treatment for ./binaray-name
author
Christian Grothoff
<christian@grothoff.org>
Thu, 14 Jun 2012 09:51:00 +0000
(09:51 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 14 Jun 2012 09:51:00 +0000
(09:51 +0000)
src/util/os_installation.c
patch
|
blob
|
history
diff --git
a/src/util/os_installation.c
b/src/util/os_installation.c
index bfc5970fa43d6711e7aaef350375b37e52806fd4..34ddd43729931b472e9b14837e50450c42a6ad2e 100644
(file)
--- a/
src/util/os_installation.c
+++ b/
src/util/os_installation.c
@@
-477,8
+477,9
@@
GNUNET_OS_check_helper_binary (const char *binary)
}
GNUNET_free (binaryexe);
#else
- if (GNUNET_YES == GNUNET_STRINGS_path_is_absolute (binary, GNUNET_NO,
- NULL, NULL))
+ if ( (GNUNET_YES == GNUNET_STRINGS_path_is_absolute (binary, GNUNET_NO,
+ NULL, NULL)) ||
+ (0 == strncmp (binary, "./", 2)) )
p = GNUNET_strdup (binary);
else
{