aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gas/read.c b/gas/read.c
index 082670c..02f5a25 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -1,7 +1,5 @@
/* read.c - read a source file -
- Copyright 1986, 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
- 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
- 2010, 2011, 2012 Free Software Foundation, Inc.
+ Copyright 1986-2013 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -5794,8 +5792,8 @@ add_include_dir (char *path)
{
include_dir_count++;
include_dirs =
- (char **) realloc (include_dirs,
- include_dir_count * sizeof (*include_dirs));
+ (char **) xrealloc (include_dirs,
+ include_dir_count * sizeof (*include_dirs));
}
include_dirs[include_dir_count - 1] = path; /* New one. */