Dima Dorfman
ccbe835258
Expand the ?: construct into an if/else.
...
Submitted by: nectar
2001-08-21 19:27:07 +00:00
Dima Dorfman
c9fa8f40fe
The setprogname() function sets the name of the program to be the last
...
component of the progname argument.
2001-08-21 18:49:58 +00:00
Dima Dorfman
f7bec57b78
Fix style bug.
2001-08-21 18:46:33 +00:00
Ruslan Ermilov
c45f3b47c8
Fixed warnings.
2001-08-21 17:28:39 +00:00
Jacques Vidrine
80578ef3c9
Pass the pointy hat, please.
...
Submitted by: ru
2001-08-21 17:16:32 +00:00
Jacques Vidrine
dbdb228cf7
setprogname() should set __progname to the last component of the given
...
path.
2001-08-21 16:55:34 +00:00
Dima Dorfman
e6063dd1a6
Implement getpeereid(3), a front-end to the LOCAL_PEERCRED
...
socket option for the Unix domain. It's weaker than the
socket option (this only returns the uid and gid, while the
socket opt. can return the entire group list), and is
implemented mostly for compatibility with OpenBSD.
2001-08-17 22:09:15 +00:00
Yaroslav Tykhiy
a2a0a4dc2a
Use the ".Rv" mdoc(7) macro where appropriate.
...
Reviewed by: ru
2001-08-14 14:20:35 +00:00
Ruslan Ermilov
753d686d34
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
Ruslan Ermilov
ed2879a5cf
mdoc(7) police: s;BSD/OS;.Bsx; where appropriate.
2001-08-13 17:07:40 +00:00
Ruslan Ermilov
d013e3f544
mdoc(7) police: s/NetBSD/.Nx/ where appropriate.
2001-08-13 17:00:36 +00:00
Ruslan Ermilov
c5e7e03a14
Spell "FreeBSD" with "F" and "BSD" in uppercase.
2001-08-13 16:33:00 +00:00
Ruslan Ermilov
8af1452cf8
Removed duplicate VCS ID tags, as per style(9).
2001-08-13 14:06:34 +00:00
Ruslan Ermilov
94ba280c59
mdoc(7) police: join split punctuation to macro calls.
2001-08-10 17:35:21 +00:00
Ruslan Ermilov
c75526d5a0
mdoc(7) police: fixed the "new sentence" bogons.
2001-08-10 15:03:10 +00:00
Ruslan Ermilov
57e4378bf6
mdoc(7) police: protect trailing full stops of abbreviations
...
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
Maxim Sobolev
5d25d75662
Fix xrefs.
...
times.3: gettimeofday(3) --> gettimeofday(2)
rc.conf.5: isndn(8) --> isdnd(8)
idsnd(8) --> isdnd(8)
MFC after: 2 weeks
2001-08-09 15:46:53 +00:00
Yaroslav Tykhiy
b1250632c5
Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.
...
Reviewed by: ru
2001-08-09 13:32:13 +00:00
Mike Heffner
785ead5062
typo: patched->matched
2001-08-09 00:34:57 +00:00
Ruslan Ermilov
6575e6daae
mdoc(7) police: expand plain text xrefs.
2001-08-08 11:48:28 +00:00
Ruslan Ermilov
c4d9468ea0
mdoc(7) police:
...
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
Ruslan Ermilov
f61004566c
mdoc(7) police: markup nits.
2001-08-07 12:17:32 +00:00
Dima Dorfman
557b792532
varargs -> stdarg
2001-08-05 05:39:16 +00:00
Sheldon Hearn
86f478757a
MFS: in HISTORY section, fix release number of first appearance
2001-08-01 12:15:21 +00:00
Sheldon Hearn
b47d4cf924
Fix broken Fn calls; Fn doesn't take a manual page section as an
...
argument.
Terminate the last sentence with a period.
2001-08-01 12:04:32 +00:00
Mark Peek
545d32087b
Only pull in the MD files if they exist. This allows for progressive
...
implementation and compilation when bringing up a new architecture.
2001-07-31 16:34:52 +00:00
Jeroen Ruigrok van der Werven
6a0fc191fb
FreeBSD now also defines EIDRM and uses it.
...
Inspired by PR: 22470
Which was submitted by: Bjorn Tornqvist <bjorn@west.se>
MFC after: 1 week
2001-07-30 19:30:26 +00:00
Jeroen Ruigrok van der Werven
2341e86854
Remove bogus BUGS section.
...
FreeBSD _does_ define ENOMSG as per SVID when IPC_NOWAIT is set.
PR: 22470
Submitted by: Bjorn Tornqvist <bjorn@west.se>
MFC after: 1 week
2001-07-30 19:25:16 +00:00
Thomas Moestl
d35bce02ee
Correct the old length argument passed to sysctlbyname to be a pointer
...
to a size_t (not to an int).
MFC after: 2 days
2001-07-29 22:01:55 +00:00
Mike Heffner
75dc5f1a82
Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatible
...
with NetBSD and OpenBSD. glob(3) will now return GLOB_NOSPACE with
errno set to 0 instead of GLOB_LIMIT when we match more than `gl_matchc'
patterns. GLOB_MAXPATH has been left as an alias of GLOB_LIMIT to
maintain backwards compatibility.
Reviewed by: sheldonh, assar
Obtained from: NetBSD/OpenBSD
2001-07-29 00:52:37 +00:00
Sheldon Hearn
745b20f712
The previous delta duplicated a significant amount of information
...
already found in the sigaction(2) manual.
As discussed with the committer of that delta, cross-reference the list
in sigaction(2) instead of duplicating the list of functions that are
safe for use within signal handlers.
2001-07-24 11:37:33 +00:00
Kris Kennaway
fd9139a04e
Add the list of signal-handler safe functions here too, so people can
...
find it more easily
Obtained from: OpenBSD
MFC After: 1 week
2001-07-24 08:26:37 +00:00
Ruslan Ermilov
97e1bac189
mdoc(7) police: fix markup.
2001-07-18 15:55:34 +00:00
Kris Kennaway
54b8fe08cf
Remove unnecessary #include <stdlib.h>
...
Obtained from: NetBSD
MFC After: 1 week
2001-07-16 04:48:28 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
a307d59838
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 13:41:46 +00:00
David E. O'Brien
8dfd7bcddf
MFS: add the FreeBSD history.
2001-07-10 00:12:50 +00:00
David E. O'Brien
6e6c8a08c8
Give the FreeBSD history also.
2001-07-10 00:11:00 +00:00
Dima Dorfman
70d51341bf
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
Ruslan Ermilov
3d1455a39d
mdoc(7) police: compact VFCF_ list.
2001-07-04 10:42:03 +00:00
Dima Dorfman
f9eeb822d0
mdoc(7) police: fix spacing issue
...
Submitted by: ru
2001-07-03 21:16:34 +00:00
Dima Dorfman
ff5f0dbc41
Fix a one-byte overrun.
...
PR: 28472
Submitted by: David Xu <davidx@viasoft.com.cn>
Obtained from: OpenBSD
2001-06-28 21:50:53 +00:00
Dima Dorfman
9351f51fd8
getcwd(3) is defined by POSIX, not ISO C.
...
Approved by: bde
2001-06-28 19:27:02 +00:00
Dima Dorfman
9a66daa5d4
Document the existing vfc_flags.
...
PR: 25837
Submitted by: Tony Finch <dot@dotat.at>
2001-06-28 06:50:19 +00:00
Dima Dorfman
a910f192bb
Remove duplicate words.
2001-06-24 01:34:38 +00:00
Dima Dorfman
12985df355
Fix a grammar bogon.
2001-06-20 22:03:10 +00:00
Garrett Wollman
3f22a03fa6
Fix spelling of `errno' and add cross-references.
2001-06-18 22:26:31 +00:00
Garrett Wollman
5813675eed
Document _SC_IOV_MAX. Add cross-references to pathconf(2), confstr(3), and
...
getconf(1). This document still needs to be sorted and to have other missing
parameters described.
2001-06-18 22:18:08 +00:00
Garrett Wollman
37336173d3
After one too many PRs on the subject, bite the bullet and define IOV_MAX
...
and its associated constants. Implement _SC_IOV_MAX in the usual way.
Be a bit sloppy about the namespace question; this should get cleared up
in time for 5.0.
MFC after: 1 month
2001-06-18 20:24:54 +00:00
David Malone
75328eca8d
If the username we are trying to look up in the db files won't fit into
...
the buffer then act like it doesn't exist. The buffer is always big enough
for any valid username.
PR: 27860
Reviewed by: nectar
2001-06-18 16:09:24 +00:00