help
Einthusan Vigneswaran
einthusan at gmail.com
Fri Jul 3 00:18:23 UTC 2015
On 2015-07-02, 8:00 AM, "owner-svn-src-stable-9 at freebsd.org on behalf of svn-src-stable-9-request at freebsd.org" <owner-svn-src-stable-9 at freebsd.org on behalf of svn-src-stable-9-request at freebsd.org> wrote:
>Send svn-src-stable-9 mailing list submissions to
> svn-src-stable-9 at freebsd.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
>or, via email, send a message with subject or body 'help' to
> svn-src-stable-9-request at freebsd.org
>
>You can reach the person managing the list at
> svn-src-stable-9-owner at freebsd.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of svn-src-stable-9 digest..."
>
>
>Today's Topics:
>
> 1. svn commit: r285008 - stable/9/usr.sbin/dconschat
> (Pedro F. Giffuni)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Wed, 1 Jul 2015 15:04:55 +0000 (UTC)
>From: "Pedro F. Giffuni" <pfg at FreeBSD.org>
>To: src-committers at freebsd.org, svn-src-all at freebsd.org,
> svn-src-stable at freebsd.org, svn-src-stable-9 at freebsd.org
>Subject: svn commit: r285008 - stable/9/usr.sbin/dconschat
>Message-ID: <201507011504.t61F4ta2076160 at svn.freebsd.org>
>Content-Type: text/plain; charset=UTF-8
>
>Author: pfg
>Date: Wed Jul 1 15:04:54 2015
>New Revision: 285008
>URL: https://svnweb.freebsd.org/changeset/base/285008
>
>Log:
> MFC 284913:
> dconschat(8): Use NULL instead of 0 for the last argument in execl(3)
>
> Found while experimenting with the gcc sentinel attribute.
>
>Modified:
> stable/9/usr.sbin/dconschat/dconschat.c
>
>Modified: stable/9/usr.sbin/dconschat/dconschat.c
>==============================================================================
>--- stable/9/usr.sbin/dconschat/dconschat.c Wed Jul 1 15:03:49 2015 (r285007)
>+++ stable/9/usr.sbin/dconschat/dconschat.c Wed Jul 1 15:04:54 2015 (r285008)
>@@ -229,7 +229,7 @@ dconschat_fork_gdb(struct dcons_state *d
> snprintf(buf, 256, "\n[fork %s]\n", com);
> write(p->outfd, buf, strlen(buf));
>
>- execl("/bin/sh", "/bin/sh", "-c", com, 0);
>+ execl("/bin/sh", "/bin/sh", "-c", com, NULL);
>
> snprintf(buf, 256, "\n[fork failed]\n");
> write(p->outfd, buf, strlen(buf));
>
>
>------------------------------
>
>Subject: Digest Footer
>
>_______________________________________________
>svn-src-stable-9 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
>To unsubscribe, send any mail to "svn-src-stable-9-unsubscribe at freebsd.org"
>
>------------------------------
>
>End of svn-src-stable-9 Digest, Vol 46, Issue 2
>***********************************************
More information about the svn-src-stable-9
mailing list