From owner-cvs-all Sun Dec 3 17:26:33 2000 From owner-cvs-all@FreeBSD.ORG Sun Dec 3 17:26:30 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A8B0237B400; Sun, 3 Dec 2000 17:26:30 -0800 (PST) Received: (from jdp@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eB41QUP07454; Sun, 3 Dec 2000 17:26:30 -0800 (PST) (envelope-from jdp) Message-Id: <200012040126.eB41QUP07454@freefall.freebsd.org> From: John Polstra Date: Sun, 3 Dec 2000 17:26:30 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen setproctitle.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jdp 2000/12/03 17:26:30 PST Modified files: lib/libc/gen setproctitle.c Log: When recording the original arguments, don't (ab)use "nargc" for iterating over the arguments. Doing so wipes out the value which is about to be stored into the ps_strings structure. Revision Changes Path 1.13 +5 -4 src/lib/libc/gen/setproctitle.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message