Date: Mon, 27 Dec 2010 22:18:27 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh memalloc.c memalloc.h Message-ID: <201012272218.oBRMIfHC077399@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012272218.oBRMIfHC077399>