diff options
Diffstat (limited to 'gcc/java/jcf-parse.c')
-rw-r--r-- | gcc/java/jcf-parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index 0a5f5c32afa..f32072c5ff7 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.c @@ -449,7 +449,7 @@ void DEFUN(jcf_out_of_synch, (jcf), JCF *jcf) { - char *source = strdup (jcf->filename); + char *source = xstrdup (jcf->filename); int i = strlen (source); while (source[i] != '.') @@ -778,7 +778,7 @@ int yyparse () { int several_files = 0; - char *list = strdup (input_filename), *next; + char *list = xstrdup (input_filename), *next; tree node, current_file_list = NULL_TREE; do |