chiark / gitweb /
libgpg-error: workaround no stdout atexit with constructor prior to N (#1017)
[termux-packages] / packages / util-linux / text-utils-column.c.patch
1 diff -u -r ../util-linux-2.28/text-utils/column.c ./text-utils/column.c
2 --- ../util-linux-2.28/text-utils/column.c      2016-01-13 04:06:20.659478041 -0500
3 +++ ./text-utils/column.c       2016-06-22 06:32:49.528395388 -0400
4 @@ -68,7 +68,7 @@
5  #define DEFCOLS     25
6  #define TAB         8
7  #define DEFNUM      1000
8 -#define MAXLINELEN  (LINE_MAX + 1)
9 +#define MAXLINELEN  (_POSIX2_LINE_MAX + 1)
10  
11  static int input(FILE *fp, int *maxlength, wchar_t ***list, int *entries);
12  static void c_columnate(int maxlength, long termwidth, wchar_t **list, int entries);