Module Name:    src
Committed By:   roy
Date:           Sun Dec 13 00:04:40 UTC 2020

Modified Files:
        src/external/gpl2/diffutils/dist/src: util.c

Log Message:
diffutils: execl requires a NULL sentinel


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl2/diffutils/dist/src/util.c

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

Modified files:

Index: src/external/gpl2/diffutils/dist/src/util.c
diff -u src/external/gpl2/diffutils/dist/src/util.c:1.1.1.1 src/external/gpl2/diffutils/dist/src/util.c:1.2
--- src/external/gpl2/diffutils/dist/src/util.c:1.1.1.1	Wed Jan 13 03:15:30 2016
+++ src/external/gpl2/diffutils/dist/src/util.c	Sun Dec 13 00:04:40 2020
@@ -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 @@ begin_output (void)
 		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

Reply via email to