From: Theodore Tso Date: Wed, 14 Apr 1999 16:05:33 +0000 (+0000) Subject: t_imp_name.c: Initialize display_file variable in main(), instead of X-Git-Tag: krb5-1.1-beta1~224 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e02b578ab64abb43f58cf84a659c2f354b400acb;p=krb5.git 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 --- 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;