summaryrefslogtreecommitdiff
path: root/bin/sh/memalloc.c
AgeCommit message (Expand)Author
2023-12-26sh(1): Fix typoKai-Yang Chen
2023-11-26bin: Automated cleanup of cdefs and other formattingWarner Losh
2023-11-26bin: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2021-04-01sh: silence sanitizerPiotr Pawel Stefaniak
2020-04-28sh: Assert INTOFF rather than applying it in ck*Jilles Tjoelker
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2015-02-15sh: Add stsavestr(), like savestr() but allocates using stalloc().Jilles Tjoelker
2013-11-30sh: Prefer memcpy() to strcpy() in most cases. Remove the scopy macro.Jilles Tjoelker
2013-05-11sh: Remove linked list of stack marks.Jilles Tjoelker
2013-04-01sh: Fix various compiler warnings.Jilles Tjoelker
2011-01-09sh: Follow-up to r216743, grabstackblock() can be replaced with stalloc().Jilles Tjoelker
2010-12-27sh: Simplify "stack string" code slightly.Jilles Tjoelker
2010-12-26sh: Fix integer overflow check, it checked an uninitialized variable.Jilles Tjoelker
2010-12-26sh: Allow arbitrary large numbers in CHECKSTRSPACE.Jilles Tjoelker
2010-12-12sh: Remove the herefd hack.Jilles Tjoelker
2010-11-23sh: Code size optimizations to "stack string" memory allocation:Jilles Tjoelker
2010-10-13Do not assume in growstackstr() that a "precious" character will beDavid E. O'Brien
2010-10-13In the spirit of r90111, depend on c89 and remove the "STATIC" macroDavid E. O'Brien
2010-10-13Consistently use "STATIC" for all functions in order to be able to setDavid E. O'Brien
2009-12-24sh: Constify various strings.Jilles Tjoelker
2009-06-01be more type correct and align local ckmalloc() with its underlying malloc(3)...Ralf S. Engelschall
2005-10-28Protect malloc, realloc and free calls with INT{ON,OFF} directly in chkalloc,Stefan Farfeleder
2004-04-06Remove clause 3 from the UCB licenses.Mark Murray
2003-07-05Changes following CScout analysis:Diomidis Spinellis
2003-02-24Third attempt at removing machdep.h and using ALIGN from <sys/param.h>.Marcel Moolenaar
2003-02-18Revert ALIGN change for the second and last time. I can't figure outTim J. Robbins
2003-02-17Second attempt at removing machdep.h and using ALIGN from <sys/param.h>.Tim J. Robbins
2003-02-16Temporarily back out machdep.h/ALIGN changes. It seems that on sparc64,Tim J. Robbins
2003-02-14Use the ALIGN macro from <sys/param.h> instead of defining our ownTim J. Robbins
2002-06-30Consistently use FBSDIDDavid E. O'Brien
2002-02-02o __P has been reovedWarner Losh
2001-07-26Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. TheSheldon Hearn
2000-08-16From submitter:Martin Cracauer
1999-08-27$Id$ -> $FreeBSD$Peter Wemm
1999-04-13Remove my temporary detection for PR 7059, Tor Egge fixed this bug.Martin Cracauer
1999-04-12Add a guarded abort() for the problem in PR bin/7059 (no fix so far,Martin Cracauer
1998-09-13Be more consistent with handling of quote mark control character.Tor Egge
1998-09-10Fix an inefficiency I introduced in my last commit.Martin Cracauer
1998-09-06Better handling of word splitting. Don't record the same regionTor Egge
1998-05-18Add rcsid. Spelling.Philippe Charnier
1997-04-28Nuke register keyword usage and #if -> #ifdef.Steve Price
1997-02-22Revert $FreeBSD$ to $Id$Peter Wemm
1997-01-14Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard
1996-12-14Merge in NetBSD mods and -Wall cleaning.Steve Price
1996-09-03Fix for PR#1287. This makes sh behave sensibly in case statements in thePeter Wemm
1996-09-01Merge of 4.4-Lite2 sh source, plus some gcc -Wall cleaning. This is aPeter Wemm
1994-09-24Added $Id$David Greenman
1994-05-26BSD 4.4 Lite bin SourcesRodney W. Grimes