diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2002-12-31 09:21:12 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2002-12-31 09:21:12 +0000 |
| commit | 279dfdc141bb3fc23c8fe25ea133c021b3a586ac (patch) | |
| tree | d1945398b4cdb2809664d5aa527cfe5059c5bb7f /src/util/profile/ChangeLog | |
| parent | e33427c7b4b006b206719bc9256c55d20860d1ec (diff) | |
| download | krb5-279dfdc141bb3fc23c8fe25ea133c021b3a586ac.tar.gz krb5-279dfdc141bb3fc23c8fe25ea133c021b3a586ac.tar.xz krb5-279dfdc141bb3fc23c8fe25ea133c021b3a586ac.zip | |
Merge some Mac-specific changes from meeroh's branch:
* profile.hin: Don't test MACINTOSH any more. On Mac OS X, include
TargetConditionals.h, set some pragmas, define COPY_RESOURCE_FORK, and error
out if TARGET_RT_MAC_CFM is defined; don't set the old m68k CFM pragmas.
Always use PROFILE_USES_PATHS code, don't test or define it.
(FSp_profile_init, FSp_profile_init_path): Declare, on Mac OS X.
* prof_int.h (NO_SYS_TYPES_H, NO_SYS_STAT_H) [macintosh]: Don't define these.
* prof_file.c: Always inclued sys/types.h and sys/stat.h.
(GetMacOSTempFilespec): Deleted.
(profile_flush_file_data) [COPY_RESOURCE_FORK]: Copy Mac resource fork from old
file to new before renaming.
(rw_access, profile_update_file_data, profile_flush_file_data,
profile_free_file_data): Assume PROFILE_USES_PATHS, don't test.
* prof_init.c (profile_ser_size, profile_ser_externalize,
profile_ser_internalize): Likewise.
(FSp_profile_init, FSp_profile_init_path): Define, on MacOS X.
* profile.exp: Add FSp_* functions.
* prof_file.c (r_access): New function.
(profile_open_file): Use it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15073 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/profile/ChangeLog')
| -rw-r--r-- | src/util/profile/ChangeLog | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index d641fc5c0..3b72fdb46 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -1,3 +1,27 @@ +2002-12-31 Ken Raeburn <raeburn@mit.edu> + + * prof_file.c (r_access): New function. + (profile_open_file): Use it. + + * profile.hin: Don't test MACINTOSH any more. On Mac OS X, + include TargetConditionals.h, set some pragmas, define + COPY_RESOURCE_FORK, and error out if TARGET_RT_MAC_CFM is + defined; don't set the old m68k CFM pragmas. Always use + PROFILE_USES_PATHS code, don't test or define it. + (FSp_profile_init, FSp_profile_init_path): Declare, on Mac OS X. + * prof_int.h (NO_SYS_TYPES_H, NO_SYS_STAT_H) [macintosh]: Don't + define these. + * prof_file.c: Always inclued sys/types.h and sys/stat.h. + (GetMacOSTempFilespec): Deleted. + (profile_flush_file_data) [COPY_RESOURCE_FORK]: Copy Mac resource + fork from old file to new before renaming. + (rw_access, profile_update_file_data, profile_flush_file_data, + profile_free_file_data): Assume PROFILE_USES_PATHS, don't test. + * prof_init.c (profile_ser_size, profile_ser_externalize, + profile_ser_internalize): Likewise. + (FSp_profile_init, FSp_profile_init_path): Define, on MacOS X. + * profile.exp: Add FSp_* functions. + 2002-12-23 Ezra Peisach <epeisach@bu.edu> * prof_file.c: Cast return from prof_mutex_lock and |
