aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/var.c
Commit message (Expand)AuthorAgeFilesLines
* sh: Do not place exported but unset variables into the environmentJilles Tjoelker2019-01-031-2/+2
* Allow overriding VTABSIZE at compile-time.Bryan Drewery2018-02-131-0/+2
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* sh: Fix INTOFF leak after a builtin with different locale settings.Jilles Tjoelker2017-05-071-1/+1
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* sh: Do not import IFS's value from the environment.Jilles Tjoelker2016-10-081-0/+1
* sh: Clean a readonly local, even if the variable does not exist outside.Jilles Tjoelker2016-01-221-0/+1
* sh: Update associated state when restoring locals while leaving a function.Jilles Tjoelker2016-01-101-0/+11
* sh: Reduce size of options table.Jilles Tjoelker2016-01-071-3/+3
* sh: Fix use-after-free when attempting to modify a read-only variable.Jilles Tjoelker2015-12-161-1/+1
* sh: Make struct arglist an array instead of a linked list.Jilles Tjoelker2015-10-111-15/+13
* sh: Fix more compiler warnings related to variable declarations.Jilles Tjoelker2015-03-031-0/+1
* sh: Fix more compiler warnings.Jilles Tjoelker2015-03-011-1/+8
* sh: Prefer "" to nullstr where possible.Jilles Tjoelker2015-02-151-1/+1
* sh: Fix memory leak with an assignment before a regular builtin.Jilles Tjoelker2014-03-271-2/+8
* sh: Fix memory leak when trying to set a read only variable.Jilles Tjoelker2014-03-271-1/+4
* sh: Fix possible memory leaks and double frees with unexpected SIGINT.Jilles Tjoelker2014-03-261-3/+10
* sh: Simplify code related to PPID variable.Jilles Tjoelker2013-12-251-7/+2
* sh: Initialize OPTIND=1 even if it came from the environment.Jilles Tjoelker2013-12-241-0/+1
* sh: Remove an unused variable.Jilles Tjoelker2013-12-241-1/+0
* sh: Prefer memcpy() to strcpy() in most cases. Remove the scopy macro.Jilles Tjoelker2013-11-301-5/+8
* sh: Recognize "--" as end of options in local builtin.Jilles Tjoelker2013-08-141-0/+1
* Fix two typosEitan Adler2013-05-091-2/+2
* sh: Remove mkinit's initialization routine.Jilles Tjoelker2013-01-201-22/+10
* sh: Prefer internal nextopt() to libc getopt().Jilles Tjoelker2012-09-151-12/+6
* sh: Fix swapped INTON/INTOFF.Jilles Tjoelker2012-02-041-2/+2
* sh: Use vfork in a few common cases.Jilles Tjoelker2012-02-041-0/+3
* sh: Skip variables with invalid names in "set", "export -p", "readonly -p".Jilles Tjoelker2011-06-171-0/+13
* sh: Fix duplicate prototypes for builtins.Jilles Tjoelker2011-06-131-0/+1
* sh: Save/restore changed variables in optimized command substitution.Jilles Tjoelker2011-06-121-3/+7
* sh: Minor optimization to output from ulimit/export/readonly.Jilles Tjoelker2011-05-151-6/+5
* sh: Add \u/\U support (in $'...') for UTF-8.Jilles Tjoelker2011-05-081-0/+7
* sh: Optimize variable code by storing the length of the name.Jilles Tjoelker2011-05-081-121/+121
* sh: Track if the current locale's charset is UTF-8 or not.Jilles Tjoelker2011-05-061-0/+19
* sh: Remove special code for shell scripts without magic number.Jilles Tjoelker2011-02-041-42/+1
* sh: Clean up some old comments:Jilles Tjoelker2011-01-251-6/+3
* sh: Check readonly status for assignments on regular builtins.Jilles Tjoelker2011-01-011-2/+6
* sh: Code size optimizations to buffered output.Jilles Tjoelker2010-11-201-9/+12
* sh: Do the additional actions if 'local -' restore changes -i/-m/-E/-V.Jilles Tjoelker2010-11-131-0/+1
* sh: Tweak some string constants to reduce code size.Jilles Tjoelker2010-10-291-1/+1
* In the spirit of r90111, depend on c89 and remove the "STATIC" macroDavid E. O'Brien2010-10-131-8/+8
* Consistently use "STATIC" for all functions in order to be able to setDavid E. O'Brien2010-10-131-7/+7
* sh: Apply variable assignments left-to-right in bltinlookup().Jilles Tjoelker2010-09-111-1/+5
* sh: Pass TERM changes to libedit.Jilles Tjoelker2010-06-021-0/+5
* sh: Apply locale vars on builtins, recognize LC_MESSAGES as a locale var.Jilles Tjoelker2010-05-051-7/+68
* sh: Do not stat() $MAIL/$MAILPATH in non-interactive shells.Jilles Tjoelker2010-02-061-1/+6
* sh: Change varinit to use const better.Jilles Tjoelker2009-12-271-13/+13
* sh: Various warning fixes (from WARNS=6 NO_WERROR=1):Jilles Tjoelker2009-12-271-4/+4
* sh: Constify various strings.Jilles Tjoelker2009-12-241-20/+19
* sh: Remove setting variables from dotcmd/exportcmd.Jilles Tjoelker2009-12-241-1/+0