summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/ccache
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-06-15 03:56:04 +0000
committerTheodore Tso <tytso@mit.edu>1995-06-15 03:56:04 +0000
commit821ce16c47b36ff3f947fbe0773114bf5bdafc59 (patch)
tree58c6be0be48405394259f005d16a3242994b9a12 /src/lib/krb5/ccache
parent8bc24a6d121d47df82ce114127a2c5511b37e3f3 (diff)
downloadkrb5-821ce16c47b36ff3f947fbe0773114bf5bdafc59.tar.gz
krb5-821ce16c47b36ff3f947fbe0773114bf5bdafc59.tar.xz
krb5-821ce16c47b36ff3f947fbe0773114bf5bdafc59.zip
Add #ifdef around switch statement for ETXTBUSY
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6067 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/ccache')
-rw-r--r--src/lib/krb5/ccache/file/ChangeLog5
-rw-r--r--src/lib/krb5/ccache/file/fcc_errs.c2
-rw-r--r--src/lib/krb5/ccache/stdio/ChangeLog6
-rw-r--r--src/lib/krb5/ccache/stdio/scc_errs.c2
4 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/krb5/ccache/file/ChangeLog b/src/lib/krb5/ccache/file/ChangeLog
index 9312215905..c4c56e7042 100644
--- a/src/lib/krb5/ccache/file/ChangeLog
+++ b/src/lib/krb5/ccache/file/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jun 14 23:54:09 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * fcc_errs.c (krb5_fcc_interpret): Add #ifdef around switch
+ statement for ETXTBUSY.
+
Sat Jun 10 00:01:23 1995 Theodore Y. Ts'o <tytso@dcl>
* fcc_init.c (krb5_fcc_initialize): Make sure the status return
diff --git a/src/lib/krb5/ccache/file/fcc_errs.c b/src/lib/krb5/ccache/file/fcc_errs.c
index b93e162202..0f21445ff7 100644
--- a/src/lib/krb5/ccache/file/fcc_errs.c
+++ b/src/lib/krb5/ccache/file/fcc_errs.c
@@ -45,7 +45,9 @@ int errnum;
#ifdef ELOOP
case ELOOP: /* XXX */
#endif
+#ifdef ETXTBSY
case ETXTBSY:
+#endif
case EBUSY:
case EROFS:
retval = KRB5_FCC_PERM;
diff --git a/src/lib/krb5/ccache/stdio/ChangeLog b/src/lib/krb5/ccache/stdio/ChangeLog
index dab9b921a4..2ca0d45c81 100644
--- a/src/lib/krb5/ccache/stdio/ChangeLog
+++ b/src/lib/krb5/ccache/stdio/ChangeLog
@@ -1,3 +1,9 @@
+Wed Jun 14 23:55:24 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * scc_errs.c (krb5_scc_interpret): Add #ifdef around switch
+ statement for ETXTBUSY.
+
+
Sat Jun 10 00:04:02 1995 Theodore Y. Ts'o <tytso@dcl>
* scc_init.c (krb5_scc_initialize): Make sure the status return
diff --git a/src/lib/krb5/ccache/stdio/scc_errs.c b/src/lib/krb5/ccache/stdio/scc_errs.c
index f12f8b77d1..e1e1655eec 100644
--- a/src/lib/krb5/ccache/stdio/scc_errs.c
+++ b/src/lib/krb5/ccache/stdio/scc_errs.c
@@ -47,7 +47,9 @@ int errnum;
case EISDIR: /* Mac doesn't have EISDIR */
#endif
case ENOTDIR:
+#ifdef ETXTBSY
case ETXTBSY:
+#endif
case EBUSY:
case EROFS:
retval = KRB5_FCC_PERM;