Fix PR build/1097.
authorDaniel Jacobowitz <drow@false.org>
Wed, 26 Feb 2003 14:35:19 +0000 (14:35 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 26 Feb 2003 14:35:19 +0000 (14:35 +0000)
* utils.c (gdb_realpath): Move closing brace outwards one #endif.

gdb/ChangeLog
gdb/utils.c

index e775420..e63a408 100644 (file)
@@ -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
index df196ec..f7ece88 100644 (file)
@@ -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