+2001-03-07 Ken Raeburn <raeburn@mit.edu>
+
+ * test_et.c (main): Only use sys_nerr tests if HAVE_SYS_ERRLIST.
+
2001-01-19 Ken Raeburn <raeburn@mit.edu>
* com_err.h (add_error_table, remove_error_table): Annotate as
compile_et: $(srcdir)/compile_et.sh $(srcdir)/config_script
$(SHELL) $(srcdir)/config_script $(srcdir)/compile_et.sh \
- $(mydatadir) $(AWK) $(SED) > compile_et
+ "$(mydatadir)" $(AWK) $(SED) > compile_et
chmod 755 compile_et
rebuild: rebuild-c rebuild-h
printf("Msg TGT-expired is '%s'\n", error_message(KRB_MK_AP_TGTEXP));
printf("Msg EPERM is '%s'\n", error_message(EPERM));
printf("Msg FOO_ERR is '%s'\n", error_message(FOO_ERR));
+#ifdef HAVE_SYS_ERRLIST
printf("Msg {sys_nerr-1} is '%s'\n", error_message(sys_nerr-1));
printf("Msg {sys_nerr} is '%s'\n", error_message(sys_nerr));
+#endif
printf("Msg 0 is '%s'\n", error_message(0));
printf("With 0: tgt-expired -> %s\n", error_message(KRB_MK_AP_TGTEXP));
printf("Msg for TGT-expired is '%s'\n",
error_message(KRB_MK_AP_TGTEXP));
+#ifdef HAVE_SYS_ERRLIST
printf("Msg {sys_nerr-1} is '%s'\n", error_message(sys_nerr-1));
+#endif
printf("Msg FOO_ERR is '%s'\n", error_message(FOO_ERR));
printf("Msg KRB_SKDC_CANT is '%s'\n",
error_message(KRB_SKDC_CANT));