aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/ccache/stdio
diff options
context:
space:
mode:
authorKeith Vetter <keithv@fusion.com>1995-04-14 00:56:21 +0000
committerKeith Vetter <keithv@fusion.com>1995-04-14 00:56:21 +0000
commit48e59557cdff501a25c809cda3f1dd34a27cc52f (patch)
tree3bbc11e8ef7f3866da45c06871f18b1fae020bcb /src/lib/krb5/ccache/stdio
parent73bd684de42505fe4e6a15803ddf074c57db671c (diff)
downloadkrb5-48e59557cdff501a25c809cda3f1dd34a27cc52f.zip
krb5-48e59557cdff501a25c809cda3f1dd34a27cc52f.tar.gz
krb5-48e59557cdff501a25c809cda3f1dd34a27cc52f.tar.bz2
Windows global stuff:
o removed INTERFACE from non-api functions o add FAR to pointers visible to the world o made the tests for __STDC__ also check for _WINDOWS o creates GSSAPI.DLL & GSSAPI.LIB as per spec. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5354 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/ccache/stdio')
-rw-r--r--src/lib/krb5/ccache/stdio/ChangeLog4
-rw-r--r--src/lib/krb5/ccache/stdio/scc_gennew.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/krb5/ccache/stdio/ChangeLog b/src/lib/krb5/ccache/stdio/ChangeLog
index 5fda9a6..f6f311f 100644
--- a/src/lib/krb5/ccache/stdio/ChangeLog
+++ b/src/lib/krb5/ccache/stdio/ChangeLog
@@ -1,3 +1,7 @@
+Thu Apr 13 16:32:12 1995 Keith Vetter (keithv@fusion.com)
+
+ * scc_genn.c: __STDC__ conditional also checks the _WINDOWS define.
+
Sat Mar 25 14:42:37 1995 Tom Yu (tlyu@dragons-lair)
* scc_maybe.c (krb5_scc_open_file): fixed typo (extra & in
diff --git a/src/lib/krb5/ccache/stdio/scc_gennew.c b/src/lib/krb5/ccache/stdio/scc_gennew.c
index 0172f4d..7e4e8db 100644
--- a/src/lib/krb5/ccache/stdio/scc_gennew.c
+++ b/src/lib/krb5/ccache/stdio/scc_gennew.c
@@ -86,7 +86,7 @@ krb5_scc_generate_new (context, id)
strcpy(((krb5_scc_data *) lid->data)->filename, scratch);
/* Make sure the file name is useable */
-#if defined(__STDC__)
+#if defined(__STDC__) || defined(_WINDOWS)
f = fopen (((krb5_scc_data *) lid->data)->filename, "wb+");
#else
f = fopen (((krb5_scc_data *) lid->data)->filename, "w+");