| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
to the summary shown at the end of the transfer.
Some days, I really hate Unix...
Suggested by: cracauer
|
| |
|
|
|
|
|
| |
symbols. This allows lorder to be used more easily in a cross-build
environment.
|
| |
|
|
|
|
|
| |
PR: 25541
Submitted by: Nickolay Dudorov <nnd@mail.nsk.ru>
|
|
|
|
|
|
| |
(random() or arc4random())
Reviewed by: bde
|
|
|
|
| |
values that aren't updated for a particular network-layer address.
|
|
|
|
| |
while I'm here, fix bitrotted debug code generating template.
|
| |
|
|
|
|
| |
locales, so leads to confusion
|
| |
|
| |
|
|
|
|
|
|
|
| |
Don't treat pointer as a boolean, but instead test it against NULL.
Add warning for groups that don't exist
Submitted by: ru
|
|
|
|
|
|
|
|
| |
have a sane default.
Also add $FreeBSD$ while I'm here.
Pointed out by: bde
|
|
|
|
|
|
|
| |
Correct array sizes to reflect this.
Correct NUL termination after strncpy.
# Didn't to strncpy -> strlcpy change.
|
| |
|
|
|
|
|
| |
Also, snprinf is guaranteed by the new ansi standard to NUL terminate the
string, so we don't need to do that ourselves.
|
| |
|
|
|
|
|
| |
In addition, since we pass readlink MAXPATHLEN - 1, we would have never have
used that extra byte anyway.
|
|
|
|
| |
to it for the size of path.
|
|
|
|
| |
for ages.
|
|
|
|
|
|
|
| |
a given group.
o Minor code style cleanups while I'm here
Reviewed by: bde, kris, markm, audit@
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
prefix recusrion bug. Remove units which can be derived using prefixes
and other units.
Add new prefixes for 2^10, 2^20, etc...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Fix a bug where the recursion on prefixes where if recusrion failed
then the next attempt started too far along the string.
2) Up some internal limits that we were about to hit off.
3) Change the constness and signedness of some things and complete missing
prototypes.
4) Remove the readerror function 'cos it could print out the wrong
wrong file name. Replace it with more useful error messages.
5) Use sizeof when passing buffers to fgets.
6) Warn about empty prefix definitions.
Reviewed by: iedowse
|
| |
|
|
|
|
|
|
| |
waiting for a '}' nesting terminator)
Obtained from: OpenBSD rev 1.8
|
|
|
|
|
|
|
|
|
|
| |
fscale is a (64-bit) long. So just use a struct loadavg.
This fixes the recent failure of top on alphas:
top: sysctl(vm.loadavg...) failed: Cannot allocate memory
- use size_t for sizeof() so as to fix a few int/long warnings on alpha
Reviewed by: Thomas Moestl <tmoestl@gmx.net>
|
| |
|
| |
|
|
|
|
| |
install top with setgid bit.
|
|
|
|
|
|
|
|
| |
available via sysctl(). As a result, top should now be able to run without
setgid kmem.
Submitted by: Thomas Moestl <tmoestl@gmx.net>
Reviewed by: freebsd-audit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-E Interpret regular expressions followed by -regex and -iregex op-
tions as extended (modern) regular expressions rather than basic
regular expressions (BRE's). The re_format(7) manual page fully
describes both formats.
-iname pattern
Like -name, but the match is case insensitive.
-ipath pattern
Like -path, but the match is case insensitive.
-regex pattern
True if the whole path of the file matches pattern using regular
expression. To match a file named ``./foo/xyzzy'', you can use
the regular expression ``.*/[xyz]*'' or ``.*/foo/.*'', but not
``xyzzy'' or ``/foo/''.
-iregex pattern
Like -regex, but the match is case insensitive.
These are meant to be compatible with other find(1) implementations
such as GNU's or NetBSD's except regexp library differences.
Reviewed by: sobomax, dcs, and some other people on -current
|
|
|
|
|
|
|
| |
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
Silence a warning by renaming the 'pgtok' #define to 'vmstat_pgtok' so
as not to conflict with the 'pgtok' #define in sys/param.h
|
| |
|
|
|
|
| |
Also fix up the phrasing in the man page a bit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
through the use of a new build directive, MACHINE_CPU, which contains a
list of the CPU generations/features for which optimizations are desired.
This feature will be extended to cover the ports tree in the future.
Currently OpenSSL provides optimizations for i386, i586 and i686-class
CPUs. Currently it has not been tested on an i386 or i486.
Teach make(1) to provide sensible defaults for MACHINE_CPU if it is not
defined (namely, the lowest common denominator CPU we support for each
architecture). Currently this is i386 for the i386 architecture and ev4
for the alpha. sys.mk also sets the variable as a last resort for
consistency with MACHINE_ARCH and bootstrapping from very old versions of
make.
Benchmarks show a significant speed increase even in the i386 case, with
additional improvements for i586 and i686 systems. For maximum performance
define MACHINE_CPU=i686 i586 i386 in /etc/make.conf.
Based on a patch submitted by: Mike Silbersack <silby@silby.com>
Reviewed by: current
|
|
|
|
| |
This fixes a gcc warning with -Wmissing-prototypes.
|
| |
|
|
|
|
| |
Add $FreeBSD$.
|
| |
|
|
|
|
| |
(used by install floppy/picobsd)
|
|
|
|
| |
the usual style bugs for DPADD/LDADD).
|
| |
|
|
|
|
|
|
|
| |
revision 1.25. When evaluating the termination condition for the
iteration over all map entries, we must take care to use the kernel
versions of all pointers. The code was comparing a kernel pointer
to a pointer within a local variable, so the loop never terminated.
|
|
|
|
|
|
|
| |
16 characters, only check the first 16 since that is all the kernel
records. This isn't ideal, but it is probably the best we can do.
Otherwise, "killall communicator-linux-4.76.bin" will not match
the process as the kernel only records "communicator-lin".
|
|
|
|
|
|
| |
add missing .Xo/.Xc to the tags. This only worked due
to the off-by-one bug in the -hang lists, which I will
hopefully backport from the mdocNG shortly.
|
| |
|