util-linux/text-utils
Carlos Santos ccedd0d7b1 column: fix compilation when libc lacks wide-character support
Commit 4762ae9d removed mtsafe_strtok() but left behind calls to wcstok
and wcspbrk. This leads to build failures when libc does not have the
wide-character functions, like some uClibc builds.

Solve the problem by using strtok_r and strpbrk when HAVE_WIDECHAR is
not defined.

Fixes:
  http://autobuild.buildroot.net/results/fd8a1a8e0cef3aeed9588540e8e663664f6b43aa
  http://autobuild.buildroot.net/results/5ad73ea8b471321988c50d80a5e50d4504151dd6
  http://autobuild.buildroot.net/results/04411b7280dc51ecd51236967981a42352bbeb3e

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
2017-06-29 13:03:43 +02:00
..
Makemodule.am build-sys: remove column-old.c 2017-05-03 10:40:46 +02:00
col.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
col.c misc: consolidate all --help option descriptions 2017-06-27 12:28:36 +02:00
colcrt.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
colcrt.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
colrm.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
colrm.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
column.1 column: add --table-header-repeat 2017-06-13 11:14:46 +02:00
column.c column: fix compilation when libc lacks wide-character support 2017-06-29 13:03:43 +02:00
hexdump-conv.c hexdump: Rename struct _pr to struct hexdump_pr and remove it's typedef 2013-12-02 13:44:21 +01:00
hexdump-display.c misc: stop mixing declarations and code 2017-03-13 14:48:04 +01:00
hexdump-parse.c misc: fix ggc-7 fallthrough warnings 2017-06-14 11:48:22 +02:00
hexdump.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
hexdump.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
hexdump.h misc: cosmetics, remove argument from usage(FILE*) 2017-06-26 14:38:24 +02:00
line.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
line.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
more.1 more: add --help and --version 2017-06-22 21:35:01 +02:00
more.c misc: consolidate all --help option descriptions 2017-06-27 12:28:36 +02:00
pg.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
pg.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
rev.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
rev.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00
ul.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ul.c misc: introduce print_usage_help_options() 2017-06-27 12:26:19 +02:00