<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in exec.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>4600b569 - sh: Don&apos;t treat % specially in CDPATH</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#4600b569</link>
        <description>sh: Don&apos;t treat % specially in CDPATH

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Sun, 15 Jul 2018 21:55:17 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>b9807277 - sh: Update TOUR and comments for some code changes, some of them old.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#b9807277</link>
        <description>sh: Update TOUR and comments for some code changes, some of them old.Also, improve some terminology in TOUR and comments.

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Sat, 06 May 2017 13:28:42 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>fbbd9655 - Renumber copyright clause 4</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#fbbd9655</link>
        <description>Renumber copyright clause 4Renumber cluase 4 to 3, per what everybody else did when BSD grantedthem permission to remove clause 3. My insistance on keeping the samenumbering for legal reasons is too pedantic, so give up on that point.Submitted by:	Jan Schaumann &lt;jschauma@stevens.edu&gt;Pull Request:	https://github.com/freebsd/freebsd/pull/96

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Tue, 28 Feb 2017 23:42:47 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7d980385 - sh: Fix copying uninitialized field &apos;special&apos;.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#7d980385</link>
        <description>sh: Fix copying uninitialized field &apos;special&apos;.This just copied uninitialized data and did not depend on it later, so itshould not be dangerous.Found by:	clang static analyzer

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Sun, 13 Mar 2016 22:54:14 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>d3fa2c78 - sh: Reduce size of builtins table.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#d3fa2c78</link>
        <description>sh: Reduce size of builtins table.

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Sun, 03 Jan 2016 21:30:22 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>c3c85727 - sh: Fix some arithmetic undefined behaviour.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#c3c85727</link>
        <description>sh: Fix some arithmetic undefined behaviour.Fix shifts of possibly negative numbers found with ubsan and avoid signedinteger overflow when hashing an extremely long command name.MFC after:	1 week

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Wed, 24 Jun 2015 20:51:48 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>e61ae4ff - sh: Remove prefix() function. Use strncmp() instead.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#e61ae4ff</link>
        <description>sh: Remove prefix() function. Use strncmp() instead.

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Sun, 20 Jul 2014 12:06:52 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>2ceda702 - sh: Simplify find_command() slightly.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#2ceda702</link>
        <description>sh: Simplify find_command() slightly.

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Sat, 31 May 2014 22:25:45 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>1632bf1a - sh: Fix possible memory leaks and double frees with unexpected SIGINT.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#1632bf1a</link>
        <description>sh: Fix possible memory leaks and double frees with unexpected SIGINT.

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Wed, 26 Mar 2014 20:43:40 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>670dd3f0 - sh: Prefer memcpy() to strcpy() in most cases. Remove the scopy macro.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#670dd3f0</link>
        <description>sh: Prefer memcpy() to strcpy() in most cases. Remove the scopy macro.

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Sat, 30 Nov 2013 21:27:11 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>5d4d10e3 - sh: Properly quote alias output from command -v.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#5d4d10e3</link>
        <description>sh: Properly quote alias output from command -v.An alias should be printed by command -v as a command line; therefore, makethe alias definition suitable for re-input to the shell.

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Sun, 10 Nov 2013 23:00:39 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>65519ccb - sh: Recognize &quot;--&quot; as end of options in type builtin.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#65519ccb</link>
        <description>sh: Recognize &quot;--&quot; as end of options in type builtin.This implementation makes minimal changes: command names starting with &quot;-&quot;(other than &quot;--&quot;) can still be queried normally.

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Fri, 30 Aug 2013 12:09:59 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>338b821b - sh: Remove mkinit.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#338b821b</link>
        <description>sh: Remove mkinit.Replace the RESET blocks with regular functions and a reset() function thatcalls them all.This code generation tool is unusual and does not appear to provide muchbenefit. I do not think isolating the knowledge about which modules need tobe reset is worth an almost 500-line build tool and wider scope forvariables used by the reset functions.Also, relying on reset functions is often wrong: the cleanup should be donein exception handlers so that no stale state remains after &apos;command eval&apos;and the like.

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Thu, 25 Jul 2013 15:08:41 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>46c6b52d - sh: Fix various compiler warnings.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#46c6b52d</link>
        <description>sh: Fix various compiler warnings.It now passes WARNS=7 with clang on i386.GCC 4.2.1 does not understand setjmp() properly so will always trigger-Wuninitialized. I will not add the volatile keywords to suppress this.

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Mon, 01 Apr 2013 17:18:22 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>523646ee - sh: Simplify cd-hash interaction.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#523646ee</link>
        <description>sh: Simplify cd-hash interaction.Instead of rechecking relative paths for all hashed utilities after a cd,track if any utility in cmdtable depends on a relative path in PATH.If there is such a utility, cd clears the entire table.As a result, the &apos;*&apos; in hash no longer happens.

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Mon, 14 Jan 2013 16:40:50 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>d172408c - sh: Change cmdtype in tblentry from short to signed char.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#d172408c</link>
        <description>sh: Change cmdtype in tblentry from short to signed char.If this is a smaller type than int anyway, we can make it the smallestpossible.

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Mon, 05 Nov 2012 17:52:18 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>422c281c - sh: Use C99 flexible array instead of accessing array beyond bounds.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#422c281c</link>
        <description>sh: Use C99 flexible array instead of accessing array beyond bounds.Although sufficient memory is available for a longer string in cmdname,this is undefined behaviour anyway.Side effect: for alignment reasons, an additional byte of memory isallocated per hashed command.

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Sat, 03 Nov 2012 22:23:08 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>84fbdd8c - sh: Expand assignment-like words specially for export/readonly/local.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#84fbdd8c</link>
        <description>sh: Expand assignment-like words specially for export/readonly/local.Examples:  export x=~now expands the tilde  local y=$1is now safe, even if $1 contains IFS characters or metacharacters.For a word to &quot;look like an assignment&quot;, it must start with a name followedby an equals sign, none of which may be quoted.The special treatment applies when the first word (potentially after&quot;command&quot;) is &quot;export&quot;, &quot;readonly&quot; or &quot;local&quot;. There may be quotingcharacters but no expansions. If &quot;local&quot; is overridden with a function thereis no special treatment (&quot;export&quot; and &quot;readonly&quot; cannot be overridden with afunction).If things like  local arr=(1 2 3)are ever allowed in the future, they cannot call a &quot;local&quot; function. Thiswould either be a run-time error or it would call the builtin.This matches Austin Group bug #351, planned for the next issue of POSIX.1.PR:		bin/166771

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Sun, 15 Jul 2012 10:19:43 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>f6d21b6e - MFC r196483,r196634:</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#f6d21b6e</link>
        <description>MFC r196483,r196634:sh: Fix crash when undefining or redefining a currently executing functionAdd a reference count to function definitions.Memory may leak if a SIGINT arrives in interactive mode at exactly the wrongtime, this will be fixed later by changing SIGINT handling.PR:		bin/137640Approved by:	re (kib)

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Sun, 11 Oct 2009 16:35:12 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>c0b3cf06 - sh: Make &apos;hash&apos; return 1 if at least one utility is not found.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/bin/sh/exec.c#c0b3cf06</link>
        <description>sh: Make &apos;hash&apos; return 1 if at least one utility is not found.Reported by:	lme

            List of files:
            /freebsd-12.1/bin/sh/exec.c</description>
        <pubDate>Sat, 11 Feb 2012 21:06:45 +0000</pubDate>
        <dc:creator>Jilles Tjoelker &lt;jilles@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
