| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
here in terms of mbrtowc(), wcrtomb(), and the single-byte I/O functions.
The rune I/O functions are about to become deprecated in favour of the
ones provided by ISO C90 Amd. 1 and C99.
|
| |
|
| |
|
|
|
|
|
|
|
| |
PR: bin/36175
Obtained from: OpenBSD
Reviewed by: silence on -audit
MFC after: 5 days
|
|
|
|
| |
Add a big ugly #warning as a reminder.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.
Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.
Tested on: i386 (extensively), alpha
|
|
|
|
|
| |
reflect that they actually require a u_int32_t *, which is not
necessarily the same as an unsigned long *.
|
|
|
|
|
| |
Reviewed by: deischen, julian
Approved by: -arch
|
|
|
|
|
| |
Reviewed by: deischen, julian
Approved by: -arch
|
| |
|