| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously they were only guarded by `#ifndef _ANSI_SOURCE'. They are
neither ANSI nor POSIX nor std and should never have been declared here.
Declare functions like abs() as having attribute `__pure2'. Declaring them
as having type `__pure' has been a no-op for some time.
Delete obsolete comment about stub locale functions.
Use consistent formatting for the rand48 functions. These and about 30
other functions should never have been declared here either.
|
|
|
|
|
| |
programs which use err(3) to work nicely in a wider range of environments
(e.g., dialog).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix numerous ANSI conformance bugs and other nits.
ctype.h:
o There were no prototypes behind the macros (conformance bug).
o isascii() didn't have enough parentheses (plain bug).
o tolower() and toupper were always static inline (conformance
bug? You could undef them and take their address, but this
gave different addresses in different modules. You couldn't
undef them and declare them (correctly) again). <stdio.h>'s
treatment of putc() shows one way to handle this problem,
but it only works because the putc() macro is allowed to
reevaluate its args. I used a hack controlled by
_EXTERNALIZE_CTYPE_INLINES_ to get <ctype.h> to generate the
code (the previous hack involving _ANSI_LIBRARY_ goes away).
This has the advantage that the core of the functions is only
written down once and the disadvantage that another layer of
functions is required. The extra layer goes away if inline
functions are used, leaving only the problem of understanding
why there are functions named toupper(), __toupper and
___toupper() as well as a macro named toupper.
o Nothing seems to define _USE_CTYPE_LIBRARY_. Eliminate it
o Let the user set _USE_CTYPE_INLINE_ and _DONT_USE_CTYPE_INLINE_
for full control over inlining.
o The args for the inline functions didn't have enough
underscores (conformance bug).
o The formatting and ordering was inconsistent (style bug).
o TODO: fix conformance bugs brought by including <runetype.h>.
|
|
|
|
| |
Obtained from: 1.x
|
|
|
|
| |
Obtained from: NetBSD
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
password databases:
#define _PW_KEYPLUSBYNUM '5' /* special +@netgroup entries */
#define _PW_KEYMINUSBYNUM '6' /* special -@netgroup entries */
#define _PW_KEYPLUSCNT '7' /* number of +@netgroup entries */
#define _PW_KEYMINUSCNT '8' /* number of -@netgroup entries */
This is to help getpwent.c in libc build the +@netgroup/-@netgroup
caches.
|
|
|
|
|
| |
Reviewed by: phk
Submitted by: rgrimes
|
| |
|
| |
|
|
|
|
| |
Got apparent by Philippe's -Wall patch for /usr/bin.
|
|
|
|
|
| |
should take a completely ridiculous reboot out of the "make release"
process...
|
| |
|
|
|
|
|
| |
are consistent with the mtree file. These and all other mkdir/chown/
chmod calls shall be removed in a future version of this file.
|
|
|
|
| |
prototype when <rpc/clnt.h> isn't included.
|
|
|
|
|
| |
Reviewed by: phk
Submitted by: ollivier
|
|
|
|
|
|
|
|
| |
NetBSD ld code except for local changes for dlopen() and friends and
the hashing on the minor value of the shlibs. We should be binary
compatible now with all their libraries.
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
| |
to properly resolve some definitions in <nfs/nfs.h>. I suppose nobody noticed
this before because no one's tried to build bootparamd in FreeBSD until
now.
(Yes, you read that right: I've got bootparamd ready to go. And
rarpd is on the way. :)
|
| |
|
|
|
|
|
|
| |
Posix chown(), and also with the man page.
Submitted by: Doug Rabson <dfr@render.com>
|
| |
|
|
|
|
|
|
| |
handling.
Reviewed by: gj
Submitted by: Mark Diekhans <markd@grizzly.com>
|
|
|
|
|
|
|
|
| |
Define CLK_TCK only if _ANSI_SOURCE is not defined.
Don't include <machine/limits.h> to get the definition of CLK_TCK.
CLK_TCK should never have been defined there, and the inclusion
polluted the namespace.
|
| |
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
| |
Add prototypes for the *rand48 family here in the moment to get them
running again.
|
|
|
|
|
| |
of NetBSD simple #include <stdlib.h> into malloc.h
Put #warning that this file is obsoleted ( by Joerg suggestion)
|
|
|
|
|
| |
providers (like SUN f.e.) does.
malloc.h have comment about its SYSVism
|
| |
|
|
|
|
|
| |
work. Error was with the private clean/cleandir pair, the obj under
include/rpcsvc doesn't get cleaned out.
|
|
|
|
|
|
|
| |
Our one supported compiler always defines the double-underscore variant,
so always use that.
Noticed by Bruce Evans after a report by John Capo.
|
|
|
|
| |
Obtained from: netlib.att.com
|
|
|
|
|
|
|
|
|
| |
Reduce _JBLEN for the i386 to what is actually used.
Encapsulate jmp_buf and sigjmp_buf in structs.
Enlarge jmp_buf to the same size as sigjmp_buf.
Declare *longjmp as non-returning.
Remove stale comments about sig*jmp not being implemented.
|
|
|
|
|
| |
to 4.4 way to not allow EOF in ctype and now all signed chars
(including '\377' which becomes EOF) converted to (unsigned char) properly.
|
|
|
|
|
| |
Cast all ints < 0 to (unsigned char) to fix common problem
with sign extention on signed char.
|
|
|
|
| |
and unused.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
DANGER WILL ROBINSON!
_PATH_UNIX is currently defined as the literal string "don't use this".
I am of two minds about this myself, but wanted to get something into the
tree as quickly as possible.
|
|
|
|
|
|
| |
something in them, and which ones were left blank. This will be used
for YP support in a few minutes, and for user login classes if anyone cares
to implement them.
|
| |
|
|
|
|
|
|
| |
created at install time and not compared with the current version, so
it can't be installed using install and the timestamp of the target gets
clobbered.
|
|
|
|
| |
math.h with many extensions.
|
| |
|