From e02b578ab64abb43f58cf84a659c2f354b400acb Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 14 Apr 1999 16:05:33 +0000 Subject: [PATCH] t_imp_name.c: Initialize display_file variable in main(), instead of using a static initializer. (Needed for Linux/glibc 2.1) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11361 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/gssapi/ChangeLog | 6 ++++++ src/tests/gssapi/t_imp_name.c | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/tests/gssapi/ChangeLog b/src/tests/gssapi/ChangeLog index 7e8d991cc..f546808d2 100644 --- a/src/tests/gssapi/ChangeLog +++ b/src/tests/gssapi/ChangeLog @@ -1,3 +1,9 @@ +1999-04-14 + + * t_imp_name.c: Initialize display_file variable in main(), + instead of using a static initializer. (Needed for + Linux/glibc 2.1) + 1998-11-13 Theodore Ts'o * Makefile.in: Set the myfulldir and mydir variables (which are diff --git a/src/tests/gssapi/t_imp_name.c b/src/tests/gssapi/t_imp_name.c index d63faced3..182c37361 100644 --- a/src/tests/gssapi/t_imp_name.c +++ b/src/tests/gssapi/t_imp_name.c @@ -35,14 +35,16 @@ static void display_status_1(); static void display_buffer(); static int test_import_name(); -FILE *display_file = stdout; +FILE *display_file; int main(argc, argv) int argc; char **argv; { int retval; - + + display_file = stdout; + retval = test_import_name("host@dcl.mit.edu"); return retval; -- 2.26.2