<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/scripts/basic, branch ucrt_hack</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=ucrt_hack</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=ucrt_hack'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2021-05-14T07:17:12+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2021-05-14T07:17:12+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-05-14T07:17:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a3f5a1b7f4275f713acf22f534f95c0da8392e53'/>
<id>urn:sha1:a3f5a1b7f4275f713acf22f534f95c0da8392e53</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix "warning array subscript has type 'char'"</title>
<updated>2021-04-14T17:12:43+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-04-14T17:12:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1a45b2ccea94b0fc123798f276a0801413597880'/>
<id>urn:sha1:1a45b2ccea94b0fc123798f276a0801413597880</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>build system: avoid build failure during bisection</title>
<updated>2021-04-13T16:26:46+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-04-03T07:57:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=27c1bc8dfb82f1ccab6bd9b4ce4f54e1fbf7bc3d'/>
<id>urn:sha1:27c1bc8dfb82f1ccab6bd9b4ce4f54e1fbf7bc3d</id>
<content type='text'>
Commit 4bdc914ff (build system: fix compiler warnings) added a
test on the return value of fgets() in split-include.c.

During bisection it's possible to go back to a state where a
configuration value didn't exist.  This results in an empty
include file corresponding to the missing feature.  If a
subsequent bisection returns to a state where the feature exists
split-include treats the empty file as an error and the build
fails.

Add a call to ferror() to distinguish between fgets() failing
due to an error and due to there being no data to read.

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>.gitignore: support building on Windows</title>
<updated>2021-02-21T10:35:21+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2021-02-20T21:33:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=379e128a3a4f5343cbd4a9f1be3538cf76af82e2'/>
<id>urn:sha1:379e128a3a4f5343cbd4a9f1be3538cf76af82e2</id>
<content type='text'>
These items are already listed, albeit without `.exe` suffix.
Presumably, this is because BusyBox-w32 is traditionally cross-compiled
on Linux.

However, we are about to introduce a CI build definition that builds
BusyBox-w32 in MSYS2 (using mingw-w64-gcc), meaning that those
executables might very well exist _with_ `.exe` suffix.

Let's ignore those, too.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2019-01-10T08:38:15+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2019-01-10T08:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f99a280743e877c14ee90a3f9e93a34ca3476a27'/>
<id>urn:sha1:f99a280743e877c14ee90a3f9e93a34ca3476a27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build system: fix compiler warnings</title>
<updated>2019-01-06T19:12:16+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-01-06T19:12:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4bdc914ff97df0cea8d2c7b42bf7f57d5ebb8dcb'/>
<id>urn:sha1:4bdc914ff97df0cea8d2c7b42bf7f57d5ebb8dcb</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>kbuild: support at least non-interactive mode on Windows</title>
<updated>2017-07-14T14:14:30+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-02-01T21:07:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c56f1e06c4c470a023b02c7019112eb852f08d44'/>
<id>urn:sha1:c56f1e06c4c470a023b02c7019112eb852f08d44</id>
<content type='text'>
without POSIX, kbuild has some trouble compiling its support
executables. Luckily, the parts that really lean on POSIX functionality
are pretty much all only needed when configuring the build
interactively.

When compiling BusyBox for Win32, we do not actually need interactive
configuration at all: we simply choose the default. Therefore, a lot of
the stuff that is typically built for the Kconfig system is totally
unnecessary (such as: compiling documentation via fork()&amp;exec(), changing
the window size, etc).

Liberally put all of the problematic code behind #ifndef __MINGW32__
guards, just to get `make mingw64_defconfig` going in Git for Windows'
SDK (which is a special-purpose version of MSYS2).

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
</content>
</entry>
<entry>
<title>fixdep: fix assumption that `long` is as large as `void *`</title>
<updated>2017-07-14T12:47:31+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-02-01T21:10:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b41c851312876dbf146fb674265b86c72ed611ab'/>
<id>urn:sha1:b41c851312876dbf146fb674265b86c72ed611ab</id>
<content type='text'>
It is not. At least not in general. And in particular not on 64-bit
Windows, where sizeof(long) == 4.

What the code wanted to use is actually called intptr_t.

Note: `intptr_t` is a C99 feature.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
</content>
</entry>
<entry>
<title>fixdep: be careful about handling empty lines correctly</title>
<updated>2017-07-14T12:47:31+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-06-27T09:59:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=213b279baaae27a4285eb354f11e3c3b1986d129'/>
<id>urn:sha1:213b279baaae27a4285eb354f11e3c3b1986d129</id>
<content type='text'>
The current code without this patch is seriously flawed, as it can
easily overrun the buffer while looking for the *beginning* of the
line.

The symptom when trying to build without this patch in Git for
Windows' SDK (which is a special-purpose version of MSYS2) is:

$ make mingw64_defconfig &amp;&amp; make -j15
  HOSTCC  scripts/basic/fixdep
make[1]: *** [scripts/Makefile.host:104: scripts/basic/fixdep] Error 127
make: *** [Makefile:358: scripts_basic] Error 2
make: *** [Makefile:358: scripts_basic] Error 2

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
</content>
</entry>
<entry>
<title>fixdep: read the dependency files in binary mode</title>
<updated>2017-07-14T12:47:26+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-06-27T09:57:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=32fb4fe097115b23914832d26dba4d1de62f5f17'/>
<id>urn:sha1:32fb4fe097115b23914832d26dba4d1de62f5f17</id>
<content type='text'>
We want to make sure that the original line endings are preserved, as
fixdep hardcodes the assumption of Unix-type line endings.

The symptom is this (kinda hard to understand) error when building in
Git for Windows' SDK (which is a special-purpose version of MSYS2):

$ make mingw64_defconfig &amp;&amp; make -j15
   HOSTCC  scripts/basic/fixdep
C:/git-sdk-64/mingw64/x86_64-w64-mingw32/include/ctype.h
64-w64-mingw32/include/ctype.h: Invalid argument
fixdep: make[1]: *** [scripts/Makefile.host:104: scripts/basic/fixdep] Error 2
make: *** [Makefile:358: scripts_basic] Error 2

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
</content>
</entry>
</feed>
