| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Stolen from: NetBSD
Notes:
svn path=/head/; revision=88055
|
|
|
|
| |
Notes:
svn path=/head/; revision=88050
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
support to the build.
The MFC reminder below is subject to <re@FreeBSD.org> approval
prior to 4.5-RELEASE.
Reviewed by: bp, fjoe
MFC: 1 week
Notes:
svn path=/head/; revision=87874
|
|
|
|
|
|
|
|
|
| |
* add K&R support to langinfo.h
Requested by: bde (2)
Notes:
svn path=/head/; revision=87744
|
|
|
|
|
|
|
|
|
|
|
|
| |
We'll never install math.h wrapped by this define since msun's math.h
is using, so it should be removed from the source tree at some point
(after merge of useful stuff to msun's math.h which is installing now
to /usr/include)
Reviewed by: bde
Notes:
svn path=/head/; revision=87663
|
|
|
|
| |
Notes:
svn path=/head/; revision=87659
|
|
|
|
| |
Notes:
svn path=/head/; revision=87379
|
|
|
|
|
|
|
| |
Submitted by: bde
Notes:
svn path=/head/; revision=87369
|
|
|
|
|
|
|
| |
I leave it up to someone else to fix this breakage properly.
Notes:
svn path=/head/; revision=87319
|
|
|
|
| |
Notes:
svn path=/head/; revision=87268
|
|
|
|
|
|
|
| |
Submitted by: fenner
Notes:
svn path=/head/; revision=87159
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Hide nonstandard functions and types in <netinet/in.h> when
_POSIX_SOURCE is defined.
o Add some missing types (required by POSIX.1-200x) to <netinet/in.h>.
o Restore vendor ID from Rev 1.1 in <netinet/in.h> and make use of new
__FBSDID() macro.
o Fix some miscellaneous issues in <arpa/inet.h>.
o Correct final argument for the inet_ntop() function (POSIX.1-200x).
o Get rid of the namespace pollution from <sys/types.h> in
<arpa/inet.h>.
Reviewed by: fenner
Partially submitted by: bde
Notes:
svn path=/head/; revision=87158
|
|
|
|
| |
Notes:
svn path=/head/; revision=87136
|
|
|
|
|
|
|
|
|
|
| |
path set. These files will hold per-user capability information.
Obtained from: TrustedBSD Project
Submitted by: tmm
Notes:
svn path=/head/; revision=87135
|
|
|
|
|
|
|
| |
commit claimed to do.
Notes:
svn path=/head/; revision=87086
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the following functions in the following commits:
- atoll() in revs 1.23-1.25
- llabs() and lldiv() in revs 1.22
- strtoq() and strtouq() in revs 1.18
C99 functions must not be declared in C90/POSIX.1-1990 sections, and
"long long" must not be exposed to compilers that don't support it.
Fixed style bugs (mainly misindentation and disorder) related the
following functions in the following commits:
- atoll() in revs 1.23-1.25
- getprogname() in rev.1.21
- sranddev() in revs 1.19-1.20
- strtoq() and strtouq() in rev.1.13
- user_from_uid() in rev.1.1
Breakage of K&R and C90 support used to be avoided by conditializing the
"long long"s for strtoq() and strtouq() on __STRICT_ANSI__, but the
conditionals should have gone away in rev.1.13 when the "long long"s went
away (the problem was moved to the places that declare quad_t and u_quad_t).
Notes:
svn path=/head/; revision=87071
|
|
|
|
|
|
|
|
| |
sterror_r() must not be declared in the C90/POSIX.1-1990 section.
Put it in the nonstandard section for now.
Notes:
svn path=/head/; revision=87069
|
|
|
|
| |
Notes:
svn path=/head/; revision=87021
|
|
|
|
| |
Notes:
svn path=/head/; revision=87019
|
|
|
|
| |
Notes:
svn path=/head/; revision=87017
|
|
|
|
|
|
|
|
| |
Reviewed by: Mike Barcroft <mike@FreeBSD.org>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=86944
|
|
|
|
|
|
|
|
|
| |
comes originally from Todd Miller.
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=86669
|
|
|
|
| |
Notes:
svn path=/head/; revision=86667
|
|
|
|
|
|
|
|
|
|
|
|
| |
includes changing a struct timeval to an explicit structure of two
int32_t's. This requires using temporary timevals in several places
when calling gettimeofday(), settimeofday(), etc. With this timed now
works properly on 64-bit platforms such as Alpha.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=86644
|
|
|
|
|
|
|
| |
Sponsored by: DARPA, NAI Labs (CBOSS project)
Notes:
svn path=/head/; revision=86574
|
|
|
|
|
|
|
|
|
|
| |
o Update abs(3), div(3), labs(3), ldiv(3) to reflect standards
conformance and add additional references.
Reviewed by: bde, wollman
Notes:
svn path=/head/; revision=86368
|
|
|
|
| |
Notes:
svn path=/head/; revision=86317
|
|
|
|
|
|
|
|
|
|
| |
- Clean up the manpage.
- style(9) rcmdsh.c.
Committed from: BSDCon/EU 2k+1 terminal room
Notes:
svn path=/head/; revision=86214
|
|
|
|
|
|
|
| |
Submitted by: joerg
Notes:
svn path=/head/; revision=86178
|
|
|
|
|
|
|
|
|
| |
Add $FreeBSD$
Submitted by: phk
Notes:
svn path=/head/; revision=85961
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Make <stdint.h> a symbolic link to <sys/stdint.h>.
o Move most of <sys/inttypes.h> into <sys/stdint.h>, as per C99.
o Remove <sys/inttypes.h>.
o Adjust includes in sys/types.h and boot/efi/include/ia64/efibind.h
to reflect new location of integer types in <sys/stdint.h>.
o Remove previously symbolicly linked <inttypes.h>, instead create a
new file.
o Add MD headers <machine/_inttypes.h> from NetBSD.
o Include <sys/stdint.h> in <inttypes.h>, as required by C99; and
include <machine/_inttypes.h> in <inttypes.h>, to fill in the
remaining requirements for <inttypes.h>.
o Add additional integer types in <machine/ansi.h> and
<machine/limits.h> which are included via <sys/stdint.h>.
Partially obtain from: NetBSD
Tested on: alpha, i386
Discussed on: freebsd-standards@bostonradio.org
Reviewed by: bde, fenner, obrien, wollman
Notes:
svn path=/head/; revision=85892
|
|
|
|
| |
Notes:
svn path=/head/; revision=85636
|
|
|
|
|
|
|
|
|
|
|
| |
header for the case where sizeof(time_t) != sizeof(int). dumprestore.h
was embedding time_t when it should have been embedding int32_t.
Use time_to_time32() and time32_to_time() to convert between the
protocoll/file-format time and time_t.
Notes:
svn path=/head/; revision=85635
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
serve two purposes: (1) so we can maintain backwards compatibility with
protocols (rwhod, dump, etc...) that either assume time_t is 32 bits or
assume sizeof(time_t) == sizeof(int), or make other similar assumptions.
(2) To tag such routines (by the presence of these calls) for future
cleanup/extension work.
The 32->64 routine, time32_to_time() (when time_t is 64 bits, that is),
is defined specifically to implement temporal locality to properly set the
msb bits of a 64 bit time_t quantity, using the 50 year rule. The locality
code has not been implemented yet (and doesn't need to be for a while),
but that is the intent. This will allow us to maintain backwards protocol
compatibility past 2038.
These routines are intended to be platform and time_t agnostic.
MFC after: 1 week
Notes:
svn path=/head/; revision=85634
|
|
|
|
|
|
|
| |
unless we dont want to run 4.x binaries any more.
Notes:
svn path=/head/; revision=85609
|
|
|
|
|
|
|
| |
Reviewed by: asmodai, bde
Notes:
svn path=/head/; revision=85605
|
|
|
|
|
|
|
|
|
|
| |
Really, one of them needs to disappear. I'll figure out which
later.
Reported by: bde
Notes:
svn path=/head/; revision=85600
|
|
|
|
|
|
|
|
| |
reveals no programs in the standard build which hit the previous warning
message. This change will NOT be merged to 4-stable.
Notes:
svn path=/head/; revision=85454
|
|
|
|
|
|
|
|
|
| |
Change assert() macro to print failing function name.
Change K&R function prototype wrapper to ANSI prototype.
This makes us C99 conforming.
Notes:
svn path=/head/; revision=85421
|
|
|
|
|
|
|
|
|
| |
- rev.1.6: corrupt tab before strlcpy.
- rev.1.7: "From: " in vendor id.
- rev.1.8: unsorted prototype for strccasestr.
Notes:
svn path=/head/; revision=84747
|
|
|
|
| |
Notes:
svn path=/head/; revision=84741
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=84699
|
|
|
|
|
|
|
|
| |
that used to live in RPC 4.0. This is needed for yppasswd and
rpc.yppasswdd to work correctly. Patch supplied by Martin Blapp.
Notes:
svn path=/head/; revision=84487
|
|
|
|
|
|
|
|
|
|
|
|
| |
<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.
Notes:
svn path=/head/; revision=84463
|
|
|
|
| |
Notes:
svn path=/head/; revision=84442
|
|
|
|
|
|
|
|
|
| |
- 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.
Notes:
svn path=/head/; revision=84441
|
|
|
|
| |
Notes:
svn path=/head/; revision=84328
|
|
|
|
| |
Notes:
svn path=/head/; revision=84326
|
|
|
|
| |
Notes:
svn path=/head/; revision=84325
|
|
|
|
| |
Notes:
svn path=/head/; revision=84261
|