Juli Mallett
716297c2d3
Print a warning when we are given two scripts for one target. This is neither
...
as wide-reaching nor intensive as NetBSD's similar, but the warning uses the
same text.
Inspired by: NetBSD
2002-07-28 03:52:41 +00:00
Greg Lehey
76e27551b5
Clarify J.S. Bach's life: he was only born once, and he died in Leipzig.
...
Add entry for Antonio Vivaldi's death.
2002-07-28 00:42:02 +00:00
Warner Losh
a366365a74
Back out jmallett's realpath changes. They break a set of makefiles that
...
we use in sublte ways with relative paths. Until they can be resolved,
back out these changes and put a big comment about why using realpath is
busted.
Approved by: jmallett
MFC After: 100 millifortnights
2002-07-26 21:50:36 +00:00
Tim J. Robbins
5b3df62e01
Use sigaction(2) instead of signal(3) to avoid the signal handler being
...
re-entered.
2002-07-26 05:25:12 +00:00
Johan Karlsson
103d66460c
Define all paths in pathnames.h
...
Approved by: joerg, sheldonh (mentor)
2002-07-25 23:04:31 +00:00
Tim J. Robbins
c0e3f1222f
Give an example showing how to change the mesg status of terminals
...
other than the default one.
PR: 13073
2002-07-25 05:16:49 +00:00
Robert Drehmel
971b504bce
style(9): - Put a space after the 'return' keyword.
...
- Wrap lines longer than 80 characters.
2002-07-24 18:54:59 +00:00
Robert Drehmel
4ca470d666
Use an ANSI-C function definition rather than a
...
K&R one to avoid a warning.
2002-07-24 18:39:51 +00:00
Robert Drehmel
5eb3a502f0
- Add a COMPATIBILITY section explaining that the default
...
behaviour of obtaining the affected terminal has changed.
- Refer to the user's terminal instead of the current
terminal session.
- Tell the reader what the utility does when it is invoked
without arguments.
Submitted by: johan
2002-07-24 18:37:22 +00:00
Robert Drehmel
adf721d1cb
Allow selection of the affected terminal using redirection
...
of standard input or standard output, like mesg(1) does.
Suggested by: sheldonh
2002-07-24 15:48:17 +00:00
Johan Karlsson
8e4c33e9e7
Teach whereis(1) about games.
...
Approved by: joerg, sheldonh (mentor)
2002-07-24 14:35:29 +00:00
John Polstra
f824b5187e
Widen struct sockbuf's sb_timeo member to int from short. With
...
non-default but reasonable values of hz this member overflowed,
breaking NFS over UDP.
Also, as long as I'm plowing up struct sockbuf ... Change certain
members from u_long/long to u_int/int in order to reduce wasted
space on 64-bit machines. This change was requested by Andrew
Gallatin.
Netstat and systat need to be rebuilt. I am incrementing
__FreeBSD_version in case any ports need to change.
2002-07-24 03:02:43 +00:00
Tom Rhodes
a38d3fb35e
Revert previous delta for cut(1) and calendar(1) as they were not applied
...
correctly. My fault, forgot that -current was checked out.
2002-07-23 15:09:56 +00:00
Juli Mallett
58a8e6d20e
Remove duplicate __FBSDID() - spotted by trying to build with a non-GNU
...
compiler.
2002-07-23 14:39:20 +00:00
Ruslan Ermilov
95ad74d7cf
Dependencies are delimited by space not tab.
2002-07-23 09:15:45 +00:00
Eric Melville
4d01a8fb5f
Handle directories correctly.
...
PR: 40801
MFC after: 5 days
2002-07-23 04:54:57 +00:00
Tom Rhodes
31352a12bf
Revert last commit. Sorry for breaking things
2002-07-22 21:45:16 +00:00
Tom Rhodes
623bc624b0
MFC: Fix some grammar, greater reduce diffs to HEAD
2002-07-22 21:14:16 +00:00
Hajimu UMEMOTO
3daa847108
add -4 and -6 option to be able to specify an address family.
...
Requested by: matusita
MFC after: 1 week
2002-07-22 17:19:54 +00:00
Robert Drehmel
6863982a02
- Use MAXLOGNAME - 1 rather than UT_NAMESIZE.
...
- Remove the inclusion of <utmp.h>.
2002-07-22 11:36:25 +00:00
Robert Drehmel
6d6c6baac4
- Use MAXLOGNAME - 1 instead of UT_NAMESIZE.
...
- Do not pretend there is something like '/etc/utmp'.
2002-07-22 11:32:16 +00:00
Tim J. Robbins
c4232ceae7
Correct syntax error, remove the unescaped newline between "||" and the
...
command it is intended to test. pdksh and bash caught this syntax error,
sh(1) did not behave as intended.
PR: 40386
2002-07-22 05:35:59 +00:00
Ruslan Ermilov
2e9968fa36
Fixed improper SCRIPTS assignment that broke `clean'.
2002-07-21 21:03:47 +00:00
Johan Karlsson
da2dc5cc61
Only use one %s when there is only one argument to print.
...
Submitted by: keramida
Approved by: sheldonh (mentor)
2002-07-21 15:11:32 +00:00
Philippe Charnier
75863a6dbb
Removal of spaces at EOL. Add __FBSDID. New function xmalloc, xrealloc,
...
xstrdup. There is a crash() function that do cleaning before exiting the
program. The new functions are wrappers that make use of crash() in case
of allocation failure. warn, exit -> err.
Reviewed by: alfred
2002-07-21 12:55:04 +00:00
Philippe Charnier
53aa54b8bf
s/A last utility last appeared/A last utility appeared/ (horikawa).
...
Use .Pa for wtmp.
Submitted by: horikawa
2002-07-21 12:45:54 +00:00
Matthew Dillon
d65bf08af3
Add the tcps_sndrexmitbad statistic, keep track of late acks that caused
...
unnecessary retransmissions.
2002-07-19 18:29:38 +00:00
Mark Murray
095dcf9966
Merge conflicts.
2002-07-19 16:38:21 +00:00
Mark Murray
a440a601c1
This commit was generated by cvs2svn to compensate for changes in r100360,
...
which included commits to RCS files with non-trunk default branches.
2002-07-19 15:19:23 +00:00
Mark Murray
e07f5fa8bb
Snapshot of NetBSD's (x)lint. Little functionality, just some code
...
tidy-ups.
2002-07-19 15:19:23 +00:00
Mark Murray
8bd89d7e04
s/inline/__inline/
2002-07-19 14:12:27 +00:00
Mark Murray
d601abcf6c
Merge from import. The import was done ages ago, and this diff has been
...
carried since then.
2002-07-19 14:10:35 +00:00
Mark Murray
bfc3d86a24
s/inline/__inline/
2002-07-19 13:49:37 +00:00
Mark Murray
c279819e2e
"inline" fixing. Replace "inline" with "__inline" to make more BSD
...
standard (and easier to define away with support in cdefs.h).
Also convert two function-like macros to static inline functions
for lint and the debugger.
2002-07-19 13:38:43 +00:00
Ruslan Ermilov
0b87f79976
s/${INSTALL} -c/${INSTALL} ${COPY}/
2002-07-18 12:07:49 +00:00
Ville Skyttä
0055e2cd0b
Add myself.
...
Approved by: knu (mentor)
2002-07-17 19:00:37 +00:00
Ollivier Robert
e74b0f7796
Fix installworld.
...
Submitted by: Udo Schweigert <Udo.Schweigert@siemens.com>
2002-07-17 15:35:31 +00:00
Garrett Wollman
5cd19a3cfd
A little bit more thought has resulted in a generic script which can
...
implement any of the useless POSIX-required ``regular shell builtin''
utilities, saving one frag and one inode each. The script moves to
usr.bin/alias which is alphabetically the first of these commands.
2002-07-16 22:16:05 +00:00
Garrett Wollman
43bf47e4d8
Forgot to change command name in Makefile. (Where's the pointy hat?)
2002-07-16 21:14:01 +00:00
Garrett Wollman
b107f944ad
POSIX requires these shell builtins to also exist as totally pointless
...
external commands. Since they serve no useful purpose, it's OK that their
implementation is not the most efficient possible.
2002-07-16 21:13:11 +00:00
Kelly Yancey
9f8df4b468
Fix incorrect cast.
2002-07-16 05:57:21 +00:00
Dima Dorfman
7b9c3ba793
Use proper article.
2002-07-16 05:38:26 +00:00
Garrett Wollman
55a7bf6b44
Support POSIX ``programming environment'' mistake.
2002-07-15 22:51:24 +00:00
Ralf S. Engelschall
605a57c20d
s/progname/procname/ to be consistent with the other occurrences
...
of the option -c argument in SYNOPSIS and DESCRIPTION.
2002-07-15 11:33:30 +00:00
Alfred Perlstein
e3d463662c
revert WARNS=4, it makes the alpha compile sad.
2002-07-15 09:53:34 +00:00
Giorgos Keramidas
0d4ac71385
mdoc fun: add a few more sentence breaks.
2002-07-15 07:51:10 +00:00
Giorgos Keramidas
b4e164347b
Kill excessive whitespace between macro arguments.
2002-07-15 07:35:36 +00:00
Giorgos Keramidas
2e634542d4
mdoc style: break up sentences
2002-07-15 07:16:54 +00:00
Juli Mallett
19074b91d3
Bit-width fields should be of type 'int'.
2002-07-15 06:57:25 +00:00
Juli Mallett
9739527ffb
Use %zu to print size_t.
2002-07-15 06:57:01 +00:00