Add #ifdef around switch statement for ETXTBUSY
authorTheodore Tso <tytso@mit.edu>
Thu, 15 Jun 1995 03:56:04 +0000 (03:56 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 15 Jun 1995 03:56:04 +0000 (03:56 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6067 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/file/ChangeLog
src/lib/krb5/ccache/file/fcc_errs.c
src/lib/krb5/ccache/stdio/ChangeLog
src/lib/krb5/ccache/stdio/scc_errs.c

index 93122159059c052a837956af4bba6af1601fd931..c4c56e704200d3ad6e6fd3d7de87f78f12219a5a 100644 (file)
@@ -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
index b93e162202472249165c4f79107d8736107b7750..0f21445ff763668e99bba72721be3f7475e22141 100644 (file)
@@ -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;
index dab9b921a4c080b037603d68a41714b101ed14f2..2ca0d45c816c1b517d24dc7bd7c396b54a445002 100644 (file)
@@ -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
index f12f8b77d1d0364679933caace2f2a1c49ab6c74..e1e1655eec72d71d2c38bfa2f4594164187c0ff1 100644 (file)
@@ -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;