summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tests/gssapi/ChangeLog6
-rw-r--r--src/tests/gssapi/t_imp_name.c6
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 <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
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;