aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/alias.c
Commit message (Expand)AuthorAgeFilesLines
* bin: Automated cleanup of cdefs and other formattingWarner Losh2023-11-271-3/+0
* bin: Remove ancient SCCS tags.Warner Losh2023-11-271-3/+0
* sh: introduce a function to iterate over all aliasesPiotr Pawel Stefaniak2023-09-121-6/+23
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
* sh: Fix use after free when resetting an in-use alias.Jilles Tjoelker2017-04-161-10/+1
* sh: Fix unalias -a while an alias is currently in use.Jilles Tjoelker2017-04-161-12/+20
* sh: Remove an XXX comment: it is normal for builtins to use argptr.Jilles Tjoelker2017-04-021-1/+1
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* sh: Don't hash alias name when there are no aliases.Jilles Tjoelker2016-02-211-2/+4
* sh: Fix some arithmetic undefined behaviour.Jilles Tjoelker2015-06-241-1/+1
* sh: Fix possible memory leaks and double frees with unexpected SIGINT.Jilles Tjoelker2014-03-261-1/+6
* sh: Solve the alias recursion problem in a less hackish way.Jilles Tjoelker2014-01-241-44/+0
* sh: Recognize "--" as end of options in alias builtin.Jilles Tjoelker2013-08-251-3/+5
* sh: Fix two issues when an alias is redefined:Jilles Tjoelker2012-11-081-0/+11
* sh: Fix duplicate prototypes for builtins.Jilles Tjoelker2011-06-131-0/+1
* sh: Reduce more needless differences between error messages.Jilles Tjoelker2011-06-041-1/+1
* sh: Remove special code for shell scripts without magic number.Jilles Tjoelker2011-02-041-9/+1
* sh: Add a function to print warnings (with command name and newline).Jilles Tjoelker2010-12-211-1/+1
* In the spirit of r90111, depend on c89 and remove the "STATIC" macroDavid E. O'Brien2010-10-131-9/+9
* Consistently use "STATIC" for all functions in order to be able to setDavid E. O'Brien2010-10-131-5/+5
* sh: Constify various strings.Jilles Tjoelker2009-12-241-3/+3
* be more type correct and align local ckmalloc() with its underlying malloc(3)...Ralf S. Engelschall2009-06-011-1/+1
* - Apply the r190270 changes to printing of single aliases too.Stefan Farfeleder2009-03-221-23/+48
* Make the output of the alias built-in POSIX-compliant: Drop the leading 'alias'Stefan Farfeleder2009-03-221-1/+6
* use 'const' for the parameters of the two static functions unalias() and hash...Ralf S. Engelschall2008-06-071-4/+4
* remove an unnecessary includeRalf S. Engelschall2008-06-071-1/+0
* Return 1 from the unalias builtin if _any_ removal fails, not just the lastStefan Farfeleder2005-09-021-1/+1
* Use prototypes in the MKINIT lines collected by mkinit.Stefan Farfeleder2005-08-131-1/+1
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-061-4/+0
* Changes following CScout analysis:Diomidis Spinellis2003-07-051-1/+1
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-2/+2
* Quote alias values in the output of the alias(1) builtin so they areTim J. Robbins2002-06-041-4/+10
* o __P has been reovedWarner Losh2002-02-021-21/+13
* Fixd with alias missing.SADA Kenji2000-07-151-0/+1
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
* Various spelling/formatting changes.Kris Kennaway1999-05-081-2/+2
* Add rcsid. Spelling.Philippe Charnier1998-05-181-3/+5
* Use the __unused attribute where warranted.Steve Price1997-05-191-3/+3
* Nuke register keyword usage and #if -> #ifdef.Steve Price1997-04-281-2/+2
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
* Merge in NetBSD mods and -Wall cleaning.Steve Price1996-12-141-2/+2
* Merge of 4.4-Lite2 sh source, plus some gcc -Wall cleaning. This is aPeter Wemm1996-09-011-8/+17
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2
* Added $Id$David Greenman1994-09-241-0/+2
* BSD 4.4 Lite bin SourcesRodney W. Grimes1994-05-261-0/+251