Replace strsave() with xstrdup().
[deliverable/binutils-gdb.git] / gdb / mac-xdep.c
index b2ed22b76e26e80b5c66bab01daf760006e59066..019c8ba45525a7c054a93fffecf829aa4398c5d1 100644 (file)
@@ -1,5 +1,5 @@
 /* Top level support for Mac interface to GDB, the GNU debugger.
-   Copyright 1994 Free Software Foundation, Inc.
+   Copyright 1994, 2001 Free Software Foundation, Inc.
    Contributed by Cygnus Support.  Written by Stan Shebs.
 
    This file is part of GDB.
@@ -926,7 +926,7 @@ filename_completion_function (char *text, char *name)
 char *
 tilde_expand (char *str)
 {
-  return strsave (str);
+  return xstrdup (str);
 }
 
 /* Modified versions of standard I/O. */
This page took 0.022484 seconds and 4 git commands to generate.