pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/diffbreaker/files/diffbreaker



Module Name:    pkgsrc
Committed By:   nat
Date:           Wed Jun 17 20:40:28 UTC 2020

Modified Files:
        pkgsrc/devel/diffbreaker/files/diffbreaker: diffbreaker.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/devel/diffbreaker/files/diffbreaker/diffbreaker.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/diffbreaker/files/diffbreaker/diffbreaker.c
diff -u pkgsrc/devel/diffbreaker/files/diffbreaker/diffbreaker.c:1.3 pkgsrc/devel/diffbreaker/files/diffbreaker/diffbreaker.c:1.4
--- pkgsrc/devel/diffbreaker/files/diffbreaker/diffbreaker.c:1.3        Wed Jun 17 11:45:08 2020
+++ pkgsrc/devel/diffbreaker/files/diffbreaker/diffbreaker.c    Wed Jun 17 20:40:28 2020
@@ -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 @@ read_data_to_buffer(char *myFile)
                        }
                }
        }
+       cpl++;
        l = n--;
 
        size_t totalalloc = (size_t)(l * cpl);



Home | Main Index | Thread Index | Old Index