projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76ea0b5
)
Ignore the error when defining macro erroneously in spec file.
17/310017/1
sandbox/xuhy/fix-recursion-issue
author
xuhy
<huayong.xu@samsung.com>
Thu, 11 Apr 2024 10:20:02 +0000
(18:20 +0800)
committer
xuhy
<huayong.xu@samsung.com>
Fri, 19 Apr 2024 07:23:54 +0000
(15:23 +0800)
This patch is for backward compatibility (4.11).
Change-Id: I32c6ad1ad0b0795dcbe82cc51043f72c22c6df45
Signed-off-by: xuhy <huayong.xu@samsung.com>
rpmio/macro.c
patch
|
blob
|
history
diff --git
a/rpmio/macro.c
b/rpmio/macro.c
index 0afdc047dc72077fda6a0392e57d05965aacf16e..3e84d08df2fca7be57ac59e8ac1ca025de098a13 100644
(file)
--- a/
rpmio/macro.c
+++ b/
rpmio/macro.c
@@
-579,7
+579,7
@@
doDefine(MacroBuf mb, const char * se, size_t slen, int level, int expandbody)
exit:
if (rc)
- mb->error =
1
;
+ mb->error =
0
;
_free(buf);
_free(ebody);
return se;