From: Theodore Tso Date: Wed, 12 Jun 1996 05:09:39 +0000 (+0000) Subject: Add #ifdef _WIN32 in places where we had #ifdef _MSDOS X-Git-Tag: krb5-1.0-beta7~379 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4573b8613c55224c674f17ae8cbdedbd14682b23;p=krb5.git Add #ifdef _WIN32 in places where we had #ifdef _MSDOS git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8314 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/keytab/file/ChangeLog b/src/lib/krb5/keytab/file/ChangeLog index 3957f037f..58112dccc 100644 --- a/src/lib/krb5/keytab/file/ChangeLog +++ b/src/lib/krb5/keytab/file/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 12 01:09:01 1996 Theodore Ts'o + + * ser_ktf.c: Add #ifdef _WIN32 in places where we had #ifdef _MSDOS + Thu May 9 03:05:51 1996 Richard Basch * ktf_g_ent.c (krb5_ktfile_get_entry): don't skip over keytab diff --git a/src/lib/krb5/keytab/file/ser_ktf.c b/src/lib/krb5/keytab/file/ser_ktf.c index aadc71ee1..3be699b8b 100644 --- a/src/lib/krb5/keytab/file/ser_ktf.c +++ b/src/lib/krb5/keytab/file/ser_ktf.c @@ -163,7 +163,7 @@ krb5_ktf_keytab_externalize(kcontext, arg, buffer, lenremain) int fflags = 0; file_is_open = 1; -#if !defined( _MACINTOSH) && !defined(_MSDOS) +#if !defined( _MACINTOSH) && !defined(_MSDOS) && !defined(_WIN32) fflags = fcntl(fileno(ktdata->openf), F_GETFL, 0); if (fflags > 0) file_is_open |= ((fflags & O_ACCMODE) << 1); @@ -282,7 +282,7 @@ krb5_ktf_keytab_internalize(kcontext, argp, buffer, lenremain) int fmode; long fpos; -#if !defined( _MACINTOSH) && !defined(_MSDOS) +#if !defined( _MACINTOSH) && !defined(_MSDOS) && !defined(_WIN32) fmode = (file_is_open >> 1) & O_ACCMODE; #else fmode = 0;