summaryrefslogtreecommitdiff
path: root/bin/sh/var.c
AgeCommit message (Expand)Author
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
2019-01-03sh: Do not place exported but unset variables into the environmentJilles Tjoelker
2018-02-13Allow overriding VTABSIZE at compile-time.Bryan Drewery
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-05-07sh: Fix INTOFF leak after a builtin with different locale settings.Jilles Tjoelker
2017-02-28Renumber copyright clause 4Warner Losh
2016-10-08sh: Do not import IFS's value from the environment.Jilles Tjoelker
2016-01-22sh: Clean a readonly local, even if the variable does not exist outside.Jilles Tjoelker
2016-01-10sh: Update associated state when restoring locals while leaving a function.Jilles Tjoelker
2016-01-07sh: Reduce size of options table.Jilles Tjoelker
2015-12-16sh: Fix use-after-free when attempting to modify a read-only variable.Jilles Tjoelker
2015-10-11sh: Make struct arglist an array instead of a linked list.Jilles Tjoelker
2015-03-03sh: Fix more compiler warnings related to variable declarations.Jilles Tjoelker
2015-03-01sh: Fix more compiler warnings.Jilles Tjoelker
2015-02-15sh: Prefer "" to nullstr where possible.Jilles Tjoelker
2014-03-27sh: Fix memory leak with an assignment before a regular builtin.Jilles Tjoelker
2014-03-27sh: Fix memory leak when trying to set a read only variable.Jilles Tjoelker
2014-03-26sh: Fix possible memory leaks and double frees with unexpected SIGINT.Jilles Tjoelker
2013-12-25sh: Simplify code related to PPID variable.Jilles Tjoelker
2013-12-24sh: Initialize OPTIND=1 even if it came from the environment.Jilles Tjoelker
2013-12-24sh: Remove an unused variable.Jilles Tjoelker
2013-11-30sh: Prefer memcpy() to strcpy() in most cases. Remove the scopy macro.Jilles Tjoelker
2013-08-14sh: Recognize "--" as end of options in local builtin.Jilles Tjoelker
2013-05-09Fix two typosEitan Adler
2013-01-20sh: Remove mkinit's initialization routine.Jilles Tjoelker
2012-09-15sh: Prefer internal nextopt() to libc getopt().Jilles Tjoelker
2012-02-04sh: Fix swapped INTON/INTOFF.Jilles Tjoelker
2012-02-04sh: Use vfork in a few common cases.Jilles Tjoelker
2011-06-17sh: Skip variables with invalid names in "set", "export -p", "readonly -p".Jilles Tjoelker
2011-06-13sh: Fix duplicate prototypes for builtins.Jilles Tjoelker
2011-06-12sh: Save/restore changed variables in optimized command substitution.Jilles Tjoelker
2011-05-15sh: Minor optimization to output from ulimit/export/readonly.Jilles Tjoelker
2011-05-08sh: Add \u/\U support (in $'...') for UTF-8.Jilles Tjoelker
2011-05-08sh: Optimize variable code by storing the length of the name.Jilles Tjoelker
2011-05-06sh: Track if the current locale's charset is UTF-8 or not.Jilles Tjoelker
2011-02-04sh: Remove special code for shell scripts without magic number.Jilles Tjoelker
2011-01-25sh: Clean up some old comments:Jilles Tjoelker
2011-01-01sh: Check readonly status for assignments on regular builtins.Jilles Tjoelker
2010-11-20sh: Code size optimizations to buffered output.Jilles Tjoelker
2010-11-13sh: Do the additional actions if 'local -' restore changes -i/-m/-E/-V.Jilles Tjoelker
2010-10-29sh: Tweak some string constants to reduce code size.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
2010-09-11sh: Apply variable assignments left-to-right in bltinlookup().Jilles Tjoelker
2010-06-02sh: Pass TERM changes to libedit.Jilles Tjoelker
2010-05-05sh: Apply locale vars on builtins, recognize LC_MESSAGES as a locale var.Jilles Tjoelker
2010-02-06sh: Do not stat() $MAIL/$MAILPATH in non-interactive shells.Jilles Tjoelker
2009-12-27sh: Change varinit to use const better.Jilles Tjoelker