From owner-cvs-all Fri May 31 5:31:27 2002 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 DF26537B404; Fri, 31 May 2002 05:31:23 -0700 (PDT) Received: (from tjr@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4VCVNA98160; Fri, 31 May 2002 05:31:23 -0700 (PDT) (envelope-from tjr) Message-Id: <200205311231.g4VCVNA98160@freefall.freebsd.org> From: "Tim J. Robbins" Date: Fri, 31 May 2002 05:31:23 -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/05/31 05:31:23 PDT Modified files: bin/sh jobs.c jobs.h Log: Instead of keeping just the jobid of the most recently bg'd or fg'd job, keep a linked list of the jobs, most recently used first. This is required to support the idea of `previous job', and to allow the jobs fg and bg default to be correct according to POSIX. Revision Changes Path 1.35 +84 -9 src/bin/sh/jobs.c 1.14 +1 -0 src/bin/sh/jobs.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message