<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/include, branch symlink</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=symlink</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=symlink'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2021-03-01T09:20:58+00:00</updated>
<entry>
<title>win32: move is_absolute_path()</title>
<updated>2021-03-01T09:20:58+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-03-01T09:20:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b2ea5c74c8e2a26f9d9e8978d41a2368693e5ff7'/>
<id>urn:sha1:b2ea5c74c8e2a26f9d9e8978d41a2368693e5ff7</id>
<content type='text'>
Make is_absolute_path() a function rather than a macro and move it
from ash.c into mingw.c.
</content>
</entry>
<entry>
<title>win32: fixes to build on Windows/MSYS2/mingw-w64</title>
<updated>2021-02-21T09:51:08+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-02-20T13:07:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4bca7987f38b24867d93efc4a11a1ef661734056'/>
<id>urn:sha1:4bca7987f38b24867d93efc4a11a1ef661734056</id>
<content type='text'>
To investigate GitHub issue #200 it was necessary to perform
build on Window using the MSYS2/mingw-w64 toolchain.  This
threw up some issues:

- The settings for _WIN32_WINNT and __USE_MINGW_ANSI_STDIO differ
  from those in Fedora resulting in compiler errors and warnings.
  Force the defaults I'm used to.

- The workaround to allow native compilation of mconf.c was broken
  by a subsequent upstream change.  Make it work again.
</content>
</entry>
<entry>
<title>win32: update sysinfo(2) implementation</title>
<updated>2021-02-19T13:10:06+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-02-19T13:10:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5369ddc1db797a96cced91bd467d172d41d41f9d'/>
<id>urn:sha1:5369ddc1db797a96cced91bd467d172d41d41f9d</id>
<content type='text'>
Add a call to GetPerformanceInfo.  Treat the SystemCache member of
the PERFORMANCE_INFORMATION structure as buffer RAM.  Deduct it
from available RAM.

The numbers reported by 'free' move about in vaguely sensible
ways when I start and stop programs, though I still don't know
if they're in any way accurate.
</content>
</entry>
<entry>
<title>free: implement sysinfo(2) and enable free(1)</title>
<updated>2021-02-18T15:47:47+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-02-18T15:27:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2b8770720868c750ad8609df4041337eb2c6cf71'/>
<id>urn:sha1:2b8770720868c750ad8609df4041337eb2c6cf71</id>
<content type='text'>
This is an experimental implementation of sysinfo(2)/free(1).

It uses the WIN32 API GlobalMemoryStatusEx() to obtain information
about memory.

It seems that the 'total pagefile' value includes total RAM as well
as pagefile and 'available pagefile' includes available RAM.  So the
RAM values are deducted.

I've no idea what corresponds to Linux buffers and cache.
</content>
</entry>
<entry>
<title>ash: code shrink</title>
<updated>2021-02-14T12:27:27+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-02-14T12:27:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4340e4d3d581c438a8634868c838f73b9018fb8b'/>
<id>urn:sha1:4340e4d3d581c438a8634868c838f73b9018fb8b</id>
<content type='text'>
Since there's only one call to mingw_spawn_forkshell() we might
as well just call spawnve() directly from ash.
</content>
</entry>
<entry>
<title>win32: implement symlink(2)</title>
<updated>2021-02-12T14:11:01+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-02-12T14:11:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7587b56c10a4d11fe434e3eaa51212113f09ec10'/>
<id>urn:sha1:7587b56c10a4d11fe434e3eaa51212113f09ec10</id>
<content type='text'>
Provide an implementation of symlink(2).

Calls to symlink(2) will fail in default Windows installations unless
running with elevated privileges.  Failure to create a symlink when
extracting files from an archive is therefore treated as a non-fatal
error.

There are two ways to permit the creation of symlinks:

- Edit security policy to give users the 'Create symbolic links'
  privilege.  Unfortunately this doesn't work for users who are an
  Administrator.

- Enable developer mode, which is available in later versions of
  Windows 10.

The ability to create symlinks is not available in Windows XP
or ReactOS.
</content>
</entry>
<entry>
<title>win32: make readlink(2) implementation unconditional</title>
<updated>2021-02-12T14:02:28+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-02-12T14:02:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e86a3ddd8b60eb0720874f5b9679446d12a1ac41'/>
<id>urn:sha1:e86a3ddd8b60eb0720874f5b9679446d12a1ac41</id>
<content type='text'>
There doesn't seem to be much advantage in having readlink(2) as a
configuration option.  Making it unconditional reduces divergence from
upstream and allows the removal of a check for ENOSYS that's been in
busybox-w32 since the start.
</content>
</entry>
<entry>
<title>win32: code shrink</title>
<updated>2021-02-06T09:52:11+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-02-06T09:52:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=70ca88d03a7aa92720744832fd9d131a183e00be'/>
<id>urn:sha1:70ca88d03a7aa92720744832fd9d131a183e00be</id>
<content type='text'>
Don't compile some code that isn't currently supported for WIN32.
Saves 24 bytes.
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2021-02-05T11:24:06+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-02-05T11:24:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=32e19e7ae8b0d76d69871ba234e8f0af31baff4e'/>
<id>urn:sha1:32e19e7ae8b0d76d69871ba234e8f0af31baff4e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libbb: introduce and use fputs_stdout</title>
<updated>2021-02-03T19:52:40+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-02-03T19:47:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=cad3fc743aa7c7744e4fcf044371f0fda50fa51f'/>
<id>urn:sha1:cad3fc743aa7c7744e4fcf044371f0fda50fa51f</id>
<content type='text'>
function                                             old     new   delta
fputs_stdout                                           -      12     +12
zxc_vm_process                                      7237    7230      -7
yes_main                                              85      78      -7
write_block                                          380     373      -7
wrapf                                                305     298      -7
strings_main                                         437     430      -7
show_bridge                                          353     346      -7
rev_main                                             384     377      -7
put_prompt_custom                                     58      51      -7
put_cur_glyph_and_inc_cursor                         168     161      -7
print_numbered_lines                                 152     145      -7
print_named_ascii                                    130     123      -7
print_name                                           135     128      -7
print_login_issue                                    386     379      -7
print_ascii                                          208     201      -7
powertop_main                                       1249    1242      -7
od_main                                             1789    1782      -7
logread_main                                         518     511      -7
head_main                                            804     797      -7
display_process_list                                1319    1312      -7
cut_main                                            1002     995      -7
bb_dump_dump                                        1550    1543      -7
bb_ask_noecho                                        393     386      -7
baseNUM_main                                         702     695      -7
expand_main                                          755     745     -10
dumpleases_main                                      497     487     -10
write1                                                12       -     -12
putcsi                                                37      23     -14
print_login_prompt                                    55      41     -14
paste_main                                           525     511     -14
cat_main                                             440     426     -14
print_it                                             245     230     -15
print_addrinfo                                      1188    1171     -17
print_rule                                           770     750     -20
print_linkinfo                                       842     822     -20
httpd_main                                           791     771     -20
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 0/34 up/down: 12/-341)         Total: -329 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>
