Skip to content

Commit

Permalink
Don't let macro '%-x' add extra space between flag and argument
Browse files Browse the repository at this point in the history
Fix #2454
  • Loading branch information
rhabacker committed Mar 30, 2023
1 parent f262752 commit 4d0c21d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpmio/macro.c
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ static int mbopt(int c, const char *oarg, int oint, void *data)
/* Define option macros. */
rasprintf(&name, "-%c", c);
if (oarg) {
rasprintf(&body, "-%c %s", c, oarg);
rasprintf(&body, "-%c%s%s", c, fill, oarg);
} else {
rasprintf(&body, "-%c", c);
}
Expand Down

0 comments on commit 4d0c21d

Please sign in to comment.