aboutsummaryrefslogtreecommitdiffstats
path: root/main/mandoc/fix-tbl-null-pointer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/mandoc/fix-tbl-null-pointer.patch')
-rw-r--r--main/mandoc/fix-tbl-null-pointer.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/main/mandoc/fix-tbl-null-pointer.patch b/main/mandoc/fix-tbl-null-pointer.patch
deleted file mode 100644
index ab68f9a1a69..00000000000
--- a/main/mandoc/fix-tbl-null-pointer.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-===================================================================
-RCS file: /cvs/mandoc/tbl_term.c,v
-retrieving revision 1.69
-retrieving revision 1.70
-diff -u -p -r1.69 -r1.70
---- a/tbl_term.c 2019/03/16 21:35:48 1.69
-+++ b/tbl_term.c 2019/03/18 08:00:34 1.70
-@@ -629,7 +629,8 @@ tbl_hrule(struct termp *tp, const struct tbl_span *spp
-
- lw = cpp == NULL || cpn == NULL ||
- (cpn->pos != TBL_CELL_DOWN &&
-- (dpn == NULL || strcmp(dpn->string, "\\^") != 0))
-+ (dpn == NULL || dpn->string == NULL ||
-+ strcmp(dpn->string, "\\^") != 0))
- ? hw : 0;
- tbl_direct_border(tp, BHORIZ * lw,
- col->width + col->spacing / 2);
-@@ -675,7 +676,8 @@ tbl_hrule(struct termp *tp, const struct tbl_span *spp
-
- rw = cpp == NULL || cpn == NULL ||
- (cpn->pos != TBL_CELL_DOWN &&
-- (dpn == NULL || strcmp(dpn->string, "\\^") != 0))
-+ (dpn == NULL || dpn->string == NULL ||
-+ strcmp(dpn->string, "\\^") != 0))
- ? hw : 0;
-
- /* The line crossing at the end of this column. */