Commit Graph

17 Commits

Author SHA1 Message Date
Guy Helmer
7111b0acef O_NONBLOCK was used as a command with a bogus arg to fcntl(2).
Change it to F_SETFD with an arg of 0 to clear O_NONBLOCK.

PR:		bin/8681
Submitted by:	koyama takahiro <tah@d1.dion.ne.jp>
Prompted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-06-09 19:38:28 +00:00
Daniel Baker
c87eca8b08 column counter (cnt) not reset to 0 on display of '\r' which could cause
unnecessary forced linewraps on some terminals.

Submitted by:	David McNett <nugget@slacker.com>
1999-09-01 23:07:29 +00:00
Daniel Baker
b4d6ab014c Corrected apparent omission in program logic which was causing the
insertion of redundant crlf's.  Eliminated the venetian-blind effect
in walled text.

Submitted by:	David McNett <nugget@slacker.com>
1999-09-01 22:21:24 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Nik Clayton
3be5f1f5ce Add $Id$, to make it simpler for members of the translation teams to
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
1999-07-12 20:24:20 +00:00
Matthew Dillon
98df703fe0 PR: bin/8680
Increase the size of a number of buffers and replace strcpy/strcat/sprintf
    with snprintf().  There was a minor and possibly not exploitable security
    hole related to one sprintf().
1998-12-13 03:42:51 +00:00
Poul-Henning Kamp
a623ec03f3 A bit of PR7278 which belongs here.
PR:		7278
Reviewed by:	phk
Submitted by:	Harlan.Stenn@pfcs.com
1998-07-22 20:34:24 +00:00
Philippe Charnier
a31bd3d64c Add rcsid. Sort #includes. 1998-03-23 07:47:31 +00:00
Andrey A. Chernov
580117026e Change manual declarations of some functions to proper includes
Rewrote allowed character test to be more efficient
Fix screen position calculations: control and 8bit characters was
not counted properly
1997-09-15 01:03:16 +00:00
Philippe Charnier
752d887a62 Use err(3). Add usage(). 1997-08-25 06:43:22 +00:00
Andrey A. Chernov
01f6848c9c Add locale-independent control checks for security reason 1997-05-14 09:37:54 +00:00
Andrey A. Chernov
9566348d5c Localize it 1997-05-13 11:30:01 +00:00
Andrey A. Chernov
fc092135ab Fix 8bit chars handling 1997-04-08 13:52:53 +00:00
Warner Losh
1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Alexander Langer
f20e416903 Fix some improperly wrapped lines in the code. 1996-08-11 02:20:05 +00:00
Guido van Rooij
acc879c13f The talkd security hole can ealso be exploited by wall (and thus rwall).
write and talk are not affected.
Now print out escape sequences in the same way as is done by write(1).
1994-10-23 15:33:55 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00