[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r21992 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r21992 - gnunet/src/util |
Date: |
Thu, 14 Jun 2012 11:50:05 +0200 |
Author: grothoff
Date: 2012-06-14 11:50:05 +0200 (Thu, 14 Jun 2012)
New Revision: 21992
Modified:
gnunet/src/util/os_installation.c
Log:
-special treatment for ./binaray-name
Modified: gnunet/src/util/os_installation.c
===================================================================
--- gnunet/src/util/os_installation.c 2012-06-14 09:48:08 UTC (rev 21991)
+++ gnunet/src/util/os_installation.c 2012-06-14 09:50:05 UTC (rev 21992)
@@ -461,8 +461,9 @@
char *binaryexe;
GNUNET_asprintf (&binaryexe, "%s.exe", binary);
- if (GNUNET_YES == GNUNET_STRINGS_path_is_absolute (binaryexe, GNUNET_NO,
- NULL, NULL))
+ if ( (GNUNET_YES == GNUNET_STRINGS_path_is_absolute (binaryexe, GNUNET_NO,
+ NULL, NULL)) ||
+ (0 == strncmp (binary, "./", 2)) )
p = GNUNET_strdup (binaryexe);
else
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r21992 - gnunet/src/util,
gnunet <=