From owner-cvs-src-old@FreeBSD.ORG Mon Dec 27 22:18:41 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45FC31065703 for ; Mon, 27 Dec 2010 22:18:41 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 343658FC12 for ; Mon, 27 Dec 2010 22:18:41 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oBRMIfnJ077400 for ; Mon, 27 Dec 2010 22:18:41 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oBRMIfHC077399 for cvs-src-old@freebsd.org; Mon, 27 Dec 2010 22:18:41 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <201012272218.oBRMIfHC077399@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Mon, 27 Dec 2010 22:18:27 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/sh memalloc.c memalloc.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2010 22:18:41 -0000 jilles 2010-12-27 22:18:27 UTC FreeBSD src repository Modified files: bin/sh memalloc.c memalloc.h Log: SVN rev 216743 on 2010-12-27 22:18:27Z by jilles sh: Simplify "stack string" code slightly. Maintain a pointer to the end of the stack string area instead of how much space is left. This simplifies the macros in memalloc.h. The places where the new variable must be updated are only where the memory area is created, destroyed or resized. Revision Changes Path 1.37 +6 -15 src/bin/sh/memalloc.c 1.17 +11 -11 src/bin/sh/memalloc.h