Ruslan Ermilov
|
ccb8bea4f0
|
The old fmt(1) always did what the new ``-l 8'' option does.
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
|
2001-08-15 14:53:55 +00:00 |
|
Kris Kennaway
|
57c6bd978f
|
Don't call errx() with a variable format string
MFC after: 1 week
|
2001-08-11 00:49:11 +00:00 |
|
Jonathan Lemon
|
84982751aa
|
Cast size_t -> int to satisfy printf %* constraints on the alpha.
|
2001-06-16 06:22:09 +00:00 |
|
Ruslan Ermilov
|
1438aefc25
|
fmt(1) rewrite by Gareth McCaughan.
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
|
2001-06-06 10:17:05 +00:00 |
|
Peter Wemm
|
c3aac50f28
|
$Id$ -> $FreeBSD$
|
1999-08-28 01:08:13 +00:00 |
|
Joerg Wunsch
|
9c61e1111e
|
Fix a number of fixed-size buffers etc.
PR: bin/4520
Submitted by: gjm11@dpmms.cam.ac.uk (Gareth McCaughan)
|
1997-09-30 19:42:05 +00:00 |
|
Jonathan Lemon
|
dc3001cf35
|
Pre-allocate buffer to avoid core dump in corner cases.
PR: 2968
Submitted by: Gareth McCaughan <gjm11@dpmms.cam.ac.uk>
|
1997-08-21 03:41:41 +00:00 |
|
Philippe Charnier
|
63ffb11347
|
Add rcsid, prototypes. Use err(3).
|
1997-07-03 07:19:46 +00:00 |
|
Bruce Evans
|
f4c1975c26
|
Removed inconsistent declaration of malloc(). `make world' with DESTDIR
set to something other than "/" now actually works.
|
1997-04-23 10:16:58 +00:00 |
|
Poul-Henning Kamp
|
3f8da92bc8
|
Add -c flag to fmt to center lines.
|
1996-09-10 19:50:23 +00:00 |
|
Sujal Patel
|
003aaef883
|
Fix a segfault which occurs when it gets an empty input line.
Closes PR bin/1153
Reviewed by: smpatel
Submitted by: Matthew C. Mead (mmead@Glock.COM)
|
1996-04-22 18:37:22 +00:00 |
|
Joerg Wunsch
|
e6c267f18c
|
Dynamically allocate line buffers, instead of assuming that all the
world would fit into BUFSIZ.
|
1995-11-15 15:01:01 +00:00 |
|
Andrey A. Chernov
|
8bbd907273
|
Add setlocale LC_CTYPE
|
1995-10-24 06:15:05 +00:00 |
|
Rodney W. Grimes
|
7799f52a32
|
Remove trailing whitespace.
|
1995-05-30 06:41:30 +00:00 |
|
Andrey A. Chernov
|
d293af2d2e
|
Make fmt ctype-aware
Fix non-critical bug with getting EOF double times
Not call strlen for zero length test
|
1995-05-11 21:32:35 +00:00 |
|
Rodney W. Grimes
|
9b50d90275
|
BSD 4.4 Lite Usr.bin Sources
|
1994-05-27 12:33:43 +00:00 |
|