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 Oct 11, 2023
1 parent c4d439b commit d05de19
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 @@ -849,7 +849,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 d05de19

Please sign in to comment.