Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/po/cs.po
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-06-13 22:23:49 -0400
committerDan McGee <dan@archlinux.org>2011-06-20 00:11:46 -0500
commit620cddfc13fb2b2c9f1086ab201db5db3e25be1f (patch)
tree71c145d9dbea2fd16a6cafc46053853a72667f29 /lib/libalpm/po/cs.po
parent0f26e3aa5b91ffc0a5bef9a0f0bb9d40ec198407 (diff)
pacman/util.c: support terminals with unknown width
Add detection for stdout being attached to a tty device. When this check fails, return a default width of 0, which callers interpret to mean "don't wrap". Conversely, when our term ioctl suceeds but returns 0, we interpret this to mean a tty with an unknown width (e.g., a serial console), in which case we default to a sane value of 80. Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'lib/libalpm/po/cs.po')
0 files changed, 0 insertions, 0 deletions