From b7ec5b8da56966c85857d052f713fde753f1d1dc Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Thu, 23 Jun 1994 00:08:09 +0000 Subject: * energize-patches, main.c (main), top.c (gdb_init, pwd_command), top.h: Change all occurances of dirbuf to gdb_dirbuf. Collides with global variable of same name in libnsl.so on UnixWare. --- gdb/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/main.c') diff --git a/gdb/main.c b/gdb/main.c index eb0b8e2..2e0c00d 100644 --- a/gdb/main.c +++ b/gdb/main.c @@ -123,8 +123,8 @@ main (argc, argv) line[0] = '\0'; /* Terminate saved (now empty) cmd line */ instream = stdin; - getcwd (dirbuf, sizeof (dirbuf)); - current_directory = dirbuf; + getcwd (gdb_dirbuf, sizeof (gdb_dirbuf)); + current_directory = gdb_dirbuf; /* Parse arguments and options. */ { -- cgit v1.1