summaryrefslogtreecommitdiff
path: root/usr.bin/fmt/fmt.c
AgeCommit message (Expand)Author
2018-10-18Fix not accounting for NUL for allocation size and move to reallocarrayOtto Moerbeek
2017-02-20* Hoist Copyright notice to the top, don't hide it in the middle.Ingo Schwarze
2017-02-19Do not break the line at U+00A0 NO-BREAK SPACE.Ingo Schwarze
2016-01-07UTF-8 support for fmt -c.Ingo Schwarze
2015-12-31Remove use of sysexits.h.Todd C. Miller
2015-12-15UTF-8 support; does not yet handle the -c option.Ingo Schwarze
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-05use the normal -1 check for tame failureTheo de Raadt
2015-10-05tame "stdio rpath" is enough for the general case, which opens fileTheo de Raadt
2013-11-26unsigned char casts for ctypeTheo de Raadt
2012-01-17Change the exit value on errors to be more 4.4BSD like. Use the sum oflum
2012-01-15Document the EXIT STATUS and remove an outdated related comment.Ingo Schwarze
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
2006-11-29trim usage(); ok millert deraadtJason McIntyre
2006-11-29- sync synopsis and usage()Jason McIntyre
2005-03-08weeping the tree for printf(s) where printf("%s",s) should be used.Chad Loder
2004-06-29use warn() instead of perror; err*() are used alreadyMichael Shalayeff
2004-04-01knf and ansi, mostly from joris vinkTed Unangst
2003-12-01Format string fixes from art's amd64 tree.Alexander Yurchenko
2001-11-29Restore historic behavior:Todd C. Miller
2001-11-28from FreeBSD:Todd C. Miller
2001-07-12first pass at a -Wall cleanupTheo de Raadt
2000-06-25allow 'fmt -w width' and 'fmt -width'.Paul Janzen
1999-12-30dont strip off international characters; fixes pr/1020Niels Provos
1999-12-15safe strcpyTheo de Raadt
1998-12-14adjust argv and argc correctly when reading max from command lineTodd C. Miller
1998-12-14pasto that caused goal and max params not to workTodd C. Miller
1998-04-25getopt(3) returns -1 on end of args, not EOF.Todd C. Miller
1998-04-25fmt(1) rewrite by Gareth McCaughan.Todd C. Miller
1998-02-16use abs() on the width for compat with other versions of fmt that accept -wid...Theo de Raadt
1997-10-01Fix bug where fmt allows backslashed whitespace inside words, but it onlyTodd C. Miller
1997-09-23avoid crash when dealing with ^M lines; roberte@MEP.Ruhr-Uni-Bochum.deTheo de Raadt
1997-02-08inline to avoid warningTheo de Raadt
1997-01-27No more static buffers. We can operate on any sized files now.Todd C. Miller
1997-01-26Dynamic buffering to handle arbitrary line length and center option from FreeBSDTodd C. Miller
1997-01-17r?index -> strr?chrTodd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt