| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
|
|
| |
Rewrite iconv_open/iconv/iconv_close to merge Windows-specific
code. Make them static.
Use getopt32() to process options.
Saves 400 bytes.
|
| |
|
|
|
|
|
| |
Reduce the size of the codepage alias table by concatenating the
alias strings rather than storing pointers to them.
Saves 1328 bytes.
|
| | |
|
|
|
Source imported from https://github.com/win-iconv/win-iconv and
modified to build in busybox-w32.
|