mycroft
62ed7f22e4
Don't lose on strings that aren't NUL-terminated.
1995-10-12 03:03:49 +00:00
thorpej
de321ad16f
Conversion from sgtty to termios, from Scott Reynolds <scottr@plexus.com>.
1995-10-10 04:18:01 +00:00
cgd
47b01b6b9c
print interrupt names in 14 cols. really should be dynamic.
1995-10-10 01:17:35 +00:00
pk
574942d8f9
Build `fdeject' on sparc.
1995-10-09 12:05:42 +00:00
pk
8d61a674ca
Floppy eject program.
1995-10-09 12:01:04 +00:00
pk
ce77d757fd
And initialize those local variables...
1995-10-09 00:14:41 +00:00
pk
9d43c41208
New style RCS IDs.
1995-10-09 00:09:39 +00:00
pk
3aa94e17f0
Add -f option for customized output.
1995-10-08 23:39:58 +00:00
gwr
4dab4feee0
Allow an override of STRIP=something_else in the generated makefile.
1995-10-08 23:13:44 +00:00
cgd
dc9363b197
don't forget to accumulate interrupt counts found via allevents.
1995-10-08 06:54:36 +00:00
cgd
7d7362b02f
fix spacing problem in interrupt/total/rate output line of vmstat -i
1995-10-08 06:39:16 +00:00
mycroft
9522b96c5a
TIOCFLUSH --> tcflush(). From Matt Green.
1995-10-05 09:07:22 +00:00
thorpej
67f6822225
New-style RCS ids.
1995-10-03 21:42:34 +00:00
jtc
8ab9cf7c7c
Remove spurious 'Do not', which looks to be the result of a bad cut-n-paste
1995-10-02 20:19:26 +00:00
jpo
c31bb6f41c
insert a conversion operator from argument type to parameter type also
...
if the subtypes of both argument and parameter do not match (use
eqtype() instead of comparing t_tspec fields only).
1995-10-02 17:37:57 +00:00
jpo
0c1422d6bc
removed some dubious warnings about conversion of constant operands of
...
bitwise operators
1995-10-02 17:37:00 +00:00
jpo
e284b17305
allow register variables as left operand of POINT; fixes PR 1442
1995-10-02 17:35:57 +00:00
jpo
e5ba5db05b
don't print a warning about use of unitialized variables if one of the
...
enclosing compound statements had already an asm statement
1995-10-02 17:35:11 +00:00
jpo
9f9008af93
no need to print a warning about inline keywords
...
"inline" is a valid keyword only with -g, and "__inline" is always
a valid keyword
1995-10-02 17:34:16 +00:00
jpo
ffe990841c
don't print warnings about unused variables or arguments in compound
...
statements which contain asm statements.
1995-10-02 17:31:35 +00:00
jpo
5888f3bb16
LINTED and CONSTCOND are now valid up to the next end of a
...
global or local declaration/definition/statement. Originally they were
valid on the current and next line, which made it hard to suppress
warnings in constructs with more then one line.
LONGLONG can now be used to suppress errors or warnings in the next
declaration, definition or statement.
1995-10-02 17:29:45 +00:00
jpo
b95167a01a
support asm statements and asm modifiers in declarations
...
asm statements consist of an asm keyword, an optional qualifier, a
left paren, a list of tokens up to and including the matching right
paren, and a semicolon.
asm modifiers consist of an asm keyword, an left paren, a string and a
right paren.
asm statements and modifiers have no semantic for lint(1), they exist only
to avoid complaints about them.
1995-10-02 17:26:52 +00:00
jpo
bcb6c46ca1
some minor bug fixes
1995-10-02 17:22:46 +00:00
jpo
6910cf7927
prototypes override old style function definitions
...
this is a gnu extension to ansi c
1995-10-02 17:21:24 +00:00
jpo
ef83266200
__{const,signed,volatile}{__,} added
...
const, signed and volatile are disabled with -t
1995-10-02 17:18:53 +00:00
jpo
2e332f67bf
added inline keywords
...
"inline" is enabled by -g, "__inline" and "__inline__" are always available
1995-10-02 17:14:06 +00:00
jpo
a5d55cc062
prefixed members of dinfo_t with 'd_'
1995-10-02 17:08:31 +00:00
cgd
f676bc478a
need <string.h> for strlen() protos. can't just add it to "string.h",
...
since not all files that need the proto include that.
CVS ----------------------------------------------------------------------
1995-09-29 00:44:02 +00:00
cgd
b3658dd411
need string.h for protos.
1995-09-29 00:32:14 +00:00
cgd
ce713b1483
change #ifdef unix's to also accept __NetBSD__. After 1.1 (per a
...
decision made a long time ago), 'unix' will no longer be defined, and
is not currently defined on some architectures.
1995-09-29 00:27:51 +00:00
tls
5a955f3527
Sync with 4.4BSD-Lite2
1995-09-28 10:33:55 +00:00
tls
fcf22abfe3
imported from 44lite2
1995-09-28 09:06:06 +00:00
tls
0ca9b9e38e
Add 'rs' from 4.4BSD-Lite2
1995-09-28 08:57:17 +00:00
tls
4e4ff4e98c
imported from 44lite2
1995-09-28 08:55:50 +00:00
tls
bd18663016
Sync with 4.4BSD-Lite2
1995-09-28 08:49:37 +00:00
perry
20cc106064
Sync with 4.4BSD-Lite2
1995-09-28 08:05:40 +00:00
perry
26727e4c01
Merge and Sync with 4.4BSD-Lite2
...
Mostly looks like the previous NetBSD version, actually -- only minimal
Lite2 stigmata preserved although I started with Lite2. Mostly the changes
were things like index->strchr and the rest was NetBSD code.
1995-09-28 07:34:35 +00:00
tls
c276504da8
Sync with 4.4BSD-Lite2
1995-09-28 06:57:37 +00:00
perry
10b7bf0260
Add RCS ID
1995-09-28 06:24:35 +00:00
jtc
4d8e53d69f
Change formatting so that columns line up; PR #1473 + several duplicates
1995-09-28 06:22:54 +00:00
tls
0d3d818683
Sync with 4.4BSD-Lite2
1995-09-28 06:22:18 +00:00
perry
f04c0f5743
Sync with 4.4BSD-Lite2
1995-09-28 06:19:55 +00:00
tls
7f429c3306
Sync with 4.4BSD-Lite2
1995-09-28 06:05:11 +00:00
tls
5b36a1959d
imported from 44lite2
1995-09-28 05:41:29 +00:00
tls
8ddb734554
Sync with 4.4BSD-Lite2
1995-09-28 05:37:28 +00:00
perry
8ba38ce684
Sync with 4.4BSD-Lite2
1995-09-28 05:15:05 +00:00
jtc
ffef8fa9dd
Removed SEE ALSO section, we don't have yyfix; PR #1517
1995-09-27 21:37:54 +00:00
jtc
1bd0165884
iostat is in section 8; PR #1533
1995-09-27 19:46:12 +00:00
jtc
519b2df4b4
iostat is in section 8; PR #1533
1995-09-27 19:43:28 +00:00
jtc
8ba230d554
vmstat is in section 8; PR #1532
1995-09-27 19:20:24 +00:00
jtc
132a010296
fix formatting of example; PR #1535
1995-09-27 19:08:42 +00:00
jtc
95c465e08b
Update lseek() constants:
...
L_SET -> SEEK_SET
And add off_t cast to offset argument.
1995-09-27 18:44:38 +00:00
jtc
6a70570191
include <signal.h> instead of <sys/signal.h>
1995-09-27 18:42:21 +00:00
jtc
6ce8742ab1
Update lseek() constants:
...
L_SET -> SEEK_SET
Add off_t cast to offset arg.
1995-09-27 01:10:48 +00:00
jtc
447e47e007
Update lseek() constants:
...
L_SET -> SEEK_SET
1995-09-27 01:06:58 +00:00
jtc
0b470f4f06
Fix crash with null eofwrite capabilityand lseek/off_t bug; PR #1346
1995-09-26 06:02:08 +00:00
christos
f4699a7dd3
Revert previous suffix fix. If the .a suffix is present and a .c.a rule is
...
there, then the rule should be applied. This is the correct behavior.
1995-09-25 02:46:30 +00:00
phil
d706482f56
For the pc532, get struct iv from the protected part of <machine/psl.h>.
1995-09-24 06:34:47 +00:00
christos
ae8c2b9dd3
Don't apply the default suffix rules for nodes that are not in our
...
current directory because we could be building things outside our
directory that were not meant to be build... Fixes PR/1488
1995-09-22 00:42:10 +00:00
pk
6a4e77edfb
Correct timersub() argument order (from Thomas Eberhardt; PR#1470).
1995-09-16 22:32:59 +00:00
pk
7b44b2859d
Avoid falling off the end of a fixed-length array (from John F. Woods; PR#1431).
1995-09-15 00:32:33 +00:00
jtc
665fc8b7e7
Fix formatting as suggested in PR #1452
1995-09-14 06:10:53 +00:00
cgd
456a083153
needs string.h for protos.
1995-09-14 01:39:52 +00:00
jtc
7bd4220c4e
fix typo; PR #1457
1995-09-12 18:47:09 +00:00
christos
49a4e14351
Handle long lines without core-dumping.
1995-09-10 15:55:13 +00:00
christos
17c2255148
Fix PR/1443:
...
Dependency rules with `=' in the lhs are parsed as variable assignments.
E.g., the following Makefile fails:
A=a b c d
all: $(A:%=%b)
$(A:%=%b):
@echo $@
1995-09-10 03:58:16 +00:00
tls
94f6fc8e46
Sync with 4.4lite2
1995-09-08 03:22:54 +00:00
tls
917ef72d79
Sync with 4.4lite2
1995-09-08 01:05:59 +00:00
jtc
1a86f1c724
Revert last change, it seems that a lot of software (including our own
...
lint) uses yydebug even when YYDEBUG is not defined.
1995-09-07 17:34:04 +00:00
jtc
5a172566ef
Fixed bug I introduced when changing printf comparison vs. EOF. Noted by
...
andreas@planix.com .
1995-09-05 19:57:43 +00:00
jtc
f4e11cbd09
Include /usr/bin/banner (different from /usr/games/banner)
1995-09-05 18:40:29 +00:00
jtc
cbe2365667
Repair broken merge
1995-09-05 18:36:28 +00:00
phil
207f4a990b
For the pc532, use md-nop.c.
...
(Should this have mapped all except sparc to md-nop.c? All except
md-sparc.c are the same as md-nop.c.)
1995-09-05 09:11:55 +00:00
tls
9460f18c9e
unsurprisingly, I guess, gcore does not work. oops
1995-09-05 02:58:42 +00:00
tls
4fe348bcc0
added from lite2. port maintainers may want to try md-nop.c.
1995-09-05 02:50:30 +00:00
tls
360d99ae35
add gcore
1995-09-05 02:41:54 +00:00
tls
f51106fa49
imported from 44lite2
1995-09-05 02:34:23 +00:00
cgd
a30ab0e620
Try N. This makefile now looks a LOT like lorder's Makefile. In particular,
...
it is inappropriate for Makefiles to force manual pages to be built, so
they shouldn't be doing it. Just redefine 'realinstall' rather than
frobbing every target under the sun.
1995-09-05 01:11:10 +00:00
tls
a4005d9e16
Fix tiny goof missed in fixing tiny goof missed in merge.
1995-09-05 01:06:38 +00:00
tls
46ef75ac74
imported from 44lite2
1995-09-04 21:07:24 +00:00
tls
b1db8b2668
Sync with 4.4lite2
1995-09-04 20:46:14 +00:00
jtc
71bb6dda25
Sync with 4.4lite2
1995-09-02 05:57:23 +00:00
jtc
3e4b73c5a6
Sync with 4.4lite2
1995-09-02 05:45:13 +00:00
jtc
29ab121b2f
Sync with 4.4lite2
1995-09-02 05:38:38 +00:00
jtc
f8c5f00b42
Sync with 4.4lite2
1995-09-02 05:29:46 +00:00
jtc
48b3014fcb
imported from 44lite2
1995-09-02 05:25:56 +00:00
thorpej
983748d2e9
Fix tiny goof missed in merge.
1995-09-01 23:56:34 +00:00
thorpej
81ed704e77
Fix tiny goof left over from the merge.
1995-09-01 23:48:13 +00:00
jtc
e5916357df
Oops!
1995-09-01 19:03:33 +00:00
jtc
af8b52d6db
Sync with 4.4lite2
1995-09-01 01:42:41 +00:00
jtc
7642736cd5
Sync with 4.4lite2
1995-09-01 01:29:39 +00:00
jtc
ca160a4e7b
imported from 44lite2
1995-09-01 00:25:45 +00:00
jtc
054acc2598
Sync with 4.4lite2
1995-08-31 23:38:49 +00:00
jtc
f84b83335c
imported from 44lite2
1995-08-31 23:36:06 +00:00
jtc
08f6147534
Sync with 4.4lite2.
1995-08-31 23:35:23 +00:00
jtc
62803f0235
Sync with 4.4lite2
...
I actually threw away most of the changes, because our version of this
program is considerably better.
1995-08-31 23:30:56 +00:00
jtc
9cffeee5b2
Sync with 4.4lite2
1995-08-31 22:50:22 +00:00
jtc
4d85334f0f
Sync with 4.4lite2
1995-08-31 22:36:32 +00:00
jtc
3f2b3b5a18
Sync with 4.4lite2
1995-08-31 22:26:07 +00:00
jtc
0c3e631d7d
Sync with 4.4lite2
1995-08-31 22:22:05 +00:00
jtc
f1df59ade6
Sync with 4.4lite2
1995-08-31 22:11:37 +00:00
jtc
fcf00a7f44
Sync with 44lite2
1995-08-31 22:10:05 +00:00
jtc
3614b0d5b7
Sync with 4.4lite2
1995-08-31 22:06:22 +00:00
jtc
be667101f6
Sync with 44lite2
1995-08-31 21:54:51 +00:00
jtc
9c755aca36
Sync with 4.4lite2.
1995-08-31 21:51:32 +00:00
jtc
5a441adfaf
sync with 4.4lite2
1995-08-31 21:48:32 +00:00
jtc
3af2d946ae
imported from 44lite2
1995-08-31 21:37:34 +00:00
pk
20a3845e27
Correct description of default century (from Peter Seebach; PR#1423).
1995-08-30 21:21:21 +00:00
cgd
e9b16ab034
pull stdlib.h and string.h in, for protos, where necessary
1995-08-29 23:05:49 +00:00
phil
d096b0e5e1
pc532 specific interrupt code. (From Matthias Pfaller.)
1995-08-27 06:20:27 +00:00
jtc
67c6c5cc72
don't define yydebug unless YYDEBUG is also defined; PR #1402
1995-08-24 00:45:23 +00:00
pk
a4b5950847
.FL' ->
.Fl' (from Masanobu Saitoh; PR#1378).
1995-08-18 15:07:35 +00:00
pk
1a30394a90
.SH' ->
.Sh' (from Masanobu Saitoh; PR#1378).
1995-08-18 15:05:11 +00:00
pk
6209723d69
Escape `...' (from Masanobu Saitoh; PR#1375).
1995-08-18 14:55:40 +00:00
pk
7b77b5bf39
Replace .LI' by
.Ql' (from Masanobu Saitoh; PR#1376).
1995-08-18 14:45:44 +00:00
mycroft
d7b28f05aa
Garbage collect mbuf types.
1995-08-17 03:24:54 +00:00
mycroft
9094d0cb63
Garbage collect mbuf types.
1995-08-17 03:23:40 +00:00
cgd
37dc4c7ab7
fix bugs (missing spaces) in definitions of nmile an Xunit, as pointed
...
out by John F. Woods <jfw@jfwhome.funhouse.com>.
1995-08-13 03:25:54 +00:00
jtc
71c33981ab
Fix parity calculation; PR #1325
1995-08-11 00:10:40 +00:00
jtc
3619016374
Moved from section 1 to section 8; PR #1298
1995-08-10 23:29:47 +00:00
thorpej
7df5d8b0ec
If set, show a route's mtu in the routing table display.
1995-08-10 06:24:52 +00:00
ghudson
558fb11b35
Accept numeric uid or gid for -o and -g flags, for consistency with
...
chown and chgrp.
1995-08-10 04:20:57 +00:00
ghudson
206d659641
Implement and document the -d flag, most easily described as "novice
...
mode." Primary motivation for this is backward-compatibility with BSD
4.3 and cross-compatibility with other platforms, but it's also a
nice feature to have. Displays "[Press space to continue, 'q' to quit]"
at the normal more prompt, and display "[Press 'h' for instructions.]"
when the user gives an invalid command. Some academic environments like
to set the MORE environment variable to contain -d so that students have
an easier time using it, so it's helpful if we can support that option.
1995-08-06 09:22:30 +00:00
phil
72065007ac
Improvements to YP support from Jason Downs.
1995-07-28 07:01:32 +00:00
jtc
522cbae72a
Fix STANDARDS section, which got munged during the 4.4lite merge.
...
Noted by Masanobu Saitoh in PR #1271 .
1995-07-25 18:31:12 +00:00
jtc
ba2cb090ad
Fix typo, noted by Masanobu Saitoh in PR #1270
1995-07-25 18:20:25 +00:00
jtc
1a62dfd970
Fix typo, noted by Masanobu Saitoh in PR #1272
1995-07-25 18:16:57 +00:00
cgd
476f91e9ed
add (dummy) bdes, alphabetize
1995-07-24 04:31:55 +00:00
cgd
6cd3df5d59
add dummy bdes script, which prints an error to stderr and exits with an
...
error code. include manual page, because it's exportable. note in manual
page that installed version doesn't actually work.
1995-07-24 04:30:47 +00:00
ragge
e9aafcbca4
Added vax support.
1995-07-23 18:14:41 +00:00
ragge
fcd02a4fbe
read_names() for vax needed...
1995-07-23 18:09:27 +00:00
christos
7e8c6bf13c
Add support for displaying and switching between
...
different OS system call emulations
1995-07-19 15:11:19 +00:00
mycroft
c04417f76c
Remove code to reset access time of scanned files.
1995-07-13 13:22:58 +00:00
cgd
637e8bb002
fix bug pointed out by Dennis Ferguson <dennis@mci.net>. if hold space null
...
when doing an 'x', make sure it contains a newline.
1995-07-11 04:09:50 +00:00
jtc
89c36052b7
Changed floating point output format to be exactly the same (use same
...
text and macros) as those in the printf(3) manpage.
This fixes PR #1194 , albeit differently.
1995-07-07 23:00:13 +00:00
jtc
8f2827a1fb
update some old-man macros that hadn't been updated; PR #1194
1995-07-07 22:41:30 +00:00
jtc
907b803d29
Fix formatting; PR #1194
1995-07-07 22:35:40 +00:00
jtc
0c6b470863
Remove duplicated word; PR #1194
1995-07-07 22:28:11 +00:00
jtc
6b7d6d2b4d
remove trailing comma from SEE ALSO section; PR #1194
1995-07-07 22:24:09 +00:00
cgd
df24f1d4df
use correct cpp defines for various archs, define params for the alpha
1995-07-04 02:08:42 +00:00
cgd
c51c25021f
hack around a bug in our gcc.
1995-07-04 01:53:05 +00:00
cgd
d6c493f3fb
kill two of the three __NetBSD__-specific definitions
1995-07-03 21:39:28 +00:00
cgd
c61d16ddbe
RCS id cleanup
1995-07-03 21:23:45 +00:00
cgd
4a9e0e45b3
add 'xlint' for lint
1995-07-03 20:57:38 +00:00
cgd
b14be51dec
lint(1) implementation, by Jochen Pohl. named 'xlint' for a similar
...
reason to why 'install' is named 'xinstall'.
1995-07-03 20:56:35 +00:00
phil
2e9608879c
Add check for NULL returned by fgets. If not, we can core dump.
1995-07-03 16:50:13 +00:00
mycroft
01c15f41a0
Byte-swap correctly. Make some types 64-bit safe. Use INADDR_ANY rather
...
than an explicit 0.
1995-07-03 03:25:19 +00:00
mycroft
9086ad07b9
Remove an extra htonl().
1995-07-03 03:16:57 +00:00
jtc
9e981c23ff
sys/signal.h -> signal.h
1995-06-27 00:31:00 +00:00
jtc
06d64cb0f3
sys/errno.h -> errno.h
...
sys/signal.h -> signal.h
1995-06-27 00:28:17 +00:00