Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fmt(1): for pointers use NULL instead of 0 | pfg | 2016-04-13 | 1 | -4/+3 |
| | | | | While here clean excessive not lint comment indentation. | ||||
* | fmt(1): reformat with indent(1). | pfg | 2016-04-13 | 1 | -380/+497 |
| | | | | | | | Failed attempt to get nearer to style(9) and the format from the original OpenBSD code. At least it should be readable now. No functional change. | ||||
* | Add META_MODE support. | sjg | 2015-06-13 | 1 | -0/+18 |
|\ | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp | ||||
| * | dirdeps.mk now sets DEP_RELDIR | sjg | 2015-06-08 | 1 | -2/+0 |
| | | |||||
| * | Updated dependencies | sjg | 2014-05-16 | 1 | -1/+0 |
| | | |||||
| * | Updated dependencies | sjg | 2014-05-10 | 1 | -0/+2 |
| | | |||||
| * | Updated dependencies | sjg | 2013-03-11 | 1 | -0/+1 |
| | | |||||
| * | Updated dependencies | sjg | 2013-02-16 | 1 | -2/+0 |
| | | |||||
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch. | marcel | 2012-08-22 | 1 | -0/+19 |
|/ | | | | Requested by: Simon Gerraty <sjg@juniper.net> | ||||
* | Remove the advertising clause from UCB copyrighted files in usr.bin. This | joel | 2010-12-11 | 1 | -4/+0 |
| | | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson | ||||
* | Revert most part of 200420 as requested, as more review and polish is | delphij | 2009-12-13 | 1 | -0/+1 |
| | | | | needed. | ||||
* | Remove unneeded header includes from usr.bin/ except contributed code. | delphij | 2009-12-11 | 1 | -1/+0 |
| | | | | Tested with: make universe | ||||
* | Prevent strange crashes in fmt with absurd goal lengths introduced by the | jmallett | 2007-10-17 | 1 | -0/+2 |
| | | | | | | | | | | | | | | support for wide characters. If the sizeof (wchar_t) times max_length would yield a value beyond representation in a size_t, exit with a usage error up front, rather than strange errors down the line from trying to malloc (well, realloc) with a size of 0. This is perhaps not the optimal behaviour - a clamp may be more appropriate as we clamp the value of max_length now anyway, but this is at least better than segfaulting or worse. On systems which are friendly to malloc with a value of 0 the results could end up being strange corruption of the output. | ||||
* | Remove unnecessary SRCS= where could be guessed directly by our | delphij | 2005-01-27 | 1 | -1/+0 |
| | | | | | | bsd.*.mk infrasture. Obtained from: ru | ||||
* | Cross-reference fold(1). | tjr | 2004-08-02 | 1 | -0/+1 |
| | |||||
* | Add support for multibyte characters. | tjr | 2004-08-02 | 2 | -57/+94 |
| | |||||
* | Document incorrect handling of multibyte characters. | tjr | 2004-07-17 | 1 | -1/+3 |
| | |||||
* | Avoid passing negative values to isspace() on systems with signed chars. | tjr | 2004-07-15 | 1 | -1/+1 |
| | |||||
* | Use warn() instead of perror(). | tjr | 2004-07-15 | 1 | -3/+3 |
| | |||||
* | Consistently use FBSDID | obrien | 2002-06-30 | 1 | -2/+2 |
| | |||||
* | Very minor whitespace nit. | markm | 2002-04-28 | 1 | -1/+0 |
| | |||||
* | Usage style sweep: spell "usage" with a small 'u'. | des | 2002-04-22 | 1 | -1/+1 |
| | | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/. | ||||
* | Use `The .Nm utility' | charnier | 2002-04-19 | 1 | -2/+6 |
| | |||||
* | Remove leaf node WARNS?=2 (that mainly I added). This should | markm | 2002-02-08 | 1 | -1/+0 |
| | | | | help the GCC3 transition and CURRENT in general. | ||||
* | Don't format lines that look like troff requests, for | ru | 2002-01-11 | 2 | -5/+28 |
| | | | | | | | | compatibility with old fmt(1). New option -n permits formatting of lines beginning with a dot character. PR: bin/31392 MFC after: 3 days | ||||
* | The old fmt(1) always did what the new ``-l 8'' option does. | ru | 2001-08-15 | 2 | -2/+16 |
| | | | | | | | | POLA: Changed the default to ``-l 8'' while still providing a way to disable this feature with ``-l 0''. PR: bin/29247 Reviewed by: iedowse | ||||
* | Don't call errx() with a variable format string | kris | 2001-08-11 | 1 | -1/+1 |
| | | | | MFC after: 1 week | ||||
* | WARNS= -> WARNS?= | dd | 2001-06-22 | 1 | -1/+1 |
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> | ||||
* | Cast size_t -> int to satisfy printf %* constraints on the alpha. | jlemon | 2001-06-16 | 1 | -1/+1 |
| | |||||
* | fmt(1) rewrite by Gareth McCaughan. | ru | 2001-06-06 | 3 | -552/+660 |
| | | | | | | | PR: bin/5901, bin/12242, bin/19071 Submitted by: Gareth McCaughan <gjm11@dpmms.cam.ac.uk> Obtained from: OpenBSD + ctype(3), WARNS=2, and manpage cleanup MFC after: 2 weeks | ||||
* | Mark up the optional -c option with the Op macro. | sheldonh | 2000-03-09 | 1 | -1/+1 |
| | | | | | PR: 17271 Submitted by: David Malone <dwmalone@maths.tcd.ie> | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 2 | -2/+2 |
| | |||||
* | Add $Id$, to make it simpler for members of the translation teams to | nik | 1999-07-12 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde | ||||
* | Ooops, the Makefile was not supposed to be changed. Unspam this. | joerg | 1997-09-30 | 1 | -1/+1 |
| | |||||
* | Fix a number of fixed-size buffers etc. | joerg | 1997-09-30 | 2 | -5/+32 |
| | | | | | PR: bin/4520 Submitted by: gjm11@dpmms.cam.ac.uk (Gareth McCaughan) | ||||
* | Pre-allocate buffer to avoid core dump in corner cases. | jlemon | 1997-08-21 | 1 | -2/+6 |
| | | | | | PR: 2968 Submitted by: Gareth McCaughan <gjm11@dpmms.cam.ac.uk> | ||||
* | Add rcsid, prototypes. Use err(3). | charnier | 1997-07-03 | 2 | -15/+37 |
| | |||||
* | Removed inconsistent declaration of malloc(). `make world' with DESTDIR | bde | 1997-04-23 | 1 | -1/+0 |
| | | | | set to something other than "/" now actually works. | ||||
* | Sort cross references. | wosch | 1997-01-15 | 1 | -2/+2 |
| | |||||
* | Add -c flag to fmt to center lines. | phk | 1996-09-10 | 2 | -0/+33 |
| | |||||
* | Fix a segfault which occurs when it gets an empty input line. | smpatel | 1996-04-22 | 1 | -1/+8 |
| | | | | | | | Closes PR bin/1153 Reviewed by: smpatel Submitted by: Matthew C. Mead (mmead@Glock.COM) | ||||
* | Dynamically allocate line buffers, instead of assuming that all the | joerg | 1995-11-15 | 1 | -6/+31 |
| | | | | world would fit into BUFSIZ. | ||||
* | Add setlocale LC_CTYPE | ache | 1995-10-24 | 1 | -0/+3 |
| | |||||
* | Remove trailing whitespace. | rgrimes | 1995-05-30 | 1 | -8/+8 |
| | |||||
* | Make fmt ctype-aware | ache | 1995-05-11 | 1 | -6/+6 |
| | | | | | Fix non-critical bug with getting EOF double times Not call strlen for zero length test | ||||
* | BSD 4.4 Lite Usr.bin Sources | rgrimes | 1994-05-27 | 3 | -0/+563 |