diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-19 17:57:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-19 17:57:29 +0100 |
commit | d473a706836012853193afc7000922601e4ada61 (patch) | |
tree | 01c43bd6b2121d90bc97ead47dd7654d9402ea1d /net-ftp/proftpd/files | |
parent | 420eeee727d39d869d864caddb04a80dafda7160 (diff) |
gentoo resync : 19.10.2017
Diffstat (limited to 'net-ftp/proftpd/files')
-rw-r--r-- | net-ftp/proftpd/files/proftpd-1.3.6_rc4-open-tests.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/net-ftp/proftpd/files/proftpd-1.3.6_rc4-open-tests.patch b/net-ftp/proftpd/files/proftpd-1.3.6_rc4-open-tests.patch deleted file mode 100644 index f65a2cc3fbb4..000000000000 --- a/net-ftp/proftpd/files/proftpd-1.3.6_rc4-open-tests.patch +++ /dev/null @@ -1,24 +0,0 @@ -gcc-6.3 + glibc-2.25 now can detect 2-argument open that is supposed to created new files. -diff --git a/tests/api/fsio.c b/tests/api/fsio.c -index 2041f43..18d173b 100644 ---- a/tests/api/fsio.c -+++ b/tests/api/fsio.c -@@ -1058,3 +1058,3 @@ START_TEST (fsio_sys_access_file_test) { - /* Make the file to check; we want it to have perms 664.*/ -- fd = open(fsio_test_path, O_CREAT|O_EXCL|O_WRONLY); -+ fd = open(fsio_test_path, O_CREAT|O_EXCL|O_WRONLY, S_IRUSR | S_IWUSR); - fail_if(fd < 0, "Unable to create file '%s': %s", fsio_test_path, -diff --git a/tests/api/scoreboard.c b/tests/api/scoreboard.c -index f0ffdbc..f26d833 100644 ---- a/tests/api/scoreboard.c -+++ b/tests/api/scoreboard.c -@@ -267,3 +267,3 @@ START_TEST (scoreboard_lock_test) { - -- fd = open(test_file2, O_CREAT|O_EXCL|O_RDWR); -+ fd = open(test_file2, O_CREAT|O_EXCL|O_RDWR, S_IRUSR | S_IWUSR); - fail_unless(fd >= 0, "Failed to open '%s': %s", test_file2, strerror(errno)); -@@ -911,3 +911,3 @@ START_TEST (scoreboard_entry_lock_test) { - -- fd = open(test_file2, O_CREAT|O_EXCL|O_RDWR); -+ fd = open(test_file2, O_CREAT|O_EXCL|O_RDWR, S_IRUSR | S_IWUSR); - fail_unless(fd >= 0, "Failed to open '%s': %s", test_file2, strerror(errno)); |