aboutsummaryrefslogtreecommitdiff
path: root/gdb/mac-xdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-01-31 01:24:03 +0000
committerAndrew Cagney <cagney@redhat.com>2001-01-31 01:24:03 +0000
commit4fcf66da885273eeeea8e14b771d0e3ea20799d9 (patch)
tree54c8a3ebd35bd426e7f39acd89ac000930cc3a39 /gdb/mac-xdep.c
parente191e0abe5e90c81f39b0a428de8e4e44184161f (diff)
downloadgdb-4fcf66da885273eeeea8e14b771d0e3ea20799d9.zip
gdb-4fcf66da885273eeeea8e14b771d0e3ea20799d9.tar.gz
gdb-4fcf66da885273eeeea8e14b771d0e3ea20799d9.tar.bz2
Replace strsave() with xstrdup().
Diffstat (limited to 'gdb/mac-xdep.c')
-rw-r--r--gdb/mac-xdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mac-xdep.c b/gdb/mac-xdep.c
index b2ed22b..019c8ba 100644
--- a/gdb/mac-xdep.c
+++ b/gdb/mac-xdep.c
@@ -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. */