blob: d7eaa5aaafd1972854916f2692224d863c84d8c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ab,v 1.5 2008/05/09 18:30:49 agc Exp $
--- pardiff/pardiff.c.orig 2006-01-09 17:50:29.000000000 +0000
+++ pardiff/pardiff.c
@@ -287,7 +287,7 @@
* Preprocess lines to get a consistent EOL
*/
if (convertCrlf) {
-#if defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__
+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__APPLE__)
line_len = strlen(nextline);
#else
line_len = strnlen(nextline, PARDIFF_LINE_BUF_SIZE);
|