Home | History | Annotate | Download | only in iconv
History log of /src/usr.bin/iconv/iconv.c
RevisionDateAuthorComments
 1.20  24-Oct-2019  kamil Switch the iconv(3) prototype to the POSIX conformant variation

Remove const from the 2nd argument.

const char ** and char ** are incompatible types and it was a cost to keep
the technically incompatible form for a more purist variation. NetBSD was
almost the last alive OS to still keep the const argument (known leftovers:
Minix and Illumos).

Keep the const form for the internal purposes inside citrus and rump.

Address the build breakage fallout in the same change.

There are no ABI changes.

Change accepted by core@.
 1.19  07-Oct-2013  dholland branches: 1.19.26;
Save errno around fwrite(), which can otherwise trash it; PR 47813.
This appears to fully resolve the problem described in the PR, even
though one might think it wouldn't.
 1.18  31-Oct-2011  yamt branches: 1.18.2; 1.18.8;
annotate for lint
 1.17  16-Sep-2011  joerg Use __dead
 1.16  20-Feb-2009  yamt on errors, output whatever we have before bailing out.
 1.15  20-Feb-2009  yamt -1 -> (size_t)-1 for return values of iconv.
 1.14  20-Feb-2009  yamt u_int32_t -> uint32_t
 1.13  22-Mar-2008  yamt branches: 1.13.10;
call setlocale so that nl_langinfo makes sense.
 1.12  20-Mar-2008  tnozaki allow SUSv3 syntax.
if from/to code is ommitted, auto-guess'ed from current locale.
 1.11  15-Dec-2007  perry branches: 1.11.2;
convert __attribute__s to applicable cdefs.h macros
 1.10  26-Aug-2006  christos branches: 1.10.8;
More programs using efun.
 1.9  25-Apr-2005  tshiozak make the error message kindly if the last character is incompleted.
(bin/30051)
 1.8  24-Apr-2005  christos KNF, WARNS=3.
 1.7  24-Apr-2005  thorpej Fix error message when input file does not exist. From James Lowden.
 1.6  21-Dec-2004  yamt branches: 1.6.2;
scmp: don't discard const qualifiers needlessly.
 1.5  21-Feb-2004  jdolecek branches: 1.5.4;
sort iconv -l output
 1.4  20-Oct-2003  yamt count number of invalid characters correctly.
ok'ed by tshiozak@.
 1.3  23-Jul-2003  wiz Be more verbose in error message if iconv_open fails.
 1.2  27-Jun-2003  tshiozak correct how to show size_t. %d -> %lu and cast to unsigned long.
reported by Rob Quinn.
 1.1  27-Jun-2003  tshiozak Citrus iconv support(4)
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
- bump libc minor.
- add iconv data files.
- create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
mkesdb(1)/mkcsmapper(1).
 1.5.4.1  13-May-2005  riz Pull up revisions 1.6-1.9 (requested by tshiozak in ticket #1492):
1.6:
scmp: don't discard const qualifiers needlessly.

1.7:
Fix error message when input file does not exist. From James Lowden.

1.8:
KNF, WARNS=3.

1.9:
make the error message kindly if the last character is incompleted.
(bin/30051)
 1.6.2.3  01-May-2005  tron Pull up revision 1.9 (requested by tshiozak in ticket #224):
make the error message kindly if the last character is incompleted.
(bin/30051)
 1.6.2.2  01-May-2005  tron Pull up revision 1.8 (requested by tshiozak in ticket #224):
KNF, WARNS=3.
 1.6.2.1  01-May-2005  tron Pull up revision 1.7 (requested by tshiozak in ticket #224):
Fix error message when input file does not exist. From James Lowden.
 1.10.8.2  23-Mar-2008  matt sync with HEAD
 1.10.8.1  09-Jan-2008  matt sync with HEAD
 1.11.2.1  24-Mar-2008  keiichi sync with head.
 1.13.10.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.18.8.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.18.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.19.26.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed