aboutsummaryrefslogtreecommitdiff
path: root/gdb/energize-patches
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1994-06-23 00:08:09 +0000
committerFred Fish <fnf@specifix.com>1994-06-23 00:08:09 +0000
commitb7ec5b8da56966c85857d052f713fde753f1d1dc (patch)
tree990a461dfb1a181fb9896fc7fc3d428c3226fc33 /gdb/energize-patches
parent3bf36e67e2528f0cb0ba9f9911ab362e20e1e23f (diff)
downloadgdb-b7ec5b8da56966c85857d052f713fde753f1d1dc.zip
gdb-b7ec5b8da56966c85857d052f713fde753f1d1dc.tar.gz
gdb-b7ec5b8da56966c85857d052f713fde753f1d1dc.tar.bz2
* 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.
Diffstat (limited to 'gdb/energize-patches')
-rwxr-xr-xgdb/energize-patches12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/energize-patches b/gdb/energize-patches
index 1797701..ed5b581 100755
--- a/gdb/energize-patches
+++ b/gdb/energize-patches
@@ -932,22 +932,22 @@
***************
*** 1920,1929 ****
- getcwd (dirbuf, sizeof (dirbuf));
+ getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
- if (strcmp (dirbuf, current_directory))
+ if (strcmp (gdb_dirbuf, current_directory))
! printf ("Working directory %s\n (canonically %s).\n",
- current_directory, dirbuf);
+ current_directory, gdb_dirbuf);
else
! printf ("Working directory %s.\n", current_directory);
}
static void
--- 1931,1940 ----
- getcwd (dirbuf, sizeof (dirbuf));
+ getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
- if (strcmp (dirbuf, current_directory))
+ if (strcmp (gdb_dirbuf, current_directory))
! printf_filtered ("Working directory %s\n (canonically %s).\n",
- current_directory, dirbuf);
+ current_directory, gdb_dirbuf);
else
! printf_filtered ("Working directory %s.\n", current_directory);
}