<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/libbb/xfuncs.c, branch cron_changes</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=cron_changes</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=cron_changes'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2026-02-10T13:49:25+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2026-02-10T13:49:25+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-02-10T13:49:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0e3015ddb8538f6329c59ed984a9c59bba3f376e'/>
<id>urn:sha1:0e3015ddb8538f6329c59ed984a9c59bba3f376e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fdisk: several fixes for 4K sector size</title>
<updated>2026-02-04T08:46:54+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2026-02-04T08:38:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=36eed984b8f06a22afa916e8ad922d7507c13688'/>
<id>urn:sha1:36eed984b8f06a22afa916e8ad922d7507c13688</id>
<content type='text'>
function                                             old     new   delta
bb_getsize_in_512sect                                  -     187    +187
list_disk_name_and_sizes                               -      80     +80
get_geometry                                         511     535     +24
.rodata                                           107066  107088     +22
msg_building_new_label                               143     142      -1
fdisk_main                                          4781    4775      -6
list_table                                          1423    1366     -57
list_disk_geometry                                   143      68     -75
bb_BLKGETSIZE_sectors                                191       -    -191
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 2/4 up/down: 313/-330)          Total: -17 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>stty: enable a minimal Windows implementation</title>
<updated>2025-07-25T07:55:06+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2025-07-25T07:55:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1354c47894a71699ec1fd0086644627a621250ce'/>
<id>urn:sha1:1354c47894a71699ec1fd0086644627a621250ce</id>
<content type='text'>
Implement a minimal stty applet for Windows.

- Display and set terminal rows and columns

- Enable/disable raw/cooked mode

- Enable/disable echo mode

- Implement 'stty sane' to reset raw/cooked/echo

Adds 2120-2304 bytes.

(GitHub issue #58)
</content>
</entry>
<entry>
<title>win32: work around problem with stderr in MSVCRT</title>
<updated>2024-09-30T15:08:42+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2024-09-30T14:20:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4be93f32f5bd5ccaac343b4d03fb861a02d6de96'/>
<id>urn:sha1:4be93f32f5bd5ccaac343b4d03fb861a02d6de96</id>
<content type='text'>
Try to run a non-existent command with standard error closed:

   xyz 2&gt;&amp;-

In recent versions of busybox-w32 this resulted in problems with
moving through history (either using up/down keys or ctrl-r) and
tab completion.  In all cases the order of the prompt and the
command were reversed.

Bisection showed the problem was first seen in PRE-5396 which
merged some commits from upstream, including fd47f0567 (lineedit:
print prompt and editing operations to stderr).

This (eventually) called to mind a previous problem with stderr
in xargs which was fixed by commit f192e6539 (xargs: fix 'xargs
-sNUM' tests).  In both cases it seemed that mixing calls to
bb_putchar_stderr() and fprintf(stderr, ...) was at fault.  The
former uses a file descriptor while the latter uses a stream.  It
was almost as if the stream was buffered.

- The problem with xargs affected 32-bit and 64-bit builds with
  MSVCRT.

- The problem with '2&gt;&amp;-' only affected 32-bit builds with MSVCRT.

- Neither problem was present with UCRT builds.

As a workaround change bb_putchar_stderr() to use the stderr stream
in builds for MSVCRT.

Saves 16 bytes in the 32-bit build.

(GitHub issue #460)
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2023-07-13T07:06:26+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-07-13T07:06:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bd978d0256fd3a67de1a7dd54f1a37f9435be363'/>
<id>urn:sha1:bd978d0256fd3a67de1a7dd54f1a37f9435be363</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libbb: code shrink: introduce and use [_]exit_FAILURE()</title>
<updated>2023-06-15T09:55:56+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-06-15T09:55:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=648f506949ded749e28186d0092b6e42085c897b'/>
<id>urn:sha1:648f506949ded749e28186d0092b6e42085c897b</id>
<content type='text'>
function                                             old     new   delta
exit_FAILURE                                           -       7      +7
_exit_FAILURE                                          -       7      +7
run                                                  198     199      +1
restore_state_and_exit                               114     115      +1
xbsd_write_bootstrap                                 399     397      -2
vfork_compressor                                     209     207      -2
sig_handler                                           12      10      -2
serial_ctl                                           154     152      -2
parse_args                                          1169    1167      -2
onintr                                                21      19      -2
make_new_session                                     493     491      -2
login_main                                           988     986      -2
gotsig                                                35      33      -2
do_iplink                                           1315    1313      -2
addgroup_main                                        397     395      -2
inetd_main                                          1911    1908      -3
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 2/12 up/down: 16/-25)            Total: -9 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>libbb: don't build useless functions</title>
<updated>2023-04-16T12:13:52+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-16T12:13:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=74734bff81dc2e1a5b160d5621eeea35c5defabd'/>
<id>urn:sha1:74734bff81dc2e1a5b160d5621eeea35c5defabd</id>
<content type='text'>
The functions ndelay_on(), ndelay_off() and close_on_exec_on()
don't do anything useful because our fcntl(2) implementation
doesn't support the features they require.

Replace them with stubs.

Saves 176-208 bytes.
</content>
</entry>
<entry>
<title>win32: virtual terminal input fixes</title>
<updated>2023-03-06T12:25:39+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-03-06T12:25:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b50470de96320425adbed82129bdb7f7f5263ddb'/>
<id>urn:sha1:b50470de96320425adbed82129bdb7f7f5263ddb</id>
<content type='text'>
- Disable ENABLE_PROCESSED_INPUT in raw mode.  Otherwise ^C isn't
  immediately detected during shell command line editing with
  virtual terminal input enabled.

- Switch read_key()/unix_readkey() to windows_read_key()/read_key().
  This allows the shell `read` builtin to use windows_read_key().
  Without this change `read` fails when virtual terminal input is
  enabled.
</content>
</entry>
<entry>
<title>win32: add virtual terminal support to termios(3)</title>
<updated>2023-03-05T12:32:15+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-03-05T12:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4020c7689c3f640e8a56edd1a1491403112857ec'/>
<id>urn:sha1:4020c7689c3f640e8a56edd1a1491403112857ec</id>
<content type='text'>
Modify `struct termios` to support Windows virtual terminals.
Native console mode flags replace the Unix `c_?flag` structure
members.  Remove unsupported flags from termios.h.

Add implementations of tcgetattr(3)/tcsetattr(3) to get/set console
flags when virtual terminal input mode is enabled.

Add support for emulating raw mode to get_termios_and_make_raw().
This (and related functions) are exposed but not yet used.
</content>
</entry>
<entry>
<title>Merge busybox into merge</title>
<updated>2022-01-06T07:46:38+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2022-01-06T07:46:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b8751bbc9ac24e71fbe1e79c69074b4c87a134d8'/>
<id>urn:sha1:b8751bbc9ac24e71fbe1e79c69074b4c87a134d8</id>
<content type='text'>
Fix merge conflict in miscutils/less.c.

Use exit_SUCCESS() where possible.
</content>
</entry>
</feed>
