aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-01 17:11:35 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-01 17:11:35 +0000
commitfd2436817f0466d182ac4478f1fee3f2368a81ea (patch)
tree06e45dbd118d89504fbfd87ed2787266e607f1e3 /src/util
parent67f3331b28aee547a80a972099c85e91cb3d5382 (diff)
downloadgnunet-fd2436817f0466d182ac4478f1fee3f2368a81ea.tar.gz
gnunet-fd2436817f0466d182ac4478f1fee3f2368a81ea.zip
-barato's byte order patch, might even help with #2130
Diffstat (limited to 'src/util')
-rw-r--r--src/util/os_installation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c
index ddd40fc00..2362b160d 100644
--- a/src/util/os_installation.c
+++ b/src/util/os_installation.c
@@ -494,12 +494,14 @@ GNUNET_OS_check_helper_binary (const char *binary)
494 GNUNET_free (p); 494 GNUNET_free (p);
495 return GNUNET_SYSERR; 495 return GNUNET_SYSERR;
496 } 496 }
497#ifndef MINGW
497 if (0 == getuid ()) 498 if (0 == getuid ())
498 { 499 {
499 /* as we run as root, we don't insist on SUID */ 500 /* as we run as root, we don't insist on SUID */
500 GNUNET_free (p); 501 GNUNET_free (p);
501 return GNUNET_OK; 502 return GNUNET_OK;
502 } 503 }
504#endif
503 if (0 != STAT (p, &statbuf)) 505 if (0 != STAT (p, &statbuf))
504 { 506 {
505 LOG (GNUNET_ERROR_TYPE_WARNING, _("stat (%s) failed: %s\n"), p, 507 LOG (GNUNET_ERROR_TYPE_WARNING, _("stat (%s) failed: %s\n"), p,