Blame rpm-4.6.0-rc1-permit-tab.patch
|
Panu Matilainen |
57f2a1 |
commit 49c515179ac0d34c2bb43bf242b8eb27ff6c11b2
|
|
Panu Matilainen |
57f2a1 |
Author: Panu Matilainen <pmatilai@redhat.com>
|
|
Panu Matilainen |
57f2a1 |
Date: Sun Oct 19 01:53:03 2008 +0300
|
|
Panu Matilainen |
57f2a1 |
|
|
Panu Matilainen |
57f2a1 |
Permit tab as whitespace between macro arguments (rhbz#467567)
|
|
Panu Matilainen |
57f2a1 |
- another dumb regression from macro handling cleanups
|
|
Panu Matilainen |
57f2a1 |
|
|
Panu Matilainen |
57f2a1 |
diff --git a/rpmio/macro.c b/rpmio/macro.c
|
|
Panu Matilainen |
57f2a1 |
index 1e292c6..d1cbf93 100644
|
|
Panu Matilainen |
57f2a1 |
--- a/rpmio/macro.c
|
|
Panu Matilainen |
57f2a1 |
+++ b/rpmio/macro.c
|
|
Panu Matilainen |
57f2a1 |
@@ -798,7 +798,7 @@ grabArgs(MacroBuf mb, const rpmMacroEntry me, const char * se,
|
|
Panu Matilainen |
57f2a1 |
char *s = xcalloc((lastc-se)+1, sizeof(*s));
|
|
Panu Matilainen |
57f2a1 |
memcpy(s, se, (lastc-se));
|
|
Panu Matilainen |
57f2a1 |
|
|
Panu Matilainen |
57f2a1 |
- argvSplit(&av, s, " ");
|
|
Panu Matilainen |
57f2a1 |
+ argvSplit(&av, s, " \t");
|
|
Panu Matilainen |
57f2a1 |
argvAppend(&argv, av);
|
|
Panu Matilainen |
57f2a1 |
|
|
Panu Matilainen |
57f2a1 |
argvFree(av);
|