<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/miscutils/iconv.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>2023-11-08T15:21:25+00:00</updated>
<entry>
<title>iconv: fix incorrect fix</title>
<updated>2023-11-08T15:21:25+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-11-08T15:21:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5085fe5d56e63f23f9812bd120a8453bd6589edc'/>
<id>urn:sha1:5085fe5d56e63f23f9812bd120a8453bd6589edc</id>
<content type='text'>
Part of commit 412c2cab62 (iconv: minor fixes) was intended to
avoid having to enter ^Z twice to signal EOF when input was coming
from the console.  Unfortunately there were unintended consequences.

Use a different method to detect EOF.

Costs 32-48 bytes.

(GitHuv issue #374)
</content>
</entry>
<entry>
<title>iconv: use temporary file for output</title>
<updated>2023-04-27T20:00:00+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-27T20:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e790046619f539356b950a5b07cba2f477401b4b'/>
<id>urn:sha1:e790046619f539356b950a5b07cba2f477401b4b</id>
<content type='text'>
On Linux iconv allows the output file specified with '-o' to be
the same as the input file.  Do the same for our version by creating
a temporary output file and renaming it on completion.

Costs 64-88 bytes.
</content>
</entry>
<entry>
<title>iconv: minor fixes</title>
<updated>2020-02-18T11:19:04+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-02-18T11:19:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=412c2cab62dcae5509404b48d83aa10717d3b68e'/>
<id>urn:sha1:412c2cab62dcae5509404b48d83aa10717d3b68e</id>
<content type='text'>
Add an explicit test for EOF.  Otherwise when processing input from
interactive stdin it's necessary to enter ^Z twice to signal EOF.

Allow '-' to be mixed with actual file names on the command line.
</content>
</entry>
<entry>
<title>iconv: more improvements</title>
<updated>2020-02-16T10:11:23+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-02-16T10:01:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=334bb8b921c987a7065fb84522a214a188514def'/>
<id>urn:sha1:334bb8b921c987a7065fb84522a214a188514def</id>
<content type='text'>
- Only load required functions from mlang.dll.

- The '-f' and '-t' options aren't compulsory.

- Use xstrdup() instead of xstrndup() and don't check its return value.

- Replace string comparisons when checking for encoding options with a
  single call to index_in_strings().

Saves 224 bytes.
</content>
</entry>
<entry>
<title>iconv: code shrink (2)</title>
<updated>2020-02-14T14:32:51+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-02-14T13:51:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=99f757c114ffbbdc9bfcb665fe2091982122a3db'/>
<id>urn:sha1:99f757c114ffbbdc9bfcb665fe2091982122a3db</id>
<content type='text'>
Rewrite iconv_open/iconv/iconv_close to merge Windows-specific
code.  Make them static.

Use getopt32() to process options.

Saves 400 bytes.
</content>
</entry>
<entry>
<title>iconv: code shrink</title>
<updated>2020-02-14T14:32:47+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-02-14T11:07:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d8448f76cd40595673b2240b1015f0cbb3f36b56'/>
<id>urn:sha1:d8448f76cd40595673b2240b1015f0cbb3f36b56</id>
<content type='text'>
Reduce the size of the codepage alias table by concatenating the
alias strings rather than storing pointers to them.

Saves 1328 bytes.
</content>
</entry>
<entry>
<title>iconv: depends on PLATFORM_MINGW32</title>
<updated>2019-01-10T14:11:01+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2019-01-10T14:11:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e92596d0b1f30fb6751d304c41d59968c237fd79'/>
<id>urn:sha1:e92596d0b1f30fb6751d304c41d59968c237fd79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>iconv: import from win-iconv</title>
<updated>2019-01-06T13:26:19+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2019-01-06T13:17:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1fec4ebbdb930f6b8989be2e10c0f673803ac830'/>
<id>urn:sha1:1fec4ebbdb930f6b8989be2e10c0f673803ac830</id>
<content type='text'>
Source imported from https://github.com/win-iconv/win-iconv and
modified to build in busybox-w32.
</content>
</entry>
</feed>
