util-linux/term-utils
Sami Kerola afbdd44fe3 term-utils: avoid error message string length couting errors
Remove various magic numbers with either a string lenght count, or a
symbolic variable that is recognized by gdb.

[kzak@redhat.com: - use snprintf() everywhere,
                  - check snprintf() return code rather than mess up
                    the code with strlens]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-05-12 13:37:35 +02:00
..
Makemodule.am build-sys: use tinfo *or* ncurses for more(1), ul(1) and setterm(1) 2013-10-04 13:28:37 +02:00
agetty.8 docs: tweak the grammar of an agetty man-page fragment 2013-10-04 11:56:59 +02:00
agetty.c include/c.h: prefer nanosleep() over usleep() 2014-01-24 13:04:14 +01:00
mesg.1 docs: standardize the phrases for --help and --version in all man pages 2013-10-15 10:28:30 +02:00
mesg.c various: fix mixing declarations and code compiler warnings [smatch] 2013-10-08 15:47:59 +02:00
reset reset: make scripts bourne sh compliant [checkbashisms] 2012-03-30 16:48:12 +02:00
reset.1 docs: uniformize the header and footer lines in man pages 2011-08-22 10:39:21 +02:00
reset.033c reset: make scripts bourne sh compliant [checkbashisms] 2012-03-30 16:48:12 +02:00
script.1 docs: standardize the phrases for --help and --version in all man pages 2013-10-15 10:28:30 +02:00
script.c script: time from end of read() call partially fixes #58 2014-03-19 22:45:48 -04:00
scriptreplay.1 scriptreplay: Add --maxdelay option. 2014-02-10 19:24:28 +01:00
scriptreplay.c scriptreplay: no need to skip first time value or last bytes fixes #58 2014-03-19 22:47:11 -04:00
setterm.1 setterm: fix -dump man page info 2013-12-02 12:21:47 +01:00
setterm.c build-sys: Fix check for __GNU_LIBRARY__ 2013-10-04 11:51:45 +02:00
ttymsg.c term-utils: avoid error message string length couting errors 2014-05-12 13:37:35 +02:00
ttymsg.h ttymsg: fix compiler warnings and use EXIT_ 2011-04-12 11:19:15 +02:00
wall.1 docs: format, grammarize, and standardize the wall man page 2013-10-15 10:28:30 +02:00
wall.c include/carefulputc: cleanup and add fputs_{quoted,nonblank}() 2014-04-03 12:29:16 +02:00
write.1 textual: standardize the spelling of "superuser" 2013-06-07 11:31:37 +02:00
write.c include/carefulputc: cleanup and add fputs_{quoted,nonblank}() 2014-04-03 12:29:16 +02:00