aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-02-26 14:35:19 +0000
committerDaniel Jacobowitz <drow@false.org>2003-02-26 14:35:19 +0000
commit6f88d630226e1c92c8fdaef7ba08e5b13d03205c (patch)
treeced660c75012d1c8001a4fd89ece16382e85b17c /gdb
parent42644a8920a0cc315e2cc66f69af8b4150617b91 (diff)
downloadgdb-6f88d630226e1c92c8fdaef7ba08e5b13d03205c.zip
gdb-6f88d630226e1c92c8fdaef7ba08e5b13d03205c.tar.gz
gdb-6f88d630226e1c92c8fdaef7ba08e5b13d03205c.tar.bz2
Fix PR build/1097.
* utils.c (gdb_realpath): Move closing brace outwards one #endif.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/utils.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e775420..e63a408 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-26 Daniel Jacobowitz <drow@mvista.com>
+
+ Fix PR build/1097.
+ * utils.c (gdb_realpath): Move closing brace outwards one #endif.
+
2003-02-25 Andrew Cagney <cagney@redhat.com>
* frame.c (get_prev_frame): Add comment on check for
diff --git a/gdb/utils.c b/gdb/utils.c
index df196ec..f7ece88 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -2764,8 +2764,8 @@ gdb_realpath (const char *filename)
if (rp == NULL)
rp = filename;
return xstrdup (rp);
- }
# endif
+ }
#endif /* HAVE_REALPATH */
/* Method 2: The host system (i.e., GNU) has the function