| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
- Use long word to figure out sizeof kernel cpuset, hope it works.
|
|
|
|
|
| |
it can not fix race condition in application code, as a result,
the problem described in PR threads/151767 is avoided.
|
| |
|
|
|
|
| |
MFC after: 7 days
|
|
|
|
| |
Submitted by: Artem Belevich (artemb at gmail dot com)
|
|
|
|
|
|
|
| |
used, to fix warning if WITH_SSL is not set.
Submitted by: Sean Bruno
MFC after: 1 week
|
|
|
|
| |
thought.
|
|
|
|
|
|
|
| |
PR: docs/143330
Submitted by: Efstratios Karatzas (gpf dot kira at gmail dot com)
Discussed with: ru@
MFC after: 7 days
|
|
|
|
|
|
|
|
| |
strtonum does not require limits.h
Obtained from: OpenBSD
Discussed with: ru@
MFC after: 5 days
|
|
|
|
|
|
| |
Instead of only returning NULL when the entry is invalid and can't be
matched against the current database, also return it when it cannot open
the log files properly.
|
|
|
|
|
|
| |
It's a bit more pedantic regarding .Bl list elements. This has an added
benefit of unbreaking the ipfw(8) manpage, where groff was silently
skipping one list element.
|
|
|
|
| |
is now used by both gctl_ro_param() and gctl_rw_param().
|
|
|
|
| |
- Prefer 'unsigned int' over 'u_int' in userland code.
|
|
|
|
|
|
|
| |
a silly rwlock deadlock problem, the deadlock is caused by writer
waiters, if a thread has already locked a reader lock, and wants to
acquire another reader lock, it will be blocked by writer waiters,
but we had already fixed it years ago.
|
|
|
|
| |
is the type we are using.
|
| |
|
|
|
|
| |
pthread_rwlockattr_getkind_np.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
functions set or get pthread_rwlock type, current supported types are:
PTHREAD_RWLOCK_PREFER_READER_NP,
PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
PTHREAD_RWLOCK_PREFER_WRITER_NP,
default is PTHREAD_RWLOCK_PREFER_WRITER_NONCECURSIVE_NP, this maintains
binary compatible with old code.
|
|
|
|
|
|
| |
- Add missing check for ugd_actlen being too small.
- Add missing inclusion guard to usbvar.h header file.
- This also fixes buildworld breakage since r213852.
|
|
|
|
|
|
| |
This allows it to assemble with newer binutils.
Reviewed by: marcel
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libusb_strerror()
* libusb_get_driver[_np]()
* libusb_detach_kernel_driver[_np]()
- Factor out setting of non-blocking flag inside libusb.
- Add missing NULL check after libusb_get_device() call.
- Correct some wrong error codes due to copy and paste error.
PR: usb/150546
Submitted by: Robert Jenssen, Alexander Leidinger
Approved by: thompsa (mentor)
|
|
|
|
| |
Approved by: thompsa (mentor)
|
|
|
|
| |
Approved by: thompsa (mentor)
|
|
|
|
|
|
|
|
| |
- Add a new API function to check the connected
status of the USB handle in the LibUSB v1.0 and
LibUSB v0.1 interfaces.
Approved by: thompsa (mentor)
|
|
|
|
|
|
|
| |
* When calling syslog(), pass a format string.
* Define YY_NO_INPUT on nslexer.l
Submitted by: Norberto Lopes <nlopes.ml at gmail.com>
|
| |
|
| |
|
|
|
|
|
| |
Approved by: delphij (mentor)
MFC after: 1 month
|
|
|
|
| |
Submitted by: pluknet
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove or re-work support for the several features from the past:
- remove incomplete support for trimming slice/partition names
- remove mapping from old device names "sd" and "st"
- remove whitespace trimming
- remove unconditional skipping of leading 'r' in a device name
- skip leading 'n' or 'e' only if the following device name matches
a list of known devices that support no-rewind and eject-on-close
features; currently this is only sa(4)
- reflect the above changes in comments in code and in cam(3)
- remove a note cautioning against use of cam_get_device and
cam_open_device in cam(3)
Reviewed by: mjacob
|
|
|
|
| |
They have no effect when coming in pairs, or before .Bl/.Bd
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
http://llvm.org/releases/2.8/docs/ReleaseNotes.html
Approved by: rpaulo (mentor)
|
|
|
|
|
| |
Submitted by: brueffer
MFC after: 1 week
|
|
|
|
|
|
|
| |
and random(3).
Submitted by: Valentin Nechayev <netch netch kiev ua>
MFC after: 1 week
|
|
|
|
|
|
|
| |
return zero.
Spotted by: Kostik Belousov <kostikbel__at__gmail.com>
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
error conditions.
Submitted by: Mark Johnston <mjohnston at sandvine dot com>
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
| |
'inline' to 'static inline'. Otherwise, a C99 compiler (such as clang)
will output an undefined symbol for those functions in the resulting
object file. (Even gcc will do this, when you use "-std=c99".)
This should fix the "undefined reference to `set4pixels'" errors that
some people were seeing during ports building, when their world was
compiled with clang.
Approved by: rpaulo (mentor)
|
|
|
|
|
| |
Spotted by: Kostik Belousov <kostikbel__at__gmail.com>
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 1 day
|
|
|
|
|
|
|
|
| |
and one under lib/msun/amd64. This avoids adding the identifiers to the
.text section, and moves them to the .comment section instead.
Suggested by: bde
Approved by: rpaulo (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On anything modern, the C version, which processes a word at a time, is much
faster. The Intel optimization manual explicitly warns against using REP
prefixes with SCAS or CMPS, which is exactly what the assembler version
does.
A simple test on a Phenom II showed the C version, compiled with -O2, to be
about twice as fast determining the length of 100000 strings between 0 and
255 bytes long.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
as they are slower than the generic version in C, at least on modern
hardware. This leaves us with just five implementations.
Suggested by: bde
Approved by: rpaulo (mentor)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r212976): order the incoming arguments to fscale as st(0), st(1), and
mark temp2 volatile (only in case of compilation with clang) to force
clang to pop it correctly. No binary change when compiled with gcc.
This fixes ldexp() when compiled with clang on amd64, which makes
drand48() and friends work correctly again, and this in turn fixes
perl's tempfile().
Reported by: Renato Botelho, Derek Tattersall
Approved by: rpaulo (mentor)
|
| |
|