Tim J. Robbins
7a1dd698e8
Including <time.h> before <aio.h> has not been necessary for a while now.
2003-01-14 02:37:06 +00:00
Joerg Wunsch
b4206324a5
Mention the oddities and requirements for mount operations executed by
...
non-root users.
PR: docs/42651
Submitted by: Thomas Seck <tmseck@netcologne.de>
MFC after: 3 days
2003-01-13 19:42:21 +00:00
Tim J. Robbins
d8b504e33c
Refer to 1003.1 instead of 1003.2 in the Standards section.
2003-01-13 10:37:11 +00:00
Tim J. Robbins
2c19171bc1
Lock the stream before calling __sfileno() to retrieve the file descriptor.
...
1003.1-2001 requires that fileno() behave as if it locks the stream.
2003-01-13 02:58:18 +00:00
Tim J. Robbins
83bb3b4979
Add missing word to "Return Values" section.
2003-01-13 01:29:14 +00:00
Mike Barcroft
0f0ca6ffc9
Fix struct iovec documentation to match reality.
...
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
2003-01-12 15:18:47 +00:00
Tim J. Robbins
b0efb842b9
Add a manual page for the lio_listio() syscall. Still needs a bit
...
of polishing.
2003-01-12 09:28:16 +00:00
Marcel Moolenaar
42cf585a69
Implement missing fpgetround() and fpsetround().
2003-01-11 07:24:54 +00:00
Matthew Dillon
57e6d29b1e
Remove all use of the LOG2() macro/inline, undoing some non-optimal cruft
...
that crept in recently. GCC will optimize the divides and multiplies for us.
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 1 day
2003-01-11 01:09:51 +00:00
Daniel Eischen
c54f72859c
Increase the scheduler stack to 4 pages. This should prevent a stack
...
overflow when dumping thread info (generated by receipt of SIGINFO).
Reported by: jmallet
2003-01-11 00:43:20 +00:00
John Baldwin
f3c6522625
Use the fstype obtained from the GEOM dumpconf output to set the fstype
...
of BSD part chunks when opening a disk.
Reviewed by: phk
MFC after: 2 days
2003-01-10 19:45:10 +00:00
John Baldwin
53465bf736
- Make New_Disk() non-static so it can be used in Create_Chunk_DWIM().
...
- In Create_Chunk_DWIM(), if there is a freebsd chunk that has no
children chunks, then trying to add a child part chunk will fail even
though there is free space. Handle this special case by adding an
unused chunk the full size of the freebsd chunk as a child of the
freebsd chunk before adding the new part chunk. This situation can
happen when changing the type of an existing slice to be a FreeBSD
slice type or when installing onto a blank disk on Alpha (which has
no slices.)
Reviewed by: phk
MFC after: 2 days
2003-01-10 19:25:38 +00:00
Jacques Vidrine
e0bc74123b
About September 2001, I consulted with all the previous authors of
...
pam_krb5 to consolidate the copyright texts. The semi-official
pam_krb5 module has been distributed with this new license text ever
since, but I'm just now getting around to updating the text here.
2003-01-10 13:38:44 +00:00
Tim J. Robbins
c24891e9e2
The macro versions of putc() and putchar() are gone.
2003-01-10 07:47:12 +00:00
Tim J. Robbins
9031030003
There is no macro version of getc() anymore.
2003-01-10 07:45:24 +00:00
Tim J. Robbins
72c9dabbb7
Bring the list of function-like macros up to date with reality.
2003-01-10 07:38:38 +00:00
Alfred Perlstein
d2b9b6b10c
spell multiple correctly.
2003-01-10 06:52:19 +00:00
Tim J. Robbins
4549f62011
Document clearerr_unlocked(), feof_unlocked(), ferror_unlocked()
...
and fileno_unlocked().
2003-01-10 06:22:28 +00:00
Tim J. Robbins
4d844c09ac
Add a manual page for flockfile(), ftrylockfile(), and funlockfile().
2003-01-10 05:34:11 +00:00
Tim J. Robbins
cbee408df1
Document getc_unlocked(), getchar_unlocked(), putc_unlocked(),
...
and putchar_unlocked().
2003-01-10 04:56:20 +00:00
Tim J. Robbins
a5b0089e65
Add function versions of getchar_unlocked(), getc_unlocked(),
...
putchar_unlocked(), putc_unlocked(), feof_unlocked(), ferror_unlocked(),
clearerr_unlocked(), and fileno_unlocked(). The first four are required
by POSIX. The rest are provided for consistency.
2003-01-10 04:35:08 +00:00
Tim J. Robbins
098b8611cb
Avoid a memory leak by using reallocf() instead of realloc().
2003-01-10 02:58:25 +00:00
Tim J. Robbins
73e8989de8
Prototype __getcwd() to avoid a warning.
2003-01-10 02:54:37 +00:00
Tim J. Robbins
826f01cb9e
#include <ctype.h> for prototypes (or macro versions) of
...
tolower() and isdigit().
2003-01-10 02:46:32 +00:00
Max Khon
f7ed1917e2
pthread_attr_get_np() now takes 'pthread_t' (not 'pthread_t *')
...
to be consistent with other pthread_XXX functions
2003-01-07 21:43:30 +00:00
Chris Costello
6e238d7604
Correct a couple small typos.
...
Submitted by: Attila Nagy <bra@fsn.hu>
2003-01-07 13:18:21 +00:00
Chris Costello
d69f82076b
Document the file system firewall interface library functions.
...
Sponsored by: DARPA, Network Associates Laboratories
2003-01-07 11:23:43 +00:00
Tim J. Robbins
6398b9c017
#include "namespace.h" to get a prototype for _err().
2003-01-07 06:55:58 +00:00
Tim J. Robbins
16fdde11b7
Remove an unused variable: mbresult.
2003-01-07 06:20:47 +00:00
Tim J. Robbins
0b4b7b65ed
#include <stdlib.h> for free()'s prototype.
2003-01-07 06:17:13 +00:00
Tim J. Robbins
2005f192e5
Use hidden names (_close, _dup2, _waitpid, etc.) where appropriate.
2003-01-07 06:07:56 +00:00
Tim J. Robbins
cdfbf19246
Add waitpid to the list of hidden names for use by wordexp.c and grantpt.c.
2003-01-07 06:05:35 +00:00
Giorgos Keramidas
a58d3725ee
Typo fixes.
...
PR: docs/46815
Submitted by: SUZUKI Koichi <koich@cac.co.jp>
2003-01-07 05:06:27 +00:00
Tom Rhodes
dc3b2f9d33
Remove redundant documenation.
...
PR: 46253
Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
2003-01-06 23:20:55 +00:00
Tim J. Robbins
b211af11e2
strfmon(3) does not correctly handle multibyte characters in the
...
format string.
2003-01-06 06:21:25 +00:00
Tim J. Robbins
e2b090f34f
Note that the printf(3) and scanf(3) family of functions don't deal with
...
multibyte characters in the format string correctly.
2003-01-06 06:19:19 +00:00
Marcel Moolenaar
4b1d654efb
Port libc_r to ia64. We need to do things slightly different
...
because we have 2 stacks per thread: the regular downward
memory stack and the irregular upward register stack. This
implementation lets both stacks grow toward each other. An
alternative scheme is to have them grow away from each other.
The alternate scheme has the advantage that both stack grow
toward guard pages. Since libc_r is virtually dead and we
really want the *context stuff for thread switching, we don't
try to be perfect, just functional.
2003-01-06 00:56:23 +00:00
Thomas Moestl
f8a9708151
Build libc_r on sparc64, it should work now.
2003-01-05 22:37:54 +00:00
Thomas Moestl
54a701f52e
Add MD definitions for sparc64. This is based on work by des.
2003-01-05 22:37:03 +00:00
Thomas Moestl
e15d881535
Add an implementation of _atomic_lock for sparc64. This was submitted by
...
des; I tweaked it slightly by extending the membar and making it match
the style of the rest of the sparc64 assembler code.
2003-01-05 22:23:11 +00:00
Thomas Moestl
e506034ec1
Rewrite longjmp() and _longjmp() to directly restore the saved frame,
...
instead of unwinding the call stack. This makes them usable to switch
stacks, e.g. for libc_r.
Do not save the frame pointer in setjmp() and _setjmp(), it is not needed
any more.
Rename _longjmp() to ___longjmp(), with a weak alias to _longjmp(), like
the other architectures did.
2003-01-05 22:17:32 +00:00
Thomas Moestl
6c83076634
Rename siglongjmp() to __siglongjmp(), with a weak alias to siglongjmp(),
...
like the other architectures do.
2003-01-05 22:10:06 +00:00
Bill Fenner
a6497df52c
Use in_addr_t for the right size of an IPv4 address, and copy into
...
an unaligned destination using bcopy instead of an assignment.
Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
PR: sparc64/46729
2003-01-05 14:05:24 +00:00
Tim J. Robbins
051900864f
No need to include <assert.h> here.
2003-01-05 02:43:18 +00:00
Tim J. Robbins
33161c7a6e
strptime(), like strftime(), does not handle multibyte characters
...
in the format string correctly.
2003-01-04 09:50:04 +00:00
Tim J. Robbins
e751b764f8
Mention in the BUGS section that strftime() does not handle multibyte
...
characters in the format string correctly.
2003-01-04 09:47:40 +00:00
Yoshihiro Takahashi
404a379e4a
Rename the dos_partition structure for pc98 to pc98_partition.
2003-01-04 08:50:48 +00:00
Tim J. Robbins
2f69381059
Fix three warnings:
...
o #include <stdio.h> to make sprintf()'s prototype visible.
o Remove unused variable: sbuf.
o Don't use assignment as truth value.
2003-01-04 08:10:55 +00:00
Tim J. Robbins
33c0e6ef8b
style(9): return type on separate line from function name.
2003-01-04 07:34:41 +00:00
Tim J. Robbins
fe634ca75f
Fix a number of bugs noticed by more extensive testing:
...
o Call waitpid() if an error occurs after forking the child process
to avoid leaving zombies around.
o Handle the WRDE_DOOFS|WRDE_APPEND combination correctly
o Do not confuse $( substitution with $(( shell arithmetic
(noticed by wollman)
o Handle backslash escaping properly
o Allow $( and ${ to be quoted
2003-01-04 06:07:44 +00:00