Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/diffbreaker/files/diffbreaker Add extra padding ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7443cb1aea27
branches:  trunk
changeset: 434513:7443cb1aea27
user:      nat <nat%pkgsrc.org@localhost>
date:      Wed Jun 17 20:40:28 2020 +0000

description:
Add extra padding for characters per line.  This should avoid errors with
gcc 8.4 and SSP.

diffstat:

 devel/diffbreaker/files/diffbreaker/diffbreaker.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 37eae5f80a72 -r 7443cb1aea27 devel/diffbreaker/files/diffbreaker/diffbreaker.c
--- a/devel/diffbreaker/files/diffbreaker/diffbreaker.c Wed Jun 17 18:36:08 2020 +0000
+++ b/devel/diffbreaker/files/diffbreaker/diffbreaker.c Wed Jun 17 20:40:28 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: diffbreaker.c,v 1.3 2020/06/17 11:45:08 nat Exp $ */
+/* $NetBSD: diffbreaker.c,v 1.4 2020/06/17 20:40:28 nat Exp $ */
 
 /*-
  * Copyright (c) 2018, 2019 Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
@@ -411,6 +411,7 @@
                        }
                }
        }
+       cpl++;
        l = n--;
 
        size_t totalalloc = (size_t)(l * cpl);



Home | Main Index | Thread Index | Old Index