| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
reveals no programs in the standard build which hit the previous warning
message. This change will NOT be merged to 4-stable.
|
|
|
|
|
|
| |
Change assert() macro to print failing function name.
Change K&R function prototype wrapper to ANSI prototype.
This makes us C99 conforming.
|
|
|
|
|
|
| |
- rev.1.6: corrupt tab before strlcpy.
- rev.1.7: "From: " in vendor id.
- rev.1.8: unsorted prototype for strccasestr.
|
| |
|
|
|
|
|
|
|
|
| |
number of characters that are searched. This is especially useful
with file operations and non-NUL terminated strings.
Silence from: -audit, -hackers
MFC after: 5 days
|
|
|
|
|
| |
that used to live in RPC 4.0. This is needed for yppasswd and
rpc.yppasswdd to work correctly. Patch supplied by Martin Blapp.
|
|
|
|
|
|
|
|
|
| |
<machine/ansi.h> for the definition of __signed, unless the compiler
is gcc.
Moved the declaration of socklen_t up together with the declaration of
size_t, and removed low-quality comment about this declaration. Declaring
socklen_t in this file is normal in POSIX-1.200x, unlike declaring size_t.
|
| |
|
|
|
|
|
|
| |
- only declare the application symbols specified in Posix.1-200x drafts,
not everything in <sys/types.h> and <stddef.h>.
- don't use the application symbol 'm' for an arg name.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
for negotiation of timeout and file size to the tftp protocol. This
is required by some firmware like EFI boot managers (at least on
HP i2000 Itanium servers) in order to boot an image using tftp. The
attached patch implements the RFC, and in doing so also implements
RFC2347; a generic tftp option extension.
PR: 30710
Submitted by: Espen Skoglund <esk@ira.uka.de>
|
|
|
|
| |
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
| |
switch over to using a future-proof stdin/out/err.
Note that if you run 4.x binaries on your system, you will certainly
want to update /usr/lib/compat/libc.so.4. The easiest way is to
add "COMPAT4X= yes" in your /etc/make.conf.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
<sys/types.h>.
|
|
|
|
|
|
|
|
|
| |
now prototyped indirectly in <arpa/inet.h>.
o Deprecate in_addr_t and in_port_t typedefs in <sys/types.h>, these
are now typedef'd in <arpa/inet.h>.
Discussed with: bde
PR: 29946
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was foiled because of dynamic copy relocations that caused compile-time
space to be reserved in .bss and at run time a blob of data was copied to
that space and everything used the .bss version.. The problem is that
the space is reserved at compile time, not runtime... So we *still* could
not change the size of FILE. Sigh. :-(
Replace it with something that does actually work and really does let us
make 'FILE' extendable. It also happens to be the same as Linux does in
glibc, but has the slight cost of a pointer. Note that this is the
same cost that 'fp = fopen(), fprintf(fp, ...); fclose(fp);' has.
Fortunately, actual references to stdin/out/err are not all that common
since we have implicit stdin/out/err-using versions of functions
(printf() vs. fprintf()).
|
| |
|
|
|
|
| |
Submitted by: bde, long ago
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
PR: 14327
Reviewed by: des
Approved by: des
MFC after: 7 days
|
|
|
|
|
|
|
|
| |
be malloc()ed, but they are now allocated using mmap(), just as the
default-size stacks are. A separate cache of stacks is kept for
non-default-size stacks.
Collaboration with: deischen
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
is a userland-only header.
|
|
|
|
|
|
|
|
| |
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>.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
IPv6 transport-ready resolvers/DNS servers. Need careful configuration
when enable it. (default config is not affected).
See manpage for details.
XXX visible symbol __res_opt() is added, however, it is not supposed to be
called from outside, libc minor is not bumped.
Obtained from: KAME/NetBSD
|
| |
|
| |
|
| |
|
|
|
|
| |
as /usr/include/dev/ic.
|
| |
|
| |
|
|
|
|
| |
- /usr/include/n[tw]fs moved to /usr/include/fs/n[tw]fs
|
| |
|
|
|
|
|
| |
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
|
|
|
|
|
|
|
|
|
|
|
|
| |
The STLport will probably become broken again, but I'll work on fixing it
later.
I wish someone would explain why the NetBSD Cirtus branch has the types
in their stddef.h...
Requested by: bde, ru
PR: 27606
Submitted by: Naohiko Tsuji <yakisoba@f2.dion.ne.jp>
|
|
|
|
|
|
|
|
|
| |
Removal of LSYMSUBDIRS was a regression.
The purpose of LSYMSUBDIRS is to export only those /sys headers in the
SHARED=symlinks case that are also visible in the SHARED=copies case.
Requested by: bde
|
| |
|