summaryrefslogtreecommitdiff
path: root/bin/sh/alias.c
AgeCommit message (Expand)Author
2025-05-16sh: Avoid referencing uninitialized memory in aliasJoseph Mingrone
2023-11-26bin: Automated cleanup of cdefs and other formattingWarner Losh
2023-11-26bin: Remove ancient SCCS tags.Warner Losh
2023-09-12sh: introduce a function to iterate over all aliasesPiotr Pawel Stefaniak
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2017-04-16sh: Fix use after free when resetting an in-use alias.Jilles Tjoelker
2017-04-16sh: Fix unalias -a while an alias is currently in use.Jilles Tjoelker
2017-04-02sh: Remove an XXX comment: it is normal for builtins to use argptr.Jilles Tjoelker
2017-02-28Renumber copyright clause 4Warner Losh
2016-02-21sh: Don't hash alias name when there are no aliases.Jilles Tjoelker
2015-06-24sh: Fix some arithmetic undefined behaviour.Jilles Tjoelker
2014-03-26sh: Fix possible memory leaks and double frees with unexpected SIGINT.Jilles Tjoelker
2014-01-24sh: Solve the alias recursion problem in a less hackish way.Jilles Tjoelker
2013-08-25sh: Recognize "--" as end of options in alias builtin.Jilles Tjoelker
2012-11-08sh: Fix two issues when an alias is redefined:Jilles Tjoelker
2011-06-13sh: Fix duplicate prototypes for builtins.Jilles Tjoelker
2011-06-04sh: Reduce more needless differences between error messages.Jilles Tjoelker
2011-02-04sh: Remove special code for shell scripts without magic number.Jilles Tjoelker
2010-12-21sh: Add a function to print warnings (with command name and newline).Jilles Tjoelker
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
2009-03-22- Apply the r190270 changes to printing of single aliases too.Stefan Farfeleder
2009-03-22Make the output of the alias built-in POSIX-compliant: Drop the leading 'alias'Stefan Farfeleder
2008-06-07use 'const' for the parameters of the two static functions unalias() and hash...Ralf S. Engelschall
2008-06-07remove an unnecessary includeRalf S. Engelschall
2005-09-02Return 1 from the unalias builtin if _any_ removal fails, not just the lastStefan Farfeleder
2005-08-13Use prototypes in the MKINIT lines collected by mkinit.Stefan Farfeleder
2004-04-06Remove clause 3 from the UCB licenses.Mark Murray
2003-07-05Changes following CScout analysis:Diomidis Spinellis
2002-06-30Consistently use FBSDIDDavid E. O'Brien
2002-06-04Quote alias values in the output of the alias(1) builtin so they areTim J. Robbins
2002-02-02o __P has been reovedWarner Losh
2000-07-15Fixd with alias missing.SADA Kenji
1999-08-27$Id$ -> $FreeBSD$Peter Wemm
1999-05-08Various spelling/formatting changes.Kris Kennaway
1998-05-18Add rcsid. Spelling.Philippe Charnier
1997-05-19Use the __unused attribute where warranted.Steve Price
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-01Merge of 4.4-Lite2 sh source, plus some gcc -Wall cleaning. This is aPeter Wemm
1995-05-30Remove trailing whitespace.Rodney W. Grimes
1994-09-24Added $Id$David Greenman
1994-05-26BSD 4.4 Lite bin SourcesRodney W. Grimes