projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gas: Update commit 4780e5e4933
[binutils-gdb.git]
/
gas
/
depend.c
diff --git
a/gas/depend.c
b/gas/depend.c
index 2dd35a4470c67b0c7011b67a317019607053c3e1..529dd0563332b241064f8db103993e145fe191f3 100644
(file)
--- a/
gas/depend.c
+++ b/
gas/depend.c
@@
-1,5
+1,5
@@
/* depend.c - Handle dependency tracking.
/* depend.c - Handle dependency tracking.
- Copyright (C) 1997-20
16
Free Software Foundation, Inc.
+ Copyright (C) 1997-20
21
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
This file is part of GAS, the GNU Assembler.
@@
-67,7
+67,7
@@
register_dependency (const char *filename)
return;
}
return;
}
- dep =
(struct dependency *) xmalloc (sizeof (struct dependency)
);
+ dep =
XNEW (struct dependency
);
dep->file = xstrdup (filename);
dep->next = dep_chain;
dep_chain = dep;
dep->file = xstrdup (filename);
dep->next = dep_chain;
dep_chain = dep;
@@
-121,8
+121,8
@@
quote_string_for_make (FILE *file, const char *src)
if (file)
putc (c, file);
i++;
if (file)
putc (c, file);
i++;
- /* Fall through.
This can mishandle things like "$(" but
-
there's no easy fix. */
+ /* Fall through.
*/
+
/* This can mishandle things like "$(" but
there's no easy fix. */
default:
ordinary_char:
/* This can mishandle characters in the string "\0\n%*?[\\~";
default:
ordinary_char:
/* This can mishandle characters in the string "\0\n%*?[\\~";