Johan Karlsson
0c21294cee
Use ${BINDIR} instead of hardcoded path.
...
PR: 44582
Submitted by: Jon Disnard <jon.disnard@ca.com>
Reviewed by: ru
MFC after: 3 weeks
2002-12-18 10:14:01 +00:00
Sean Chittenden
85994822df
Check the return status of chdir() when using the -C option.
...
Reviewed by: bright && jmallet
MFC after: 1 day
2002-12-17 04:26:22 +00:00
Martin Blapp
fb4c80619a
Change the name for the local unix-socket based protocol
...
from "unix" back to "local". Add some compat stuff so both
ways work for some time.
Reviewed by: phk
Approved by: imp (UPDATING)
Requested by: iedowse, lukem@netbsd.org
2002-12-16 22:24:26 +00:00
Tim J. Robbins
f33ae51c77
When doing tail -F, return if the freopen() of the file fails instead of
...
trying to use a null file pointer.
2002-12-15 11:26:57 +00:00
Tim J. Robbins
ea87e79d5f
Unbreak support for systems that have no limit on pathname length.
...
Noticed by: bde
2002-12-15 00:40:47 +00:00
Tim J. Robbins
d241a89d5c
Update pathchk to reflect the fact that 1003.1-2001 now includes the
...
trailing null byte in PATH_MAX and _POSIX_PATH_MAX.
PR: 46035
2002-12-14 11:44:54 +00:00
Ruslan Ermilov
c8d40b7d34
mdoc(7) police: sort xrefs in SEE ALSO.
2002-12-13 16:53:51 +00:00
Ruslan Ermilov
8d5d039f80
Uniformly refer to a file system as "file system".
...
Approved by: re
2002-12-12 17:26:04 +00:00
Ruslan Ermilov
d0c6069b9d
mdoc(7) police: markup fixes.
...
Approved by: re
2002-12-12 13:26:32 +00:00
Ruslan Ermilov
f0fab6045d
mdoc(7) police: overhaul.
...
Approved by: re
2002-12-11 17:26:53 +00:00
Ruslan Ermilov
749757ed33
mdoc(7) police: overhaul.
...
Approved by: re
2002-12-11 17:13:09 +00:00
Ruslan Ermilov
86c8719212
mdoc(7) police: Fixed the declaration of the -column list.
...
Approved by: re
2002-12-11 16:59:01 +00:00
Peter Grehan
bdaf0d3b7d
Add powerpc.h. Still missing powerpc.[ch] in gprof, but this gets
...
the MI stuff out of the way.
Approved: re (rwatson)
2002-12-10 02:22:01 +00:00
Benno Rice
894dbc508a
Teach lint about powerpc.
...
Approved by: re (rwatson)
2002-12-09 23:27:47 +00:00
Ruslan Ermilov
db8993ce9e
Capitalize ASCII code names.
...
Approved by: re
2002-12-05 08:50:00 +00:00
Dag-Erling Smørgrav
2517862ed9
Change the process title as soon as possible to mask information passed on
...
the command line by getty(8). This is not a perfect fix, but drastically
reduces the window of exposure.
Approved by: re (rwatson)
MFC after: 1 week
2002-12-04 15:00:10 +00:00
Ruslan Ermilov
d577099120
mdoc(7) police: s/nul character/null character/.
...
Approved by: re
2002-12-04 14:42:49 +00:00
Peter Pentchev
8c9589bdea
Make a CR/LF sequence measure up to its name: the order of the CR and LF
...
characters was reversed, resulting in some network appliances, including
at least some NAS devices from Ascend, not recognizing our finger(1)
request.
PR: 45914
Submitted by: J R Matthews <jrm@delta-e.com.au>
Approved by: re (rwatson)
MFC after: 2 weeks
2002-12-02 20:38:12 +00:00
Ruslan Ermilov
9f80feb348
Bootstrapping aid from pre-kqueue(2) systems, e.g. 4.0-RELEASE.
...
Submitted by: jmallett
Approved by: re (bmah)
2002-12-01 13:38:25 +00:00
Bill Fenner
01e7d8319d
If both the unlink and the open fail, return the errno from the
...
unlink (very likely EPERM), since the errno from the open might
be a confusing ETXTBSY.
Approved by: re
MFC After: 1 week
2002-11-30 23:12:59 +00:00
Bruce Evans
a408bc3483
#include <sys/time.h> instead of depending on namespace pollution in
...
<sys/stat.h> for the declaration of struct timeval.
Approved by: re (rwatson)
2002-11-30 18:59:31 +00:00
Ruslan Ermilov
43b92fef62
Finish the fix in revision 1.39 -- make(1)'s behavior is now
...
"greedy" with respect to finding the dependency operators.
Approved by: re
2002-11-28 12:47:56 +00:00
Dag-Erling Smørgrav
3d7c408ce4
Use the URL instead of the output file name when reporting errors relating
...
to the remote document.
PR: 33856
MFC after: 1 week
Approved by: re
2002-11-27 20:52:07 +00:00
David E. O'Brien
a2a8085e7e
As warned on freebsd-current@, remove the perl wrapper from /usr/src.
...
The /usr/bin/perl wrapper isn't solving many of the problems it was
imported to deal with. There are limitations to it that don't have a
clear "fix".
Reviewed by: markm, kris
Extorted approval from: re(jhb)
2002-11-27 17:46:26 +00:00
Ruslan Ermilov
c01521309b
tip(1) no longer uses modems(5).
...
Reviewed by: markm
Approved by: re
2002-11-27 09:18:59 +00:00
Ruslan Ermilov
c78b168048
Really merge from OpenBSD import (should have been done a year ago).
...
Reviewed by: markm
Approved by: re
2002-11-27 09:18:28 +00:00
Ruslan Ermilov
e27480d64d
mdoc(7) police:
...
Revert to using the .Tn POSIX and .Tn ANSI instead of \*[Px] and \*[Ai]
strings; using these strings is unsafe in troff mode, as they include a
change in a font size.
Approved by: re
2002-11-26 17:55:41 +00:00
Ruslan Ermilov
a8fb4dfabc
mdoc(7) police: markup and spelling.
...
Approved by: re
2002-11-26 17:34:25 +00:00
Ruslan Ermilov
06e482e60a
mdoc(7) police: markup polishing.
...
Approved by: re
2002-11-26 17:33:37 +00:00
Ruslan Ermilov
de95573725
mdoc(7) police: back out unproved changes from previous revision.
...
Approved by: re
2002-11-26 15:34:18 +00:00
Ruslan Ermilov
f2177c5f62
mdoc(7) police:
...
Restore (once again) my fixes from revision 1.20 that got lost in
revision 1.25 merge.
Approved by: re
2002-11-26 15:32:04 +00:00
Ruslan Ermilov
203a6d6aa7
mdoc(7) police: laundry.
...
Approved by: re
2002-11-26 14:00:39 +00:00
Ruslan Ermilov
bbdca2142f
mdoc(7) police: nit.
...
Approved by: re
2002-11-26 11:25:04 +00:00
Ruslan Ermilov
8abea92cd2
mdoc(7) police: back out unproved changes in previous revision;
...
descriptions in the FILES section should be full sentences, as
demonstrated in mdoc(7) and /usr/share/examples/mdoc/.
Approved by: re
2002-11-26 11:22:59 +00:00
Ruslan Ermilov
5bd97a95a2
mdoc(7) police: markup nits, "The .Nm utility".
...
Approved by: re
2002-11-26 11:17:22 +00:00
Ruslan Ermilov
fc978ec46c
mdoc(7) police: bump document date, use the canonical option list width,
...
removed a bunch of extraneous .Pp and .Dq calls.
Approved by: re
2002-11-26 11:09:27 +00:00
Ruslan Ermilov
c93e83fe80
mdoc(7) police: markup polishing.
...
Approved by: re
2002-11-26 11:04:37 +00:00
Ruslan Ermilov
3d0ae25549
mdoc(7) police: markup polishing.
...
Approved by: re
2002-11-26 10:57:57 +00:00
Ruslan Ermilov
792c362f9c
mdoc(7) police: markup polishing.
...
Approved by: re
2002-11-26 10:51:47 +00:00
Ruslan Ermilov
9891836b19
Make this work under non-C locales.
...
PR: misc/45460
Approved by: re
2002-11-25 09:00:05 +00:00
Julian Elischer
878ed22696
The second try a committing the bluetooth code
...
Has been seen to work on several cards and communicating with
several mobile phones to use them as modems etc.
We are still talking with 3com to try get them to allow us to include
the firmware for their pccard in the driver but the driver is here..
In the mean time
it can be downloaded from the 3com website and loaded using the utility
bt3cfw(8) (supplied) (instructions in the man page)
Not yet linked to the build
Submitted by: Maksim Yevmenkin <myevmenk@exodus.net>
Approved by: re
2002-11-20 23:01:59 +00:00
Eric Melville
edb3cb1652
Be more careful when parsing arguments.
...
PR: 45476
MFC after: 5 days
2002-11-20 17:59:20 +00:00
Greg Lehey
c1f0b6315e
Add description of a number of "default" files that have been added
...
over the last few years.
2002-11-19 00:30:38 +00:00
Greg Lehey
a61b9f9a6f
Add file for South African holidays.
...
Submitted by: Tony Harverson <Tony@epages.net>
2002-11-19 00:29:36 +00:00
Ruslan Ermilov
99f6b95fb5
Install /usr/libexec/makewhatis.local and /usr/libexec/catman.local.
...
This has slipped through the cracks of The Great Perl Script Rewrite.
Repocopied by: joe
2002-11-18 10:11:22 +00:00
Peter Wemm
4001ea8d00
A little bit of anti-foot-shooting. Use utimes(2) rather than
...
the deprecated utime(3). utimes(2) uses timeval, but utime(3) uses
time_t's. If you do bad things (like I did) by mixing up include files
with libc, then install can do strange things if you mismatch the time_t
stuff. utime() is emulated entirely within libc.
Approved by: re (jhb)
2002-11-15 22:43:56 +00:00
Peter Wemm
6ceeb6902a
utmp.ut_time and lastlog.ll_time are explicitly int32_t rather than
...
time_t. Deal with the possibility that time_t != int32_t. This boils
down to this sort of thing:
- time(&ut.ut_time);
+ ut.ut_time = time(NULL);
and similar for ctime(3) etc. I've kept it minimal for the stuff
that may need to be portable (or 3rd party code), but used Matt's time32
stuff for cases where that isn't as much of a concern.
Approved by: re (jhb)
2002-11-15 22:42:00 +00:00
Dag-Erling Smørgrav
a6266f245c
Don't set atime / mtime if we don't have an output file, which can happen
...
in certain failure scenarii (mostly DNS trouble).
2002-11-13 16:04:20 +00:00
Ruslan Ermilov
40c6b893d8
Take __FreeBSD_version into account when BOOTSTRAPPING.
2002-11-13 13:49:29 +00:00
Bill Fenner
f10d3c5113
Don't divide by zero to calculate the ETA, even if we haven't gotten
...
any data in 30 seconds.
2002-11-12 07:09:43 +00:00