<feed xmlns='http://www.w3.org/2005/Atom'>
<title>plan9port/src/cmd/mk, branch patch</title>
<subtitle>Plan 9 from User Space (with patches)</subtitle>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/'/>
<entry>
<title>mk: provide a mechanism to default to `rc`</title>
<updated>2021-10-05T12:24:37+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2021-10-03T19:19:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=e683bdfa76a5c2c54422a6bd2934b133d77ba610'/>
<id>e683bdfa76a5c2c54422a6bd2934b133d77ba610</id>
<content type='text'>
For cross-compiling plan9 from Unix, provide a way
to force `mk` to use `rc` instead of `sh` without
setting `MKSHELL` in individual `mkfile`s.

If the environment variable `FORCERCFORMK` is set,
`mk` will default to using `rc`, not `sh`.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For cross-compiling plan9 from Unix, provide a way
to force `mk` to use `rc` instead of `sh` without
setting `MKSHELL` in individual `mkfile`s.

If the environment variable `FORCERCFORMK` is set,
`mk` will default to using `rc`, not `sh`.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>all: update for new MIT license</title>
<updated>2021-03-24T00:59:23+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2021-03-23T21:24:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=88a87fadae6629932d9c160f53ad5d79775f8f94'/>
<id>88a87fadae6629932d9c160f53ad5d79775f8f94</id>
<content type='text'>
On March 23, 2021, Nokia transferred the copyrights in the Plan 9 software
to the Plan 9 Foundation, which relicensed them under the MIT license.

This commit updates the Plan 9 from User Space license to reflect the
new base license. The vast majority of the contributions beyond the
base Plan 9 set were by me, many of them explicitly under an MIT license.
Those are all under the new MIT license now as well.

The port of mk to Unix was taken from Inferno via Vita Nuova and had
been made available under GPL, but Vita Nuova has relicensed Inferno
under the MIT license as well, to match the new Plan 9 license.

Michael Teichgraber contributed src/lib9/zoneinfo.c explicitly under
the Lucent Public License but has agreed to change the contribution
to the MIT license now used in the rest of the distribution.

There remain a few exceptions, most notably fonts.
See the root LICENSE file for full details.

The only mention of the Lucent Public License in the whole tree now
is in the LICENSE file, explaining the history.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On March 23, 2021, Nokia transferred the copyrights in the Plan 9 software
to the Plan 9 Foundation, which relicensed them under the MIT license.

This commit updates the Plan 9 from User Space license to reflect the
new base license. The vast majority of the contributions beyond the
base Plan 9 set were by me, many of them explicitly under an MIT license.
Those are all under the new MIT license now as well.

The port of mk to Unix was taken from Inferno via Vita Nuova and had
been made available under GPL, but Vita Nuova has relicensed Inferno
under the MIT license as well, to match the new Plan 9 license.

Michael Teichgraber contributed src/lib9/zoneinfo.c explicitly under
the Lucent Public License but has agreed to change the contribution
to the MIT license now used in the rest of the distribution.

There remain a few exceptions, most notably fonts.
See the root LICENSE file for full details.

The only mention of the Lucent Public License in the whole tree now
is in the LICENSE file, explaining the history.
</pre>
</div>
</content>
</entry>
<entry>
<title>mk: fix for Unix build</title>
<updated>2021-03-24T00:54:29+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2021-03-23T21:24:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=a8bd9e9d8cd029a220ad4b9dad752d26c55bf4c2'/>
<id>a8bd9e9d8cd029a220ad4b9dad752d26c55bf4c2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mk: replace overlapping strcpy with memmove</title>
<updated>2020-05-18T00:15:41+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-05-18T00:06:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=154140a22b1c697f6a3edb3e5913efded1be082a'/>
<id>154140a22b1c697f6a3edb3e5913efded1be082a</id>
<content type='text'>
Found by ASAN.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found by ASAN.
</pre>
</div>
</content>
</entry>
<entry>
<title>mk: support Big Archive Format under AIX</title>
<updated>2020-05-08T00:36:03+00:00</updated>
<author>
<name>Ben Huntsman</name>
<email>BHuntsman@mail2.cu-portland.edu</email>
</author>
<published>2020-05-05T02:52:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=f84d54a0337f9e101c8baeb51272f33b05b2a0e1'/>
<id>f84d54a0337f9e101c8baeb51272f33b05b2a0e1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mk: fix hash function (#315)</title>
<updated>2020-01-14T03:05:03+00:00</updated>
<author>
<name>Neven Sajko</name>
<email>nsajko@gmail.com</email>
</author>
<published>2020-01-14T03:05:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=26cae02da740b05da97868b517c58b05f0e37e07'/>
<id>26cae02da740b05da97868b517c58b05f0e37e07</id>
<content type='text'>
Avoid signed integer overflow using ulong instead of long h.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid signed integer overflow using ulong instead of long h.
</pre>
</div>
</content>
</entry>
<entry>
<title>mk: treat X= as empty list in rc shell</title>
<updated>2020-01-14T00:20:34+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2020-01-14T00:20:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=6c17f630901eec2a4b54b70748d7fbc9b47eecd8'/>
<id>6c17f630901eec2a4b54b70748d7fbc9b47eecd8</id>
<content type='text'>
This brings mk's behavior when using rc in line with Plan 9's.
The existing code is for Unix environment data structures but
also was assuming Unix shell semantics where empty and missing
variables are mostly equivalent.

The Plan 9 code (/sys/src/cmd/mk/plan9.c in the distribution)
explicitly removes /env/name (creating an empty list) when the
value is missing or an empty string.

Fixes #255.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This brings mk's behavior when using rc in line with Plan 9's.
The existing code is for Unix environment data structures but
also was assuming Unix shell semantics where empty and missing
variables are mostly equivalent.

The Plan 9 code (/sys/src/cmd/mk/plan9.c in the distribution)
explicitly removes /env/name (creating an empty list) when the
value is missing or an empty string.

Fixes #255.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: fix or silence various gcc warnings</title>
<updated>2020-01-12T20:07:42+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2020-01-12T20:05:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=fafa622a5bdf71adfbb4334541c3b65f29c89ca9'/>
<id>fafa622a5bdf71adfbb4334541c3b65f29c89ca9</id>
<content type='text'>
As usual, gcc finds some real problems but also reports a ton
of noise. Fix the problems and quiet the noise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As usual, gcc finds some real problems but also reports a ton
of noise. Fix the problems and quiet the noise.
</pre>
</div>
</content>
</entry>
<entry>
<title>Trivial changes: whitespace and modes.</title>
<updated>2020-01-10T14:54:30+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2020-01-10T14:44:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=fa325e9b42b0bdfb48857d1958d9fb7ceac55151'/>
<id>fa325e9b42b0bdfb48857d1958d9fb7ceac55151</id>
<content type='text'>
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mk: plan9 style.</title>
<updated>2020-01-08T01:37:44+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2020-01-08T01:36:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=2738cc3cfc053a5922aee655405c0ab620beae0f'/>
<id>2738cc3cfc053a5922aee655405c0ab620beae0f</id>
<content type='text'>
In general, no space after `if` etc, and no
braces for a single statement inside of a loop
or conditional.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In general, no space after `if` etc, and no
braces for a single statement inside of a loop
or conditional.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
