gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r29328 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r29328 - gnunet/src/util
Date: Mon, 16 Sep 2013 17:13:52 +0200

Author: harsha
Date: 2013-09-16 17:13:52 +0200 (Mon, 16 Sep 2013)
New Revision: 29328

Modified:
   gnunet/src/util/os_installation.c
Log:
- don't append libexec path to absolute paths


Modified: gnunet/src/util/os_installation.c
===================================================================
--- gnunet/src/util/os_installation.c   2013-09-16 15:10:51 UTC (rev 29327)
+++ gnunet/src/util/os_installation.c   2013-09-16 15:13:52 UTC (rev 29328)
@@ -634,6 +634,8 @@
 
   if (DIR_SEPARATOR == progname[0])
     return GNUNET_strdup (progname);
+  if (GNUNET_YES == GNUNET_STRINGS_path_is_absolute (progname, GNUNET_NO, 
NULL, NULL))
+    return GNUNET_strdup (progname);
   libexecdir = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_LIBEXECDIR);
   if (NULL == libexecdir)
     return GNUNET_strdup (progname);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]