summaryrefslogtreecommitdiffstats
path: root/src/include/ChangeLog
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1996-04-12 21:05:26 +0000
committerTheodore Tso <tytso@mit.edu>1996-04-12 21:05:26 +0000
commit2a9da575b9909387dfdd4f170b27af96bf086d02 (patch)
treedb263dbb2ebe42af848420c26d7890395ce39fad /src/include/ChangeLog
parent5ea50033bba35493cbeed003e823a1a496d95615 (diff)
downloadkrb5-2a9da575b9909387dfdd4f170b27af96bf086d02.tar.gz
krb5-2a9da575b9909387dfdd4f170b27af96bf086d02.tar.xz
krb5-2a9da575b9909387dfdd4f170b27af96bf086d02.zip
Fix wrapper macros so they don't try to dereference a function pointer
as a data value. This doesn't work if you're using hpux cc, since functions are aligned on 2-byte boundaries, but data has to be accessed on 4-byte boundaries. Accessing a function as a data value isn't ANSI C portable anyway. :-) Wrapper macros now take a function pointer, and check to see if the function pointer is non-NULL, instead of taking a (*funptr), and seeing if the function when treated as data object is non-NULL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7803 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/ChangeLog')
-rw-r--r--src/include/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index 77abed7194..e897a99ef4 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,3 +1,16 @@
+Thu Apr 11 23:50:24 1996 Theodore Y. Ts'o <tytso@dcl>
+
+ * krb5.hin (krb5_x, krb5_xc): Fix wrapper macros so they don't
+ try to dereference a function pointer as a data value.
+ This doesn't work if you're using hpux cc, since functions
+ are aligned on 2-byte boundaries, but data has to be
+ accessed on 4-byte boundaries. Accessing a function as a
+ data value isn't ANSI C portable anyway. :-) Wrapper
+ macros now take a function pointer, and check to see if
+ the function pointer is non-NULL, instead of taking a
+ (*funptr), and seeing if the function when treated as data
+ object is non-NULL.
+
Wed Apr 10 10:37:21 1996 Theodore Y. Ts'o (tytso@dcl)
* krb5.hin (krb5_validate_times): Add prototype of new function.