Source-Changes-HG archive

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

[src/trunk]: src/external/gpl2/diffutils/dist/src diffutils: execl requires a...



details:   https://anonhg.NetBSD.org/src/rev/03c8a1cb93a1
branches:  trunk
changeset: 957850:03c8a1cb93a1
user:      roy <roy%NetBSD.org@localhost>
date:      Sun Dec 13 00:04:40 2020 +0000

description:
diffutils: execl requires a NULL sentinel

diffstat:

 external/gpl2/diffutils/dist/src/util.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3546ff31a745 -r 03c8a1cb93a1 external/gpl2/diffutils/dist/src/util.c
--- a/external/gpl2/diffutils/dist/src/util.c   Sat Dec 12 21:35:21 2020 +0000
+++ b/external/gpl2/diffutils/dist/src/util.c   Sun Dec 13 00:04:40 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.1.1.1 2016/01/13 03:15:30 christos Exp $    */
+/*     $NetBSD: util.c,v 1.2 2020/12/13 00:04:40 roy Exp $     */
 
 /* Support routines for GNU DIFF.
 
@@ -217,7 +217,7 @@
                close (pipes[0]);
              }
 
-           execl (pr_program, pr_program, "-h", name, 0);
+           execl (pr_program, pr_program, "-h", name, NULL);
            _exit (errno == ENOEXEC ? 126 : 127);
          }
        else



Home | Main Index | Thread Index | Old Index