projects
/
xmake.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c24b7ed
)
Bug fix
author
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 18 Oct 2025 02:54:21 +0000
(
03:54
+0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 18 Oct 2025 02:54:21 +0000
(
03:54
+0100)
read.c
patch
|
blob
|
history
diff --git
a/read.c
b/read.c
index 4d49ddd770e72c3753c7b574a20d8ef039939aa1..73e72f2af7a045948d718d9d4a0f7be9b80b7452 100644
(file)
--- a/
read.c
+++ b/
read.c
@@
-760,11
+760,19
@@
static int read_lbuf (struct linebuf *lbuf, int set_default) {
/* Make a fake all target. */
line = xstrdup ("all");
+
+ /* Get the filenames. */
+ filenames = parse_nameseq (line, sizeof (*filenames));
+
+ /* Get the depstr. */
+ depstr = xstrdup (line + 3);
- }
+ } else {
+
+ filenames = parse_nameseq (line, sizeof (*filenames));
+ depstr = xstrdup (colon + 1);
- filenames = parse_nameseq (line, sizeof (*filenames));
- depstr = xstrdup (colon + 1);
+ }
free (line);