--- a/components/krb5/patches/051-fopenF.patch Tue May 10 22:37:01 2016 -0700
+++ b/components/krb5/patches/051-fopenF.patch Wed May 11 20:33:52 2016 -0700
@@ -787,9 +787,9 @@
if (!logfile) {
perror(*argv);
diff -ur krb5-1.13.2/src/util/profile/prof_file.c krb5-1.13.2.fopen/src/util/profile/prof_file.c
---- krb5-1.13.2/src/util/profile/prof_file.c 2015-05-08 18:27:02.000000000 -0500
-+++ krb5-1.13.2.fopen/src/util/profile/prof_file.c 2015-08-11 13:56:49.450805045 -0500
-@@ -123,7 +123,7 @@
+--- old/src/util/profile/prof_file.c 2016-03-31 16:44:53.634245353 -0700
++++ patched/src/util/profile/prof_file.c 2016-03-31 20:07:34.843286876 -0700
+@@ -126,7 +126,7 @@ static int rw_access(const_profile_files
*/
FILE *f;
@@ -798,7 +798,7 @@
if (f) {
fclose(f);
return 1;
-@@ -147,7 +147,7 @@
+@@ -150,7 +150,7 @@ static int r_access(const_profile_filesp
*/
FILE *f;
@@ -807,16 +807,16 @@
if (f) {
fclose(f);
return 1;
-@@ -346,7 +346,7 @@
- }
+@@ -355,7 +355,7 @@ errcode_t profile_update_file_data_locke
#endif
- errno = 0;
-- f = fopen(data->filespec, "r");
-+ f = fopen(data->filespec, "rF");
- if (f == NULL) {
- retval = errno;
- if (retval == 0)
-@@ -411,7 +411,7 @@
+ if (!isdir) {
+ errno = 0;
+- f = fopen(data->filespec, "r");
++ f = fopen(data->filespec, "rF");
+ if (f == NULL)
+ return (errno != 0) ? errno : ENOENT;
+ set_cloexec_file(f);
+@@ -423,7 +423,7 @@ static errcode_t write_data_to_file(prf_
errno = 0;