]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Terminate the execl() argument list with (char *)NULL instead of 0.
authorharti <harti@FreeBSD.org>
Mon, 3 Nov 2003 12:41:27 +0000 (12:41 +0000)
committerharti <harti@FreeBSD.org>
Mon, 3 Nov 2003 12:41:27 +0000 (12:41 +0000)
commit378fe256e40ab8bd6e33f78bc18a352b44ba41ba
tree938d69704966903776131305f2ebaf21202b0ec9
parent6d5fff6caa6c2b8a0ddb8b72aaf469ed96f344b7
Terminate the execl() argument list with (char *)NULL instead of 0.
The later is wrong and may fail on sizeof(char *) != sizeof(int)
machines. The patch has already been sent to and accepted by the
diffutils author, but the file is already off the vendor branch, so
correct it here in the meanwhile too.
contrib/diff/util.c