| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
$FreeBSD$ identifiers, and fix initialisation to stderr to happen in a function
as stderr is not the same in CURRENT as in OpenBSD.
Reviewed by: obrien
|
| |
|
| |
|
|
|
|
| |
Noticed by: tjr
|
| |
|
| |
|
|
|
|
|
|
|
| |
- ifdefs around vendor sccsid were left reversed after switching to
__FBSDID().
- vertical whitespace after some of the non-FALLTHROUGH cases was lost.
- too much vertical whitespace before prototypes.
|
|
|
|
|
|
|
|
|
|
| |
- don't use unusual indentation for 39 lines of declarations when only 2
of the lines benefit from it.
- don't use __DECONST(). This was the one use of it in the tree, and it
was just wrong. It was used to hide the warning about tgetnum() having
the wrong prototype (missing a `const') due to libncurses being
misconfigured. libncurses has been fixed, so the original code now
compiles cleanly with WARNS=4.
|
|
|
|
|
|
|
| |
eliminates the usefulness of ${MAKEFILE}.
Obtained from: NetBSD
MFC after: 1 week
|
|
|
|
|
| |
LIBDIR is defined in bsd.own.mk but sys.mk no longer
includes bsd.own.mk as of revision 1.60.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
option (try to break at word bounaries) for SUSv3 conformance.
Partially based on the NetBSD version, with the following changes:
- style(9)
- break on <blank>s, not spaces, per POSIX (and GNU)
- when looking for last space on line, search backwards instead of
forwards; less comparisons needed this way.
- use LINE_MAX macro instead of a magic number and a comment saying it is
LINE_MAX.
PR: 36245
Reviewed by: mike
Obtained from: NetBSD (partially)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
to be emitted as per the C preprocessor. It updates the manual page in
regards to standards accordingly.
PR: standards/36075
Submitted by: tjr
Reviewed by: mike
MFC after: 1 week
|
|
|
|
| |
Reviewed by: peter
|
| |
|
| |
|
| |
|
|
|
|
| |
Tested by: AXP gcc 3.1
|
|
|
|
| |
(This is apparently required in NetBSD).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updated the kmemzones logic such that the ks_size bitmap can be used as an
index into it to report the size of the zone used.
Create the kern.malloc sysctl which replaces the kvm mechanism to report
similar data. This will provide an easy place for statistics aggregation if
malloc_type statistics become per cpu data.
Add some code ifdef'd under MALLOC_PROFILING to facilitate a tool for sizing
the malloc buckets.
|
|
|
|
|
|
| |
should work for everyday use.
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
| |
of trying to kill zombies (which has no effect except emit a few error
messages)
|
|
|
|
|
|
|
| |
With rev 1.7 one cannot build src/bin/sh -- because make fails to create
the buildtools before trying to use them. Actually it does compile the
buildtools into .o's before trying to use them, but not all the way into
binaries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since then we have living with a GPL'ed find(1) due to grabbing getdate.y
from src/contrib/cvs and its user of the GPL'ed xtime.h. I don't even want
to think about how this could have affected people using our source base.
Would it have been too much trouble to do then what I did now?
Copied getdate.y (public domain) to usr.bin/find and change to use
standard system headers. find(1) now compiles simply with out having
to go to extra effort to do so.
Pointed hat to: phk
Build fixed on: gcc 3.1 using platforms
|
| |
|
|
|
|
|
|
|
| |
1) Add missing initialisers.
2) Avoid shadowing rcswhich.
3) Use intmax_t and %j for printing rather than quad_t and %q.
4) Don't modify a variable twice between sequence points.
|
|
|
|
|
| |
to a char *.
Fix up vendor ID.
|
|
|
|
| |
Put a sequence point between writing to a variable and using it.
|
|
|
|
|
|
|
|
|
|
|
| |
make installed) in gnu/usr.bin/groff/src/preproc/eqn (which, being a
build tool itself, is built with the original make during buildworld).
The problem seems to be that in str_concat(), the string is not
terminated when the length of the second string is 0.
This apparently can happen during null suffix rule processing.
Submitted by: tmm
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: jmallett
Obtained from: OpenBSD
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
to unsigned long long.
Don't be too overzealous with the printing of ks_calls in the total
statistics, cut back from 20 to 13 positions to print (which should last
a couple of years easily (20 digits is enough for 3168 years of calls at a
measly billion (10^9) calls per second.)).
Submitted by: bde
|
| |
|
|
|
|
|
| |
Submitted by: jmallett
Inspired by: CMU BUILDTOOLS4 coredumping, ODE-2.3.6 make(1)
|
| |
|
|
|
|
| |
Submitted by: jmallett
|
|
|
|
|
| |
Submitted by: jmallett
Inspired by: NetBSD
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
substitution expressions in the form `s,[fooexp],[barexp],;...' treated
as invalid when the third `,' is (_POSIX2_LINE_MAX * N)-th character in
the line.
MFC after: 2 weeks
|
| |
|
|
|
|
| |
Asked by: ru
|