t_imp_name.c: Initialize display_file variable in main(), instead of
authorTheodore Tso <tytso@mit.edu>
Wed, 14 Apr 1999 16:05:33 +0000 (16:05 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 14 Apr 1999 16:05:33 +0000 (16:05 +0000)
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
src/tests/gssapi/t_imp_name.c

index 7e8d991cc7a9bf54bc67357a8dffc061937ceed5..f546808d2d8f5ecd5ab3277aad6a18dd21a3580c 100644 (file)
@@ -1,3 +1,9 @@
+1999-04-14    <tytso@rsts-11.mit.edu>
+
+       * 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  <tytso@rsts-11.mit.edu>
 
        * Makefile.in: Set the myfulldir and mydir variables (which are
index d63faced32fb320da5e23fa2980b3ae3a6867def..182c37361911d5adba6152204a8825786909d2c8 100644 (file)
@@ -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;