diff options
-rw-r--r-- | src/mysql/mysql.c | 2 | ||||
-rw-r--r-- | src/pt/test_gns_vpn.c | 2 | ||||
-rw-r--r-- | src/pt/test_gnunet_vpn.c | 2 | ||||
-rw-r--r-- | src/transport/plugin_transport_udp_broadcasting.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/mysql/mysql.c b/src/mysql/mysql.c index 50f5683d7..68a75d083 100644 --- a/src/mysql/mysql.c +++ b/src/mysql/mysql.c | |||
@@ -196,7 +196,7 @@ get_my_cnf_path(const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
196 | "mysql", | 196 | "mysql", |
197 | _("Trying to use file `%s' for MySQL configuration.\n"), | 197 | _("Trying to use file `%s' for MySQL configuration.\n"), |
198 | cnffile); | 198 | cnffile); |
199 | if ((0 != STAT(cnffile, &st)) || (0 != ACCESS(cnffile, R_OK)) || | 199 | if ((0 != stat(cnffile, &st)) || (0 != access(cnffile, R_OK)) || |
200 | (!S_ISREG(st.st_mode))) | 200 | (!S_ISREG(st.st_mode))) |
201 | { | 201 | { |
202 | if (configured == GNUNET_YES) | 202 | if (configured == GNUNET_YES) |
diff --git a/src/pt/test_gns_vpn.c b/src/pt/test_gns_vpn.c index 8a6e3e6d4..dbbdc830e 100644 --- a/src/pt/test_gns_vpn.c +++ b/src/pt/test_gns_vpn.c | |||
@@ -798,7 +798,7 @@ main(int argc, | |||
798 | GNUNET_log_setup("test-gns-vpn", | 798 | GNUNET_log_setup("test-gns-vpn", |
799 | "WARNING", | 799 | "WARNING", |
800 | NULL); | 800 | NULL); |
801 | if (0 != ACCESS("/dev/net/tun", R_OK)) | 801 | if (0 != access("/dev/net/tun", R_OK)) |
802 | { | 802 | { |
803 | GNUNET_log_strerror_file(GNUNET_ERROR_TYPE_ERROR, | 803 | GNUNET_log_strerror_file(GNUNET_ERROR_TYPE_ERROR, |
804 | "access", | 804 | "access", |
diff --git a/src/pt/test_gnunet_vpn.c b/src/pt/test_gnunet_vpn.c index ae5910824..60f4aad2a 100644 --- a/src/pt/test_gnunet_vpn.c +++ b/src/pt/test_gnunet_vpn.c | |||
@@ -421,7 +421,7 @@ main(int argc, char *const *argv) | |||
421 | int ret = 0; | 421 | int ret = 0; |
422 | 422 | ||
423 | #ifndef MINGW | 423 | #ifndef MINGW |
424 | if (0 != ACCESS("/dev/net/tun", R_OK)) | 424 | if (0 != access("/dev/net/tun", R_OK)) |
425 | { | 425 | { |
426 | GNUNET_log_strerror_file(GNUNET_ERROR_TYPE_ERROR, | 426 | GNUNET_log_strerror_file(GNUNET_ERROR_TYPE_ERROR, |
427 | "access", | 427 | "access", |
diff --git a/src/transport/plugin_transport_udp_broadcasting.c b/src/transport/plugin_transport_udp_broadcasting.c index 8ef73e3ae..470c03af8 100644 --- a/src/transport/plugin_transport_udp_broadcasting.c +++ b/src/transport/plugin_transport_udp_broadcasting.c | |||
@@ -450,7 +450,7 @@ iface_proc(void *cls, | |||
450 | GNUNET_asprintf(&filename, | 450 | GNUNET_asprintf(&filename, |
451 | "/dev/cryogenic/%s", | 451 | "/dev/cryogenic/%s", |
452 | name); | 452 | name); |
453 | if (0 == ACCESS(name, R_OK)) | 453 | if (0 == access(name, R_OK)) |
454 | { | 454 | { |
455 | ba->cryogenic_fd = | 455 | ba->cryogenic_fd = |
456 | GNUNET_DISK_file_open(filename, | 456 | GNUNET_DISK_file_open(filename, |
@@ -505,7 +505,7 @@ iface_proc(void *cls, | |||
505 | GNUNET_asprintf(&filename, | 505 | GNUNET_asprintf(&filename, |
506 | "/dev/cryogenic/%s", | 506 | "/dev/cryogenic/%s", |
507 | name); | 507 | name); |
508 | if (0 == ACCESS(name, R_OK)) | 508 | if (0 == access(name, R_OK)) |
509 | { | 509 | { |
510 | ba->cryogenic_fd = | 510 | ba->cryogenic_fd = |
511 | GNUNET_DISK_file_open(filename, | 511 | GNUNET_DISK_file_open(filename, |