diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-08-12 01:14:45 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-08-12 01:15:37 -0700 |
commit | faf5fbeb360a17d3d3407bf58a39706e4ce12642 (patch) | |
tree | 157963cc68a2536597d59b7a2869010642177edf /gnulib | |
parent | 4a1527908b992f721fc99991b0e89d8d355f924c (diff) | |
download | coreutils-faf5fbeb360a17d3d3407bf58a39706e4ce12642.tar.xz |
pathchk: port to hosts where mbstate_t is replaced
This problem was discovered when trying to build git coreutils on
Solaris 8 sparcv9 with Sun C 5.8: the 3rd argument to mbrlen was
of type int * (a pointer to the gnulib replacement mbstate_t) but
the system mbrlen wants the system mbstate_t *.
* bootstrap.conf (gnulib_modules): Add mbrlen.
* src/pathchk.c (mbrlen, mbstate_t) [!(HAVE_MBRLEN && HAVE_MBSTATE_T)]:
Remove macros, which are wrong now that gnulib supplies
replacements for mbstate_t and mbrlen.
Diffstat (limited to 'gnulib')
0 files changed, 0 insertions, 0 deletions