| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Reviewed by: julian, ru
|
| |
|
|
|
|
|
|
| |
`sigprocmask', `sigaltstack', and `sigwait' as well as to the
prototypes of the apparantly unimplemented functions `sigtimedwait'
and `sigwaitinfo'. This complies with IEEE Std 1003.1-2001.
|
| |
|
|
|
|
|
|
| |
environment. An empty UID and GID are valid there.
Spotted by: rwatson
|
|
|
|
|
|
|
|
| |
ceased to be useful when the number of "special processes" went from 3
to one per device. I considered replacing it with a "kernel threads"
section, but this seemed like the wrong place for that.
PR: 40969
|
|
|
|
|
|
|
|
| |
doesn't do this, and it wouldn't be very useful if it did, since the
caller supplies us with that number.
PR: 41329
Submitted by: Michael Galassi <nerd@xyz.com>
|
|
|
|
|
| |
Obtained from: NetBSD
Sponsored by: Apple
|
|
|
|
|
|
| |
Although there was nothing wrong with getwc() and putwc(), getwchar()
and putwchar() assumed that <stdio.h> had been included before <wchar.h>,
which is not allowed by the standard.
|
| |
|
|
|
|
| |
trying to shrink the buffer with realloc() before returning it.
|
|
|
|
|
|
|
|
| |
va_end closer to the __vfprintf() call, free the buffer when __vfprintf()
fails and don't bother trying to shrink the buffer with realloc() before
returning it.
Submitted by: bde
|
| |
|
| |
|
|
|
|
| |
of memory.
|
|
|
|
| |
runs out of memory, always call va_end.
|
| |
|
|
|
|
|
|
| |
PR: bin/41721
Reviewed by: tjr, silence on -audit
MFC after: 2 weeks
|
| |
|
|
|
|
|
| |
of the rune functions (except sgetrune() and sputrune(), which are really
macros).
|
|
|
|
| |
versions of printf() and scanf().
|
|
|
|
|
| |
from vfscanf() to vfwscanf(). It doesn't hurt to have it there, but it's
redundant since __fgetwc() will refill the buffer if it needs to.
|
|
|
|
|
|
|
|
| |
assignment. This is needed on powerpc but is also more correct for the
other ports.
Submitted by: grehan
Tested on: alpha, i386, sparc64
|
|
|
|
|
| |
vfwscanf(), vswscanf(), vwscanf(). As the name suggests, these are wide-
character versions of the scanf() family of functions.
|
|
|
|
|
| |
characters, non-whitespace wide character strings and wide character
strings in a scanset.
|
| |
|
|
|
|
|
| |
Restrict qualifiers were added to the existing prototypes in <inttypes.h>
and the typedef for wchar_t was removed.
|
|
|
|
| |
will need to use.
|
|
|
|
|
|
|
|
|
|
|
| |
- Sort local variable declarations.
- Protect a hand-formatted comment from indent(1).
- Use portable casts, even though this is machine-dependant code.
- Remove extraneous blank lines.
- Remove trailing newline.
- Use sigdelset(3), not SIGDELSET(9).
Requested by: bde
|
| |
|
|
|
|
| |
formatted wide-character output.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the correct constants directly from sysconf() rather than calling
sysctl() to tell us the (still compiled-in) value. Leave the CTL_POSIX1B
stuff alone for now (but I'd like to see this replaced with a single
structure returning all of the relevant information).
Implement all of the keys from 1003.1-2001 that we can. Ensure that
the build will break if someone redefines an option constant to zero
without implementing the necessary presence-detection logic here.
(4 of 5)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hack, thereby allowing future extensions to the structure (e.g., for extended
attributes) without rebreaking the ABI. FTSENT now contains a pointer to the
parent stream, which fts_compar() can then take advantage of, avoiding the
undefined behavior previously warned about. As a consequence of this change,
the prototype of the comparison function passed to fts_open() has changed
to reflect the required amount of constness for its use. All callers in the
tree are updated to use the correct prototype.
Comparison functions can now make use of the new parent pointer to access
the new stream-specific private data pointer, which is intended to assist
creation of reentrant library routines which use fts(3) internally.
Not objected to in spirit by: -arch
|
|
|
|
| |
_DIAGASSERT macro on NetBSD, but we don't need it.
|
|
|
|
| |
right way to do it.
|
| |
|
|
|
|
| |
ungetc() instead of having ungetc() recurse on the lock.
|
|
|
|
| |
and __fgetwc() which can be used when we know the file is locked.
|
| |
|
|
|
|
| |
setcontext(3) functions check the validify of the mcontext_t structs.
|
|
|
|
|
|
| |
"cast increases required alignment of target type" on some platforms.
Reviewed by: bde
|
|
|
|
|
|
| |
and wide characters. These were already documented in the manual page,
with an entry mentioning that they were not implemented yet. The XSI
%S and %C synoyms have not been added.
|
| |
|
|
|
|
| |
_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS case.
|
| |
|
| |
|
|
|
|
|
|
| |
or "POSIX", other European locales). Use __sgetc() and __sputc() where
possible to avoid a wasteful lock and unlock for each byte and to avoid
function call overhead.
|
|
|
|
| |
sequence is detected.
|
| |
|
|
|
|
|
|
| |
get applications to move to the ISO C interfaces as well as have the
freedom to replace the rune interfaces with ones that support stateful
conversions some time in the future.
|