of char *. (change provided by Nathan Neulinger <nneul@umr.edu>)
* profile.hin: Make definition of const_profile_filespec_t to be
based on profile_filespec_t.
Compile time warnings cleanup.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12436
dc483132-0cff-0310-8789-
dd5450dbe970
+2000-06-26 Ezra Peisach <epeisach@zif.mit.edu>
+
+ * prof_init.c (profile_init_path): Use profile_filespec_t instead
+ of char *. (change provided by Nathan Neulinger <nneul@umr.edu>)
+
+ * profile.hin: Make definition of const_profile_filespec_t to be
+ based on profile_filespec_t.
+
2000-05-15 Alexandra Ellwood <lxs@mit.edu>
- * prof_get.c:
- prof_parse_boolean () was missing some curly brackets
- and was failing to check all the values in the list of
- possible strings.
+
+ * prof_get.c:
+ prof_parse_boolean () was missing some curly brackets
+ and was failing to check all the values in the list of
+ possible strings.
2000-04-03 Jeffrey Altman <jaltman@columbia.edu>
int n_entries, i;
int ent_len;
const char *s, *t;
- char **filenames;
+ profile_filespec_t *filenames;
errcode_t retval;
/* count the distinct filename components */
}
/* the array is NULL terminated */
- filenames = (char**) malloc((n_entries+1) * sizeof(char*));
+ filenames = (profile_filespec_t*) malloc((n_entries+1) * sizeof(char*));
if (filenames == 0)
return ENOMEM;
#ifdef PROFILE_USES_PATHS
typedef char* profile_filespec_t; /* path as C string */
typedef char* profile_filespec_list_t; /* list of : separated paths, C string */
-typedef const char* const_profile_filespec_t; /* path as C string */
-typedef const char* const_profile_filespec_list_t; /* list of : separated paths, C string */
+typedef const profile_filespec_t const_profile_filespec_t; /* path as C string */
+typedef const profile_filespec_list_t const_profile_filespec_list_t; /* list of : separated paths, C string */
#else
/* On MacOS, we use native file specifiers as unique file identifiers */
#include <Files.h>