Ruslan Ermilov
c155ff5cdd
mdoc(7) police: print some example text with literal font.
2001-07-04 10:59:30 +00:00
Ruslan Ermilov
f80eb0cb14
mdoc(7) police: fixed bugs in rev. 1.19, split section headers names.
2001-07-04 10:53:15 +00:00
Ruslan Ermilov
3d1455a39d
mdoc(7) police: compact VFCF_ list.
2001-07-04 10:42:03 +00:00
Matt Jacob
3d09a65d42
Make sure you don't have a file descriptor leak for the 'real'
...
underlying CAM device. This needs to be checked not only in
the open routine, but the device->fd has to be initialized
as well.
PR: 28688
Submitted (partially) by: T. William Wells <bill@twwells.com>
MFC after: 2 weeks
2001-07-04 07:43:10 +00:00
Dima Dorfman
368c2034f0
Describe the condition when EACCES is returned more explicitly.
...
Submitted by: bde
2001-07-04 06:29:36 +00:00
Dima Dorfman
f9eeb822d0
mdoc(7) police: fix spacing issue
...
Submitted by: ru
2001-07-03 21:16:34 +00:00
Yaroslav Tykhiy
e2a7d2044a
First, fix a leftover of the cut'n'paste from the kld* pages:
...
change the name of the page (.Nm) from "kldstat" to "modstat".
Second, don't claim that modstat(2) always returns 0. Actually,
it behaves as most syscalls do - returns 0 on success, or -1
on failure.
MFC after: 5 days
2001-07-03 14:56:08 +00:00
Dima Dorfman
9e12bdbd79
EACCES may be returned if write permission was denied as well.
...
PR: 28553
Submitted by: Ronald F. Guilmette <rfg@monkeys.com>
2001-07-02 22:53:40 +00:00
Mike Heffner
646bd49ed1
Reset errno so that subsequent TFTP requests don't fail after the
...
first failure.
PR: misc/25502
MFC after: 2 weeks
2001-06-30 21:39:09 +00:00
Daniel Eischen
a9513dc678
Clear the in thread scheduler flag after jumping to the start of
...
a signal handler from the scheduler.
MFC after: 1 week
2001-06-29 17:09:07 +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
0e35d76ec4
event.h -> sys/event.h
...
Submitted by: David Hill <david@phobia.ms>
2001-06-27 19:55:57 +00:00
Ruslan Ermilov
3277d1c498
Fixed the brain-o in rev. 1.10: the logic check was reversed.
...
Reported by: Bernd Fuerwitt <bf@fuerwitt.de>
2001-06-27 14:11:25 +00:00
Jason Evans
651974ee92
Fix a race condition in pthread_join(). All of the following must occur
...
atomically:
1) Search _thread_list for the thread to join.
2) Search _dead_list for the thread to join.
3) Set the running thread as the joiner.
While we're at it, fix a race in the case where multiple threads try to
join on the same thread. POSIX says that the behavior of multiple joiners
is undefined, but the fix is cheap as a result of the other fix.
2001-06-27 11:41:15 +00:00
Gregory Neil Shapiro
c1c5db8149
Typo fix: requires -> reacquires
...
Submitted by: Murray S. Kucherawy <msk@sendmail.com>
MFC after: 3 days
2001-06-27 06:01:17 +00:00
Chris Costello
2f05bd957f
Remove an extra word "fo" in the sentence "there is no process whose
...
process ID equals fo pid".
PR: 28436
Submitted by: Gregory Bond <gnb@itga.com.au>
2001-06-27 04:21:28 +00:00
Andrey A. Chernov
d118fd8a39
Return "" if reallocf() fails
2001-06-25 20:56:59 +00:00
Andrey A. Chernov
ecffe71379
Describe success return value
2001-06-25 20:50:06 +00:00
Andrey A. Chernov
4e86aa7f9d
Add transition period hack allowing old locale names return proper codeset too
2001-06-25 09:03:10 +00:00
Dima Dorfman
2b47b55f69
Add RETURN VALUES and ERRORS sections.
2001-06-25 01:25:01 +00:00
Dima Dorfman
53950232dd
Minor cleanup: sort includes, fix name.
2001-06-25 01:21:13 +00:00
Dima Dorfman
ce1e308f7a
Add a link to extattr.2 (from extattr_get_file.2). The other names
...
are too specific and too long, and extattr.2 makes a nice point of
reference for "extattr-related syscalls".
2001-06-24 23:58:27 +00:00
Dima Dorfman
444a2d61e8
Add a manual page for extattr_string_to_namespace and
...
extattr_namespace_to_string.
Reviewed by: rwatson
2001-06-24 23:54:46 +00:00
Dima Dorfman
44fe68c421
mdoc(7) police: the BUGS section should go after HISTORY and AUTHORS.
2001-06-24 20:58:20 +00:00
Dima Dorfman
17011fc056
The fact that phk wrote this is not a bug!
2001-06-24 20:56:39 +00:00
Dima Dorfman
acaa9950a4
Reword a sentence to make it proper English.
2001-06-24 18:11:42 +00:00
Dima Dorfman
a910f192bb
Remove duplicate words.
2001-06-24 01:34:38 +00:00
Ian Dowse
32de72d27f
Add a new clnt_control() request `CLSET_CONNECT' that controls
...
whether or not connect(2) is used for UDP client sockets. The default
is not to connect(), so existing clients will see no change in
behaviour.
The use of connect(2) for UDP clients has a number of advantages:
only replies from the intended address are received, and ICMP errors
pertaining to the connection are reported back to the application.
2001-06-23 19:43:21 +00:00
Ruslan Ermilov
10ae6ece36
Document "normalizing" behavior of mktime(3).
...
PR: bin/28313
Reviewed by: bde, wollman
MFC after: 1 week
2001-06-23 08:57:40 +00:00
Jonathan Lemon
4dd2af159e
Bring in fix from rev 1.32 that got lost during the conversion to kqueue.
...
This prevents an indefinte timeout in case the kevent call is interrupted
for some reason.
PR: 26665
MFC in: 2 weeks
2001-06-23 06:54:28 +00:00
David E. O'Brien
d245408639
Fix long lines.
2001-06-21 19:17:12 +00:00
David E. O'Brien
4e78abc4bb
Add libbz2 to provide Bzip2 capabilities to the system.
2001-06-21 19:16:17 +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
Assar Westerlund
1866adc54f
(cantwrite): do not allocate memory for a NULL string
...
PR: misc/26044
MFC after: 1 week
Submitted by: bde
2001-06-18 04:44:23 +00:00
Assar Westerlund
a52532c91a
revert freeing of memory that gets allocated when str == NULL
...
(this will be fixed in a better way)
PR: misc/26044
2001-06-18 04:40:52 +00:00
Mike Heffner
224e22e6c6
Fix typo: clnt_destroy() only takes one arg.
...
MFC after: 2 weeks
2001-06-18 00:45:31 +00:00
Assar Westerlund
207d92d043
free memory that gets allocated by vfprintf when str == NULL
...
PR: misc/26044
MFC after: 1 week
2001-06-16 05:37:57 +00:00
Peter Wemm
d6be5f6435
Fix libpam's linker set stuff to use the new API (unbreak world), and get
...
rid of gensetdefs from here as well.
2001-06-14 01:13:30 +00:00
Chris Costello
8b136a6dde
Convert to mdoc(7).
2001-06-13 21:52:07 +00:00
Jens Schweikhardt
32b21f091e
Add description for the 'll' modifier for long long. In essence a copy
...
from the 'l' description with s/long/long long/g.
PR: 27017
Submitted by: Guy Harris <guy@alum.mit.edu>
MFC after: 2 weeks
2001-06-13 19:05:12 +00:00
Ruslan Ermilov
d28011e556
Added skeleton <complex.h> (aligned with the POSIX.1-200x), mostly
...
to fix the "-nostdinc WARNS=X" breakage caused by broken prototypes
for cabs() and cabsl() in <math.h>.
Reimplemented cabs() and cabsl() using new complex numbers types and
moved prototypes from <math.h> to <complex.h>.
2001-06-13 15:16:30 +00:00
Ruslan Ermilov
589ee357a4
Complete prototype for fts_compar.
2001-06-13 14:59:57 +00:00
Peter Wemm
7dd144d715
Turn on the extra 'const' settings for various curses functions. While
...
this is not strictly compliant with XSI curses, it enables us to pass
const strings to many more functions that are actually const safe than
before. This should be harmless.
Requested by: lots of folks
2001-06-12 01:14:02 +00:00
Ian Dowse
f9f6897972
Make the non-threaded stub for pthread_sigmask() a no-op instead
...
of calling sigprocmask(). This matches the behaviour of thr_sigsetmask()
on Solaris; _pthread_sigmask_stub was added purely for compatibility
with Solaris (for TI-RPC), so it might as well do the same thing.
This fixes the problem where client RPC calls ignored all signals
for the complete duration of the RPC. This behaviour is currently
necessary in the threaded case due to locking issues, but was never
intended to occur in non-threaded programs.
Reviewed by: deischen
2001-06-11 23:18:22 +00:00