git: iconv sync 8/x: FreeBSD SVN 281550

John Marino marino at crater.dragonflybsd.org
Sat Jul 4 01:20:05 PDT 2015


commit 0db70a6ab02af296a425c9de48294a4da59c442b
Author: John Marino <draco at marino.st>
Date:   Sat Jul 4 01:12:37 2015 +0200

    iconv sync 8/x: FreeBSD SVN 281550
    
    Remove the const qualifier from iconv(3) to comply with POSIX:
    http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
    Adjust all code that calls iconv
    
    Note: The libcpp Makefile cflag was added because the host iconv.h
          header was getting pulled in.  This always should have been the
          src version of iconv.h, but the error wasn't exposed until now.

Summary of changes:
 bin/csh/config.h                               |  2 +-
 contrib/smbfs/include/netsmb/smb_lib.h         | 14 +++++++-------
 contrib/smbfs/lib/smb/nls.c                    | 14 +++++++-------
 contrib/smbfs/lib/smb/print.c                  |  2 +-
 contrib/smbfs/lib/smb/rq.c                     |  4 ++--
 gnu/lib/gcc50/libstdcxx/headers/config.h       |  2 +-
 gnu/lib/libdialog/dlg_config.h                 |  2 +-
 gnu/usr.bin/binutils224/libbinutils/config.h   |  2 +-
 gnu/usr.bin/binutils225/block1/bulibs/config.h |  2 +-
 gnu/usr.bin/cc47/cc_prep/auto-host.h           |  2 +-
 gnu/usr.bin/cc47/libcpp/config.h               |  2 +-
 gnu/usr.bin/cc50/Makefile.inc                  |  1 +
 gnu/usr.bin/cc50/cc_prep/auto-host.h           |  2 +-
 gnu/usr.bin/cc50/support-libs/libcpp/config.h  |  2 +-
 gnu/usr.bin/diff/libdiffutils/config.h         |  2 +-
 gnu/usr.bin/gdb/libgdb/config.h                |  2 +-
 gnu/usr.bin/grep/libgreputils/config.h         |  2 +-
 gnu/usr.bin/grep/libgreputils/iconv.h          |  2 +-
 include/iconv.h                                |  9 ++++-----
 lib/i18n_module/BIG5/citrus_big5.c             |  4 ++--
 lib/i18n_module/DECHanyu/citrus_dechanyu.c     |  4 ++--
 lib/i18n_module/EUC/citrus_euc.c               |  6 +++---
 lib/i18n_module/EUCTW/citrus_euctw.c           |  4 ++--
 lib/i18n_module/GBK2K/citrus_gbk2k.c           |  6 +++---
 lib/i18n_module/HZ/citrus_hz.c                 | 12 +++++-------
 lib/i18n_module/ISO2022/citrus_iso2022.c       |  6 +++---
 lib/i18n_module/JOHAB/citrus_johab.c           |  6 +++---
 lib/i18n_module/MSKanji/citrus_mskanji.c       |  6 +++---
 lib/i18n_module/UES/citrus_ues.c               |  4 ++--
 lib/i18n_module/UTF1632/citrus_utf1632.c       |  6 +++---
 lib/i18n_module/UTF7/citrus_utf7.c             |  8 ++++----
 lib/i18n_module/UTF8/citrus_utf8.c             |  6 +++---
 lib/i18n_module/VIQR/citrus_viqr.c             |  4 ++--
 lib/i18n_module/ZW/citrus_zw.c                 |  6 +++---
 lib/i18n_module/iconv_none/citrus_iconv_none.c |  6 +++---
 lib/i18n_module/iconv_std/citrus_iconv_std.c   | 10 +++++-----
 lib/libarchive/config.h                        |  2 +-
 lib/libc/citrus/citrus_iconv.h                 |  4 ++--
 lib/libc/citrus/citrus_iconv_local.h           |  6 +++---
 lib/libc/citrus/citrus_none.c                  |  6 +++---
 lib/libc/citrus/citrus_stdenc.h                |  4 ++--
 lib/libc/citrus/citrus_stdenc_local.h          | 10 +++++-----
 lib/libc/citrus/citrus_stdenc_template.h       |  6 +++---
 lib/libc/iconv/iconv.c                         |  4 ++--
 lib/libc/locale/cXXrtomb_iconv.h               |  5 ++---
 lib/libc/locale/mbrtocXX_iconv.h               |  5 ++---
 lib/libkiconv/xlat16_iconv.c                   | 21 ++++++++++-----------
 sys/sys/param.h                                |  3 ++-
 usr.bin/iconv/iconv.c                          |  3 +--
 49 files changed, 124 insertions(+), 129 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0db70a6ab02af296a425c9de48294a4da59c442b


-- 
DragonFly BSD source repository



More information about the Commits mailing list