Commit Graph

88 Commits

Author SHA1 Message Date
lukem 91387bb4e5 Fix WARNS=4 issues (-Wcast-qual -Wshadow -Wsign-compare) 2009-04-14 08:50:06 +00:00
joerg 70588139b2 Explicitly escape : in .It. 2009-03-10 21:18:35 +00:00
christos c20a3600e6 64 bit time_t 2008-12-29 01:53:35 +00:00
gmcgarry 8385c9b102 Both legs of a conditional operator must return the same type. 2008-07-25 06:53:43 +00:00
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
christos 920d4bcbef from Anon Ymous:
Convert a "(void)&" construct to volatile.
Make two variables in wwiomux.c volatile that gcc -Wextra complained about.
Do proper initialization of lcmd_arg tables and flag some variables
__unused so this will compile with gcc -Wextra.
2006-12-18 20:04:55 +00:00
christos 1fc5ea78ff Coverity CID 3184: Don't dereference NULL 2006-05-23 01:11:12 +00:00
christos d1c2aa7c3b Coverity CID 1184: Avoid NULL deref. 2006-05-02 22:35:07 +00:00
christos 4e749c0af7 Coverity CID 1185: Avoid NULL deref. 2006-05-02 22:33:42 +00:00
christos 060bb7465d Coverity CID 1330: Always check str_alloc for NULL returns. 2006-05-02 22:30:25 +00:00
christos 9c8ab46858 Coverity CID 569: Remove dead code. 2006-05-02 22:24:05 +00:00
lukem 829384f829 appease gcc -Wuninitialized 2005-06-02 04:34:57 +00:00
aymeric 8d1f13638c . wait only for 10 ms instead of 100 ms before updating the screen
. fix a variable reuse bug

It has been broken since the conversion from select() to poll().
2004-12-10 16:27:29 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
itojun b103dc8ce0 another fix for PR bin/22464; never set wwbaud to 0. 2003-08-13 15:21:07 +00:00
itojun c0c6d52ab2 backout previous - commited by mistake 2003-08-13 15:14:55 +00:00
itojun e0a59ddcd9 fix PR bin/22464 (hang up on kterm) 2003-08-13 15:13:46 +00:00
christos fa2d773e2e Kill select. 2003-08-13 14:13:14 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
wiz 72c59e3ee3 Quote question mark, to get it marked up. Whitespace nit. 2003-06-30 19:17:01 +00:00
aymeric a069ac021f Fix a bug where window(1) would (appear to) miss a character when two
characters are typed fast one after the other (<10 ms).
The visual effect under vi(1) was even more impressive. ;-)
This bug was actually introduced inadvertantly in 1995 in rev 1.4.
2003-04-09 16:25:10 +00:00
matt ef69aa80b5 Add missing include 2003-02-28 05:48:25 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
perry 8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
jdc 1b61e72004 Check for equivalance between "se" and "ue" when unsetting them.
Reset the other if unsetting this one also unset the other.
2003-02-02 17:43:16 +00:00
kleink b3df6303a9 Rename `sigset' locals to avoid symbol shadowing warning. 2003-01-16 09:38:37 +00:00
grant 9c6e01642a New sentence, new line. Some mdoc cleanup. 2002-09-30 08:04:27 +00:00
itojun dbf388bc4f calloc() arg mistake. it's (nelem, size). from openbsd 2002-08-12 02:40:20 +00:00
wiz 4953298d90 Remove #if __STDC__. De-__P() and ANSIfy, and fix a mismatching prototype
uncovered by this (p_assign).
2002-06-14 01:07:01 +00:00
wiz 19f3b61aa0 Remove #if __STDC__. De-__P() and ANSIfy, and fix a mismatching prototype
uncovered by this (p_assign).
2002-06-14 01:06:51 +00:00
simonb 688f49ac00 Use openpty() to deal with the new pty naming scheme. 2002-05-30 03:22:58 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz 8dd99cb599 Sort sections. 2001-12-08 19:26:45 +00:00
tv fbc7a97b48 Remove files beginning with ":", which is invalid on other host OS's
(particularly those made by Microsoft).  These ex/vi-macro files are not
actually needed at this point, anyway....
2001-10-19 02:43:26 +00:00
wiz 90af3ec140 environ(5) -> (7). Improve some xrefs. Whitespace fixes. 2001-04-04 09:51:22 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
cgd d594ce939b comment or delete text after CPP directives. 2001-01-16 02:50:27 +00:00
thorpej 7f3f19a068 Fix int vs. long format string botch. 2000-10-11 19:30:04 +00:00
matt fcd0fb118f Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
2000-07-03 02:51:12 +00:00
lukem 88d3d7c59e update after change to return value of tputs() third argument 1999-10-04 23:26:59 +00:00
mycroft 8a57f79533 +hupcl -clocal in windows. 1999-05-06 07:28:51 +00:00
mrg eb6ee238a9 use mkdtemp not mktemp/mkdir. 1999-04-20 13:52:36 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
ross 671cd0ceb0 Missing .El. 1999-03-09 03:32:51 +00:00
hubertf 56f2d188fc RCS ID police 1999-02-15 04:54:34 +00:00
christos 6e19ececef BADSIG -> SIG_ERR 1998-12-20 15:03:15 +00:00
christos 3c894f223c setpgrp -> setpgid 1998-12-20 15:02:57 +00:00
christos e0007e4751 union wait -> int 1998-12-20 15:02:17 +00:00
christos 9c41bfb9f4 include unistd.h 1998-12-20 15:01:43 +00:00
christos 5a0d53715e braces 1998-12-20 15:01:30 +00:00