| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Reported by: Liam J. Foy <liamfoy@gmail.com>
Approved by: grehan (mentor)
|
|
|
|
|
|
|
| |
Oceania, and North America.
Obtained from: http://ntp.isc.org/bin/view/Servers/NTPPoolServers
MFC after: 1 week
|
|
|
|
| |
Reported by: sarumaru at ReichaNet IRC, users-jp@jp.FreeBSD.org, etc.
|
|
|
|
|
|
| |
Submitted by: ru
o Reduce an amount of memory we ask in advance.
|
|
|
|
|
|
|
|
| |
An approach taken from killall/killall.c.
PR: bin/76075
Submitted by: Dmitrij Tejblum
MFC after: 3 weeks
|
|
|
|
|
|
|
| |
measurements suggest that higher degrees of parallelism for large
numbers of clients help performance substantially.
Submitted by: Eric Anderson <anderson at centtech dot com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
just rely on the exit status to detect an error. This makes crunchgen(1)
safe to use with certain make(1) debugging flags.
MFC after: 1 week
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
'usage: ' in front of usage string. Use warnx(3) instead of fprintf in error
messages to get progname prepended.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use foo(void) instead of foo().
- Use static where applicable.
- Apply more const's when passing parameters
- signed/unsigned madness
- Avoid namespace collision by adding underscores.
- For 64-bit architectures, use %zx instead of %x
when necessary.
- When storing constants, use const instead of
variable.
- Bump WARNS?= from 2 to 6
|
|
|
|
|
|
|
|
|
| |
That should fix the problem with invalid PSM returned from bthidcontrol.
Pointy hat goes to me.
PR: misc/76107
Submitted by: Hiroyuki Aizu < aizu at navi dot org >
MFC after: 1 day
|
|
|
|
| |
Submitted by: keramida
|
| |
|
| |
|
|
|
|
|
|
| |
- Bump document date for last content change.
Extended mdoc clue: ru
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Obtained from: Brad <brad@comstyle.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fdcontrol/fdcontrol.c:
- Add const constraint to an intermediate value
which is not supposed to be changed elsewhere.
fdread/fdread.c:
- Use _devname in favor of devname to avoid name
conflicit.
- -1 is less than any positive number so in order
to get the block to function, we should get the
block a little earlier.
- Cast to remove signed when we are sure that a
return value is positive, or is compared with
an positive number (tracknumber of a floppy
disk is not likely to have UINT_MAX/2 anyway)
fdread/fdutil.c:
- Use more specific initializer
fdwrite/fdwrite.c:
- Use static on format_track since it's not
referenced in other places.
- Use const char* to represent string constant.
Bump WARNS accordingly.
|
|
|
|
|
|
| |
WARNS comes before CFLAGS
This reduces diff against my local branch.
|
|
|
|
|
|
| |
This example caused me to incorrectly believe that you must use the
generic device nodes when you can in fact use either. It's often better
to use the driver specific node.
|
|
|
|
|
|
|
| |
- Apply __unused on unused parameters
- Use const where suitable
- Use PRIu64 instead of the deprecated %q
- Bump WARNS to 6
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
Submitted by: Jordan Sissel <psionic@csh.rit.edu>
|
| |
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
| |
class is a reserved word in C++
Submitted by: Markus Brueffer < markus AT brueffer DOT de >
MFC after: 3 days
|
|
|
|
| |
Suggested by: nectar
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
device is involved, (e.g. plugin a hub with multiple devices
already attached to it)
Submitted by: Naoyuki Tai <ntai@smartfruit.com>
PR: 43993
MFC in: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
so remove argc and argv from main() argument.
At the same time, user and tt is not likely to be changed during
execution so mark them const.
This commit should guarantee nologin to pass WARNS=6.
Tested on: i386
MFC After: 1 month
|
|
|
|
|
|
|
|
|
|
| |
parameter 2 in chmod(2), which is a mode_t (and in turn a __uint_16_t),
it's more likely that it should be defined as an unsigned variable.
This commit should make newsyslog WARNS=6 clean, but don't bump the knob
until I have a universe build.
MFC After: 1 month
|
|
|
|
|
|
| |
particular, enabling interpreter workarounds for bad ASL.
MFC after: 1 day
|
|
|
|
|
|
| |
PR: bin/75712
Submitted by: brueffer
Obtained from: Dragonfly BSD
|