summaryrefslogtreecommitdiffstats
path: root/text-utils
diff options
context:
space:
mode:
authorKarel Zak2014-10-01 11:38:49 +0200
committerKarel Zak2014-10-01 11:38:49 +0200
commiteef63970238a20d769e41e1261c4790b772d5b00 (patch)
treee1b49aa16d3a2b5ae5fecbc2f8cd089175d5a5a8 /text-utils
parentsu: print proper core dump message when killed (diff)
downloadkernel-qcow2-util-linux-eef63970238a20d769e41e1261c4790b772d5b00.tar.gz
kernel-qcow2-util-linux-eef63970238a20d769e41e1261c4790b772d5b00.tar.xz
kernel-qcow2-util-linux-eef63970238a20d769e41e1261c4790b772d5b00.zip
cfdisk: don't modify ncurses LINES and COLS
On Sun, Sep 28, 2014 at 01:48:38AM -0700, pv4 wrote: If ncurses is build with --enable-reentrant, building util-linux-2.25.1 fails with the folllowing error: disk-utils/cfdisk.c: In function 'resize': disk-utils/cfdisk.c:202:9: error: lvalue required as left operand of assignment LINES = ws.ws_row; ^ disk-utils/cfdisk.c:203:8: error: lvalue required as left operand of assignment COLS = ws.ws_col; ^ man COLS gives the following: Depending on the configuration, these may be actual variables, or macros (see curs_threads(3X)) which provide read-only access to curses's state. In either case, applications should treat them as read-only to avoid confusing the library. Addresses: https://github.com/karelzak/util-linux/issues/125 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils')
0 files changed, 0 insertions, 0 deletions