summaryrefslogtreecommitdiff
path: root/build/parseChangelog.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/parseChangelog.c')
-rw-r--r--build/parseChangelog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/parseChangelog.c b/build/parseChangelog.c
index 3a6e000df..0c4b83237 100644
--- a/build/parseChangelog.c
+++ b/build/parseChangelog.c
@@ -10,8 +10,8 @@
#include <rpm/rpmlog.h>
#include "debug.h"
-#define SKIPSPACE(s) { while (*(s) && xisspace(*(s))) (s)++; }
-#define SKIPNONSPACE(s) { while (*(s) && !xisspace(*(s))) (s)++; }
+#define SKIPSPACE(s) { while (*(s) && risspace(*(s))) (s)++; }
+#define SKIPNONSPACE(s) { while (*(s) && !risspace(*(s))) (s)++; }
void addChangelogEntry(Header h, time_t time, const char *name, const char *text)
{
@@ -170,7 +170,7 @@ static rpmRC addChangelog(Header h, StringBuf sb)
/* name */
name = s;
while (*s != '\0') s++;
- while (s > name && xisspace(*s)) {
+ while (s > name && risspace(*s)) {
*s-- = '\0';
}
if (s == name) {
@@ -194,7 +194,7 @@ static rpmRC addChangelog(Header h, StringBuf sb)
s--;
/* backup to end of description */
- while ((s > text) && xisspace(*s)) {
+ while ((s > text) && risspace(*s)) {
*s-- = '\0';
}