From owner-cvs-all Thu Jul 18 3:22:48 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 915B537B400; Thu, 18 Jul 2002 03:22:43 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36F6943E5E; Thu, 18 Jul 2002 03:22:43 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from freefall.freebsd.org (tjr@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6IAMhJU026268; Thu, 18 Jul 2002 03:22:43 -0700 (PDT) (envelope-from tjr@freefall.freebsd.org) Received: (from tjr@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6IAMgqC026267; Thu, 18 Jul 2002 03:22:42 -0700 (PDT) Message-Id: <200207181022.g6IAMgqC026267@freefall.freebsd.org> From: "Tim J. Robbins" Date: Thu, 18 Jul 2002 03:22:42 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/sh jobs.c jobs.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tjr 2002/07/18 03:22:42 PDT Modified files: bin/sh jobs.c jobs.h Log: Avoid using ints or shorts to store process id's, use pid_t instead. The pgrp member of struct job was declared as a short and could not store every possible process group ID value, the rest of them were benign because pid_t happens to be an int. Revision Changes Path 1.52 +21 -20 src/bin/sh/jobs.c 1.17 +2 -2 src/bin/sh/jobs.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message