<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32, branch wget-post-file</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=wget-post-file</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=wget-post-file'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2021-09-27T13:48:40+00:00</updated>
<entry>
<title>wget: clean up POST data</title>
<updated>2021-09-27T13:48:40+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-27T13:48:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=880138f3238a46975d84ed94382a8ae27f9cbe74'/>
<id>urn:sha1:880138f3238a46975d84ed94382a8ae27f9cbe74</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wget: add --post-file option</title>
<updated>2021-09-27T13:13:21+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-27T13:13:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=85b66800b4e48dd76de29df762cb5f85a7fccf37'/>
<id>urn:sha1:85b66800b4e48dd76de29df762cb5f85a7fccf37</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ash: prevent exit if background jobs are present</title>
<updated>2021-09-26T07:59:03+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-26T07:59:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e19dd7d618434be1336727a5113c1432ac3c6573'/>
<id>urn:sha1:e19dd7d618434be1336727a5113c1432ac3c6573</id>
<content type='text'>
If the user exits from an interactive shell while background jobs
are running the console window won't terminate because the
background jobs are still connected to it.

Warn the user when this happens.  They can either shut down the
background jobs themselves or close the console window.

This is implemented by repurposing the stoppedjobs() function
which is otherwise unused in the WIN32 port.
</content>
</entry>
<entry>
<title>ash: associate command names with jobs</title>
<updated>2021-09-26T07:50:00+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-26T07:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1403d81c4ad4531187644005fa73789d0f7cb606'/>
<id>urn:sha1:1403d81c4ad4531187644005fa73789d0f7cb606</id>
<content type='text'>
Reporting of background jobs is more useful if the commands
associated with the jobs are displayed.

Also, allow the kill builtin to kill jobs by matching their
command names.  This was previously disabled by commit f67224cb2
(ash: restrict valid job ids).
</content>
</entry>
<entry>
<title>ash: additional support for background jobs</title>
<updated>2021-09-26T07:33:36+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-26T07:33:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=010abea6f548a367d0d89998aa6c38a45d756c0d'/>
<id>urn:sha1:010abea6f548a367d0d89998aa6c38a45d756c0d</id>
<content type='text'>
The rationale for the jobs builtin in POSIX notes:

   The jobs utility is not dependent on the job control option,
   as are the seemingly related bg and fg utilities because jobs
   is useful for examining background jobs, regardless of the
   condition of job control. When the user has invoked a set +m
   command and job control has been turned off, jobs can still be
   used to examine the background jobs associated with that current
   session. Similarly, kill can then be used to kill background
   jobs with kill %&lt;background job number&gt;.

Although ash in busybox-w32 doesn't support job control it can
handle background jobs.

Allow the ASH_JOB_CONTROL setting to enable certain features:

- the jobs builtin;
- killing of jobs by job id in the kill builtin;
- monitoring of changes to jobs.

Since process groups aren't supported it's necessary to kill the
processes constituting a background job individually.  When doing
this we ask kill(2) to kill all children too.
</content>
</entry>
<entry>
<title>ash: fix FUNCNAME issue</title>
<updated>2021-09-22T09:18:42+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-22T09:18:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bcb1d0c76d6e665133d1f878590af2006b31de6e'/>
<id>urn:sha1:bcb1d0c76d6e665133d1f878590af2006b31de6e</id>
<content type='text'>
Commit c13f77823 (ash: adjust reinitvar() to allow for FUNCNAME)
was incomplete.  It didn't correctly pass the funcname variable
during forkshell.  This resulted in horrible failure when running
a function like:

   f() { (echo $FUNCNAME); }
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2021-09-21T14:19:18+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-21T14:19:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=90b3ba992ecb39e32e5a66b2e37579becc56d286'/>
<id>urn:sha1:90b3ba992ecb39e32e5a66b2e37579becc56d286</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cal: implement -m</title>
<updated>2021-09-21T13:25:37+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-21T07:42:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=56f0e886db0543a27f369d7f95eb9da2fb3d069c'/>
<id>urn:sha1:56f0e886db0543a27f369d7f95eb9da2fb3d069c</id>
<content type='text'>
Some people prefer the week to start on Monday.  Add the '-m'
option to support this.

function                                             old     new   delta
cal_main                                             926     966     +40
day_array                                            316     337     +21
packed_usage                                       34151   34158      +7
.rodata                                            99224   99225      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 69/0)               Total: 69 bytes

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: improve signal handling</title>
<updated>2021-09-21T12:24:00+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-21T11:52:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=df34f5e92b1d10f0bb858d2ea6e8c249e87ac593'/>
<id>urn:sha1:df34f5e92b1d10f0bb858d2ea6e8c249e87ac593</id>
<content type='text'>
Allow waitpid() to detect SIGTERM/SIGKILL by checking the (Windows)
status returned by GetExitCodeProcess() and updating the Unix
status to suit.  This allows ash to detect when a process has been
'signalled'.

Provide our own implementation of strsignal(3) which returns
expanded text for SIGTERM/SIGKILL.

Costs 192 bytes.
</content>
</entry>
<entry>
<title>libbb: code shrink parse_datestr (again)</title>
<updated>2021-09-18T20:55:46+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-09-18T07:40:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f27a6a94a7fb172a6768bc450dbdec68f15bc78f'/>
<id>urn:sha1:f27a6a94a7fb172a6768bc450dbdec68f15bc78f</id>
<content type='text'>
Commit 9fe1548bb (date,touch: allow timezone offsets in dates)
mentioned the similarity between '@' format dates and those with
timezone offsets.  It didn't notice that as a result there's
common code which can be shared.

function                                             old     new   delta
parse_datestr                                        730     687     -43
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-43)             Total: -43 bytes

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
