<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dash/src/mktokens, branch master</title>
<subtitle>patched shell with cmake build
</subtitle>
<id>https://git.causal.agency/dash/atom?h=master</id>
<link rel='self' href='https://git.causal.agency/dash/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.causal.agency/dash/'/>
<updated>2020-05-15T06:24:38+00:00</updated>
<entry>
<title>shell: mktokens relative TMPDIR</title>
<updated>2020-05-15T06:24:38+00:00</updated>
<author>
<name>Michael Greenberg</name>
<email>michael.greenberg@pomona.edu</email>
</author>
<published>2020-04-30T03:04:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/dash/commit/?id=2b6a5a30eeae293ca50d849bc1dae15f27044f99'/>
<id>urn:sha1:2b6a5a30eeae293ca50d849bc1dae15f27044f99</id>
<content type='text'>
The mktokens script fails when /tmp isn't writable (e.g., when building
in a sandbox with a different TMPDIR). Replace absolute references to
/tmp to relative references to TMPDIR. If TMPDIR is unset or null,
default to /tmp.

The mkbuiltins script was already hardened to work relative to TMPDIR,
also defaulting to /tmp.

v2 ensures that TMPDIR is quoted.
v3 adds an extra quotation that prevents extra pathname expansions.

Signed-off-by: Michael Greenberg &lt;michael.greenberg@pomona.edu&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>[SHELL] Optimize dash -c "command" to avoid a fork</title>
<updated>2011-07-07T08:41:14+00:00</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2011-07-07T05:58:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/dash/commit/?id=ee5cbe9fd6bc02f31b4d955606288de36c3d4eab'/>
<id>urn:sha1:ee5cbe9fd6bc02f31b4d955606288de36c3d4eab</id>
<content type='text'>
On Sun, Apr 10, 2011 at 07:36:49AM +0000, Jonathan Nieder wrote:
&gt; From: Jilles Tjoelker &lt;jilles@stack.nl&gt;
&gt; Date: Sat, 13 Jun 2009 16:17:45 -0500
&gt; 
&gt; This change only affects strings passed to -c, when the -s option is
&gt; not used.
&gt; 
&gt; Use the EV_EXIT flag to inform the eval machinery that the string
&gt; being passed is the entirety of input.  This way, a fork may be
&gt; omitted in many special cases.
&gt; 
&gt; If there are empty lines after the last command, the evalcmd will not
&gt; see the end early enough and forks will not be omitted. The same thing
&gt; seems to happen in bash.
&gt; 
&gt; Example:
&gt;   sh -c 'ps lT'
&gt; No longer shows a shell process waiting for ps to finish.
&gt; 
&gt; [jn: ported from FreeBSD SVN r194128.  Bugs are mine.]
&gt; 
&gt; Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;

Instead of detecting EOF using the input layer, I'm going to
use the parser instead.  In either case, we always have to read
ahead in order to complete the parsing of the previous node.
Therefore we always know whether there is more to come, except
in the case where we see a newline/semicolon or similar.

For the purposes of sh -c, this should be sufficient.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>Copyright/licence updates and remove all traces of sys/cdefs.h</title>
<updated>2005-10-29T01:26:30+00:00</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2005-10-29T01:26:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/dash/commit/?id=16399b907190e556d56e54eecd1121d13d124811'/>
<id>urn:sha1:16399b907190e556d56e54eecd1121d13d124811</id>
<content type='text'>
This change updates the BSD licence to the three-clause version since
NetBSD has already done so.  This makes dash GPL-compatible.

It also adds Christos Zoulas (NetBSD ash maintainer) to the COPYING file.
I've added "copyright by Herbert Xu" to most files.

Finally all CVS IDs and inclusion of sys/cdefs.h have been removed.
The latter is needed for support of klibc.
</content>
</entry>
<entry>
<title>Initial import.</title>
<updated>2005-09-26T08:32:28+00:00</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2005-09-26T08:32:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.causal.agency/dash/commit/?id=05c1076ba2d1a68fe7f3a5ae618f786b8898d327'/>
<id>urn:sha1:05c1076ba2d1a68fe7f3a5ae618f786b8898d327</id>
<content type='text'>
</content>
</entry>
</feed>
