forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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. */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user