summaryrefslogtreecommitdiff
path: root/bin/mt/mtrmt.c
AgeCommit message (Expand)Author
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-07-09ensure tape name and tape commands are not too long. passing too longTheo de Raadt
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
2012-12-04replace sys/param.h with sys/types.h (and sometimes add limits.h if needed)Theo de Raadt
2012-12-04remove sunos backwards compatTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2006-04-11Check for strdup() failure.Ray Lai
2006-03-23use strdup() instead; adobriyan@gmailTheo de Raadt
2004-09-16ARGSUSED on signal handlerTheo de Raadt
2003-06-11ansification, art okTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-05-27strlcpyTheo de Raadt
2002-03-14kill more registers.Mike Pechkin
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-14in a signal handler, change errx() to warnx() + _exit; millert okTheo de Raadt
1997-09-12Don't put newline's in warnx()Todd C. Miller
1997-06-18(foo *)0 -> NULLkstailey
1996-09-15Don't complain if setsockopt() fails. It will fail if we used rcmdsh()Todd C. Miller
1996-09-02not setuid, silence TCP_MAXSEG for non-rootTheo de Raadt
1996-09-01check rcmd() return val and exit nicely.Todd C. Miller
1996-08-09sprintf -> snprintfTodd C. Miller
1996-03-08From NetBSD:Niklas Hallqvist