mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
f28a05d93d
While I'm here, fix compilation; subtracting 2 pointers on a 64-bit machine gives something the same size as a size_t. Refactor the patches by using 'make makepatch'. PR: 186604 Submitted by: Mikhail - mp39590 gmail com
13 lines
401 B
C
13 lines
401 B
C
--- ./par.c.orig 2001-04-02 05:25:57.000000000 +0100
|
|
+++ ./par.c 2014-02-10 21:14:29.000000000 +0000
|
|
@@ -403,7 +403,8 @@
|
|
}
|
|
continue;
|
|
}
|
|
- if (isspace(c)) ch = ' ';
|
|
+ // Exclude non-breaking space from the class of space chars
|
|
+ if (isspace(c) && isascii(c)) ch = ' ';
|
|
else blank = 0;
|
|
additem(cbuf, &ch, errmsg);
|
|
if (*errmsg) goto rlcleanup;
|