Commit Graph

29 Commits

Author SHA1 Message Date
lukem 54f1cbbf7a Fix -Wshadow issue 2009-04-18 09:25:50 +00:00
joerg 9ae0c77a07 Don't use .Xo/.Xc to avoid ancient macro argument limit.
Replace .Sm off / .Sm on with .Ns.
2009-03-11 18:23:38 +00:00
lukem 9c1945664c Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 13:36:57 +00:00
agc 326b2259b7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-08-07 11:25:11 +00:00
itojun d9f2774c1e use bounded string op 2003-07-13 12:08:28 +00:00
wiz 96be368bd4 Be more careful about .Sm on/off usage. 2003-06-30 10:49:28 +00:00
itojun aafb24a06b getstring() safer by passing buffer size. millert@openbsd 2002-07-04 06:43:19 +00:00
wiz 0cedb12b9c Sort sections. 2002-02-02 01:41:22 +00:00
lukem 28073e3899 - use snprintf() instead of sprintf() when printing strerror.
(from openbsd via freebsd)
- use strtoll instead of strtoq()
2001-12-24 00:54:28 +00:00
wiz ccb6f40539 Improve usage of `comprise' according to Webster and misc/10893
by Jim Bernard.
2001-05-06 12:29:18 +00:00
wiz 4dea69431e Add sections to some xrefs. Whitespace fixes while I'm here. 2001-04-03 11:28:21 +00:00
mjacob dcdf7ba2cd Fix rmt for use with Solaris 2.7 and others. The deal here is that for
version 0 RMT protocol, the query of status makes no sense (send back, in
binary, the mtget structure), but systems sometimes use it anyway. And when
they use it, they get upset if they get back something that is a different
size from what they expect. The original mtget structure in BSD 4.3 is
24 bytes in size, and that seems to be what they can cope with.

The correct fix would be to go to Version 1 RMT, but that's a horse of
another color...
2000-02-08 18:00:05 +00:00
mycroft 68d6f4bf44 Remove spurious .ne's. 1999-03-24 06:27:49 +00:00
garbled d1407362ba 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:43:46 +00:00
lukem 166448c2dc WARNSify 1997-10-17 13:02:01 +00:00
mrg 3bbeacd12c merge lite-2 1997-10-17 08:05:18 +00:00
mikel 58aea378cf use strtoq() instead of atoi() to generate offset argument for lseek()
(Todd Miller)
include <fcntl.h>, <stdlib.h>, and <unistd.h> for prototypes
include <sys/ioctl.h> instead of <sys/sgtty.h>
add explicit return types and prototypes for internal functions
use STD{IN,OUT}_FILENO instead of manifest constants
fix off-by-one buffer overflow error in getstring()
KNFify and RCSid police
1997-07-01 07:42:28 +00:00
mikel 181be486b9 RCSid police 1997-07-01 07:31:26 +00:00
mikel 3ea752d97e swap arguments of L command to match code 1997-07-01 07:20:33 +00:00
mycroft e6ae4619a7 Add missing #include. 1995-04-13 02:07:23 +00:00
mycroft d092e7eb1e Give open() reasonable permissions for creating a file (though this doesn't
matter for the normal case of opening a device).  Suggested by Joerg Wunsch.
1995-04-09 19:02:54 +00:00
cgd d8806814a6 specify man pages the new way. 1994-12-22 11:32:57 +00:00
cgd 7a6e889600 kill bad casts 1994-03-30 02:28:43 +00:00
cgd 20137a28c8 kill extern'd lseek() 1994-03-28 07:08:56 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 3731815919 Add RCS identifiers. 1993-07-30 20:50:20 +00:00
mrg c78c6a22ab 4.4BSD-Lite2 1993-06-06 20:58:02 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00