Greg Lehey
17a3187529
Move a LOTR fortune to the right file.
...
Submitted by: Jonathan Lennox <lennox@cs.columbia.edu>
PR: 57623
2003-10-09 00:31:48 +00:00
Ruslan Ermilov
ae43b8065d
Fix a bug in variable parsing code that could cause a segfault.
...
PR: bin/46203
Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org>
2003-10-06 17:37:20 +00:00
Greg Lehey
016b0ff405
Spell "Bizet" and "Berlioz" correctly.
...
Spotted by: Thomas Moestl <t.moestl@tu-bs.de>
2003-10-06 02:17:40 +00:00
Doug Barton
dad5d4e08c
Resolve conflicts
2003-10-06 01:55:17 +00:00
Greg Lehey
7434862b98
Many new entries, some corrections.
...
Submitted by: Gordon Bergling <gordon@bsd-network.org>
2003-10-06 01:17:42 +00:00
Greg Lehey
0bbd18b22b
Remove numerous duplicates.
2003-10-06 01:15:38 +00:00
Greg Lehey
443fcf924e
Add many new entries.
...
Submitted by: Gordon Bergling <gordon@bsd-network.org>
2003-10-06 01:09:34 +00:00
Yaroslav Tykhiy
69df5b5a0b
Assorted minor fixes, mostly style(9):
...
- PID should be pid_t, not int;
- sort #include's and local variables;
- don't overuse initializers;
- use warn(3) instead of perror(3) consistently;
- amplify the comment on signals.
2003-10-04 15:17:08 +00:00
Yaroslav Tykhiy
1530954057
Don't dump core from the time(1) process itself
...
if the child process has exited on a signal
whose default action is to dump core.
2003-10-04 14:42:03 +00:00
Ruslan Ermilov
277a49999a
Make the -q option DTRT in the compat mode.
...
PR: 48210
2003-10-03 21:33:39 +00:00
Sam Leffler
8145952fa5
remove unneeded include of route.h
...
Supported by: FreeBSD Foundation
2003-10-03 21:05:08 +00:00
Ruslan Ermilov
21159d1687
Fix a bug that prevented exists() from finding "foo/", "foo/."
...
and "foo/.." when ".PATH: foo" was also given.
PR: bin/34062
2003-10-02 21:30:30 +00:00
Ruslan Ermilov
94212a14e9
Document the recently added `O' modifier.
2003-10-02 18:38:23 +00:00
Simon L. B. Nielsen
891ca8cf3b
tftp.1:
...
- Add the optional port argument to SYNOPSIS.
main.c:
- Sync usage with the manual page.
Approved by: trhodes (main.c part)
Obtained from: OpenBSD (jmc)
MFC after: 2 weeks
2003-10-01 21:01:14 +00:00
Greg Lehey
8b3a7a6e7f
Remove a poorly chosen line break.
2003-10-01 00:59:13 +00:00
Greg Lehey
1ff834f0b2
Get some holidays more correct. This isn't helped by the lack of firm
...
information from the government web sites.
2003-10-01 00:58:35 +00:00
Greg Lehey
e48ad5b257
Remove Australian holidays. They're wrong, and more correct ones are
...
in calendar.australia.
2003-10-01 00:57:49 +00:00
Alexander Nedotsukov
8e68cd9718
According to information from the Ministry of Health, Labour and Welfare,
...
Japanese national holidays have been revised, and Respect-for-the-Aged Day
will be on the third Monday of September from 2003 on.
PR: 56695
Submitted by: Vitaly Musaev <vm@vitalius.net>
2003-09-29 07:16:21 +00:00
Greg Lehey
00734763e9
Add St. Crispin's day.
...
Requested by: Andrew Lankford <arlankfo@141.com>
2003-09-29 01:09:13 +00:00
Greg Lehey
db6f3b7505
Add Michaelmas.
2003-09-28 22:38:43 +00:00
Ken Smith
bec725403c
- Clarification to how command line arguments are processed.
...
PR: docs/55613
Submitted by: gshapiro@freebsd.org
Approved by: blackend (mentor)
2003-09-28 17:54:48 +00:00
Tim J. Robbins
6613c32aa0
Use the new style struct sockaddr instead of osockaddr in system calls
...
so that talk works without COMPAT_43.
Obtained from: NetBSD (christos), Rumi Szabolcs
2003-09-28 09:45:56 +00:00
Tim J. Robbins
7045754fcf
Don't cast ioctl FIONREAD's argument to struct sgttyb *. This makes
...
no function changes, but removes an unnecessary reference to a
deprecated struct.
Obtained from: NetBSD (thorpej)
2003-09-28 09:21:24 +00:00
Tim J. Robbins
c32cccd0bb
Use the POSIX tty interface instead of the old interface. This makes
...
rlogin work properly without COMPAT_43.
Obtained from: NetBSD (mycroft)
2003-09-28 08:54:56 +00:00
Tim J. Robbins
f27d1bf2ec
Remove remnants of Kerberos -Kkx options.
2003-09-28 08:43:41 +00:00
Tim J. Robbins
f2dd06ab16
Use the 3-component version of the KERN_PROC_PROC sysctl.
2003-09-27 08:14:37 +00:00
Marcel Moolenaar
42845ac591
Fix bug introduced in version 1.246 with the addition of NO_TOOLCHAIN.
...
The c89, c99, lex and yacc subdirectories were bogusly added to the
${MACHINE_ARCH} != "ia64" case.
Pointy hat: phk
2003-09-24 00:43:48 +00:00
Max Khon
6c7aa7fe1b
Do not cache and correctly free() dosmount entry in case of errors.
...
PR: 53980 (partially)
2003-09-23 16:44:17 +00:00
Marcel Moolenaar
e964232cd5
Implement the O modifier. The O modifier sorts the words in a
...
variable. The implementation is based upon the patch sent to
arch@, but modified to be compatible with NetBSD. The modifier
that does a reverse sort has been dropped for now, but the
ability to add one later has been preserved.
2003-09-18 03:15:57 +00:00
Marcel Moolenaar
9e3275a35b
Fix a `cast to pointer from integer of different size' warning.
...
usage() has been made a (non-void) function so that it can be
used in a pointer expression (see macro `next'). Widen the
implied integer return type of usage() so that we can cast to
a pointer without warnings.
2003-09-17 03:58:52 +00:00
Ruslan Ermilov
959d6c24f6
Get rid of duplicates.
2003-09-14 13:41:59 +00:00
Ruslan Ermilov
faf94801fd
- Cut out the code that caches the "." directory out of Dir_Init()
...
into a separate function, Dir_InitDot().
- Postpone the current and object directories detection (and caching
of the "." directory) until after all command line arguments are
parsed. This makes the -C option DTRT.
PR: bin/47149
2003-09-14 12:31:33 +00:00
Simon L. B. Nielsen
d7b645262d
Make the description of the connect, get, and put commands clearer.
...
Reported by: Gary W. Swearingen <underway@comcast.net>
Submitted by: Jim Brown <jpb@sixshooter.v6.thrupoint.net> (original version)
Reviewed by: ru
PR: docs/36459
MFC after: 3 weeks
2003-09-13 23:34:34 +00:00
Tim J. Robbins
d3c0dc17b0
Remove symorder. It's almost useless now that we have ELF kernels and
...
no a.out toolchain.
2003-09-11 05:58:21 +00:00
Ruslan Ermilov
fe08efe680
mdoc(7): Use the new feature of the .In macro.
2003-09-08 19:57:22 +00:00
Ruslan Ermilov
6ce729e14d
Finish the reversion of rev. 1.52.
2003-09-08 18:58:47 +00:00
Ruslan Ermilov
04a398293c
Command line variables take precedence over global variables.
...
Make this true in the .for loops too. The following fragment,
FOO= foo bar
all:
.for f in ${FOO}
@echo ${f}
.endfor
when run as "make FOO=xxx" should print "xxx". (OpenBSD had
this bug fixed for some time.)
2003-09-08 08:23:29 +00:00
Philippe Charnier
69fe77ce99
Do not print the result of strftime() in case of failure, the content is
...
indeterminate in such a case. The correct value for 2nd argument is
sizeof(buf). Do not NUL-terminate the result string, strftime() will do it
for us.
2003-09-07 16:31:32 +00:00
Philippe Charnier
b956c13cfe
Add FBSDID. Do not \n terminate warnx() argument. fprint() -> warnx().
2003-09-07 15:50:43 +00:00
Philippe Charnier
fed771de60
Introduce arguments the standard way. In .Ar command ..., ... is not an
...
argument, command is.
2003-09-07 15:43:50 +00:00
Philippe Charnier
9ea098b13e
Remove duplicate #include. Do not \n terminate errx() arg.
2003-09-07 15:30:42 +00:00
Philippe Charnier
003bc1d43e
Add FBSDID. Use errx() instead of fprintf()/exit(). Call exit() at the end
...
of usage() and make the code aware of that.
2003-09-07 15:26:44 +00:00
Philippe Charnier
6d06b97c3b
The .Fn function. Dot terminate sentences. Use .Bd/.Ed instead of .Ar to
...
emphasize examples of source definition file.
2003-09-07 14:33:07 +00:00
Tim J. Robbins
2c801d3d5f
Use KERN_PROC_PROC instead of KERN_PROC_ALL when enumerating processes so
...
that we kill each process once, not once for every thread it owns. This
avoids "No such process" warnings when killing threaded processes.
2003-09-07 09:13:44 +00:00
Warner Losh
87fdc84cba
Keep up with minor changes to NetBSD. Consider a variable empty when
...
not define.
Obtained From: NetBSD (rev 1.18; sjg)
2003-09-07 02:16:10 +00:00
Hiten Pandya
74cd7c2b5a
Baud rate capability is br', not
ba'.
...
PR: docs/56426
Submitted by: FUJISHIMA Satsuki <sf@FreeBSD.ORG>
2003-09-06 18:36:51 +00:00
Jens Schweikhardt
dcae6166e2
Removed another spurious semicolon forgotten in the previous commit.
2003-09-06 11:55:05 +00:00
Jens Schweikhardt
81f8caf7ef
Removed two spurious semicolons after function definitions.
...
Removed three spurious tabs on lines by themselves.
PR: bin/56492
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
MFC after: 6 weeks
2003-09-06 10:55:30 +00:00
David E. O'Brien
02f7e15bfa
Finish the deorbital burn of the i386-only a.out toolchain.
2003-09-06 02:18:03 +00:00
Tim J. Robbins
5c65194915
#include <runetype.h> directly for the definition of _CACHED_RUNES, needed
...
by ldef.h, rather than relying on GCC-specific pollution from <ctype.h>.
Noticed by: Stefan Farfeleder
2003-09-05 16:05:21 +00:00