* alt_prof.c (kadm5_get_config_params): Fix bug in direction of
test while walking through whitespace. Thanks to Matt Crawford.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11951
dc483132-0cff-0310-8789-
dd5450dbe970
+1999-12-01 Ken Raeburn <raeburn@mit.edu>
+
+ * logger.c (klog_vsyslog): Convert pid_t to long for printing.
+
+1999-11-30 Ken Raeburn <raeburn@mit.edu>
+
+ * alt_prof.c (kadm5_get_config_params): Fix bug in direction of
+ test while walking through whitespace. Thanks to Matt Crawford.
+
1999-10-26 Tom Yu <tlyu@mit.edu>
* Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
(ep = strchr(sp, (int) '\t'))) {
/* Fill in trailing whitespace of sp */
tp = ep - 1;
- while (isspace(*tp) && (tp < sp)) {
+ while (isspace(*tp) && (tp > sp)) {
*tp = '\0';
tp--;
}
cp += 15;
#endif /* HAVE_STRFTIME */
#ifdef VERBOSE_LOGS
- sprintf(cp, " %s %s[%d](%s): ",
- log_control.log_hostname, log_control.log_whoami, getpid(),
+ sprintf(cp, " %s %s[%ld](%s): ",
+ log_control.log_hostname, log_control.log_whoami, (long) getpid(),
severity2string(priority));
#else
sprintf(cp, " ");