summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strlcat.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-04-06Add get_user() and put_user() compatibility interfaces and use them.kettenis2-45/+31
ok jsg@
2015-04-06add back some more static use to reduce the diff to linuxjsg18-272/+99
2015-04-06No need to use a temporary pointer variable after the drm struct namejsg3-21/+17
in the softc changed a while back.
2015-04-06add and use macros for wake_up/wake_up_all/wake_up_all_lockedjsg13-51/+54
2015-04-06h2ph only handles actual _files_, so request just them from 'find'. Crazy, eh?guenther1-2/+2
Based on diff from Gregory Edigarov (edigarov (at) qarea.com) ok afresh1@
2015-04-06readdir() is thread-safe when DIR handles aren't shared, so delete the lock.guenther2-6/+2
(POSIX is fixing its description: readdir_r() was a botch) Patch from Carlos Martín Nieto (cmn (at) dwim.me) no -portable concerns bcook@
2015-04-06Convert some udelay() calls back to DRM_UDELAY() wherejsg6-20/+20
the wrapper is still used in the original linux code.
2015-04-05Work-in-progress support for non-accelerated X11 on *some* sti(4) frame buffers;miod3-62/+445
based upon the old HP ngle X11 driver. Currently limited to CRX (720/735/750), Timber (710, old 715), Artist (712, 715) and EG (B-series), however the colormap isn't set up correctly on Timber and EG yet. Joint work with Artem Falcon, now in good enough shape to be worked further in the tree.
2015-04-05If a partial explicit block extending to the next input line followsschwarze4-9/+46
the end macro of a broken block, put all of it into the breaking block. Needed for example by mutella(1).
2015-04-05Reduce code duplication, no functional change:schwarze1-51/+45
Both partial and full implicit blocks can break explicit blocks. Put the code to handle both cases into a common function.
2015-04-05Upstream has retired the gnuc.h header, so do so as well, killing a gcc 2.xguenther6-47/+6
reference. ok sthen@ jca@ deraadt@
2015-04-05Do not use int for sig_atomic_t; spotted by christos@netbsd; ok markus@miod1-2/+2
2015-04-05Arguments to end macros of broken partial explicit blocksschwarze5-13/+52
must go inside the breaking block. For example, in .It Ic cmd Oo .Ar optional_arg Oc Ar mandatory_arg the mandatory_arg is still inside the .It block. Used for example by mutella(1).
2015-04-05seems unlikely that a new release will be made available for us to importtedu2-68/+1
2015-04-05Document that some sorts uses -b w/o key fields.millert1-1/+12
2015-04-05For the -g flag, treat non-floating point keys as 0, similar to -n.millert1-6/+18
This makes "sort -gu" and "sort -nu" behave similarly and passes our sort regress tests.
2015-04-05syncderaadt18-18/+18
2015-04-05The -b flag should only apply when key fields are specified.millert3-13/+24
If -b follows -k it has no effect.
2015-04-05Do not permute command line arguments but still support themillert2-7/+24
obsolescent "-o outfile" after input files syntax.
2015-04-05Don't use GH_COMMIT and GH_TAGNAME together. From Adam Wolk.sthen1-4/+3
2015-04-05Consistently use #if 0/#endif to handle our lack of DRM_MINOR_CONTROL.kettenis1-8/+9
Change an #ifdef notyet into #ifdef __linux__ as we'll never have sysfs. Remove #ifdef notyet around WARN macro since we have it now.
2015-04-05whitespacekettenis2-4/+4
2015-04-05Cope with the removal of less from install media.rpe1-3/+3
Noted by Adam Wolk, thanks. OK krw@ deraadt@
2015-04-05Another round of reducing diffs with Linux. This one moves the variouskettenis8-150/+175
copy_to_user and copy_from_user functions into drm_linux.h and uses them instead of copyin/copyout and DRM_COPY_*. Also move the timespec functions, and put i915_gem_object_is_purgable() where it belongs. Uncovered a bug where the arguments to copyout() were in the wrong order. ok jsg@
2015-04-04Bump major to 30, regen .pc and headerjturner3-323/+495
2015-04-04Merge conflictsjturner2-241/+517
2015-04-04Merge conflictsjturner5-28/+51
2015-04-04Update sqlite3 to 3.8.8.3. Changes available here:jturner85-1750/+4130
http://sqlite.org/releaselog/3_8_8_3.html Tested in bulk and ok landry@
2015-04-04The swapfile argument is also const char *.jca1-4/+4
Found a while ago when porting cpulimit. ok deraadt@
2015-04-04Give man(7) section and subsection headers heanging indentation.schwarze7-5/+69
Reduces groff-mandoc differences in base by about 2.5% due to various Perl manuals having long section titles. Quirk found in argtable2(3).
2015-04-04fchmod and lstat are standard, widen their visibilityjca1-3/+5
ok millert@ kettenis@; input + "get it in" guenther@
2015-04-04gcc 2.x is deadguenther8-41/+13
ok millert@
2015-04-04Rounding rules for horizontal scaling widths are more complicated.schwarze6-50/+44
There is a first rounding to basic units on the input side. After that, rounding rules differ between requests and macros. Requests round to the nearest possible character position. Macros round to the next character position to the left. Implement that by changing the return value of term_hspan() to basic units and leaving the second scaling and rounding stage to the formatters instead of doing it in the terminal handler. Improves for example argtable2(3).
2015-04-04Show the remote labels in "ldpctl show lib" even if they are not installed in the FIB.renato1-6/+4
ok claudio@
2015-04-04Remove lo protection.renato1-27/+1
There's no need to protect the 127/8 network on ldpd since this network is filtered before being sent to lde. If we receive a label mapping for this network, it won't be installed because lde has no nexthop for it, and thus the code will always fall into the LMp.13 case of the RFC "Receive Label Mapping" algorithm: the mapping will be recorded but not used. ok claudio@
2015-04-04banished the atticderaadt4-652/+0
2015-04-04Show the full LIB in the "ldpctl show lib" command.renato2-27/+27
The LIB is a table where the router keeps all known MPLS labels. So, we should loop over all the received label mappings from all neighbors to show the full LIB. The lde_nbr_is_nexthop() function was introduced to verify if a lib entry is supposed to be installed in the fib (according to the fib entry's nexthop and the addresses advertised by the lib entry's nexthop). This is better than keeping track of lib<->fib entries with pointers and back pointers because it keeps the lib/fib structures independent of each other, which in turn makes the code less prone to bugs. OK claudio@
2015-04-04Remove unused parameter from adj_new().renato3-9/+7
The adjacency holdtime is set in recv_hello(). OK claudio@
2015-04-04Give more detailed information on a couple of debug messages.renato1-3/+6
2015-04-04I contributed substantially to the installer, so add copyright.rpe3-3/+9
prodded by deraadt@
2015-04-04Add support for commit ids to opencvs status.stsp1-1/+12
Patch by joris via tech@; reminded by tedu
2015-04-04Fix modified timestamp in output of opencvs status.stsp3-6/+12
Patch by joris via tech@; reminded by tedu
2015-04-04Don't allow breaking the output line after hyphens following escapeschwarze1-1/+3
sequences. Improves tic(1), sxpm(1), and a few Perl manuals. Quirk found by naddy@ in milter-greylist(8).
2015-04-04Use config_suspend() instead of dereferencing ca_activate directly tompi1-6/+2
support drivers that do not need any specific suspend/resume magic and do not have an activate function. config_suspend() will automagically propagate the event to the children of the driver. Needed at least by kauaiata(4/macppc). ok deraadt@, mlarkin@
2015-04-04Fix a quirk with respect to empty .HP.schwarze3-5/+27
Found while writing a regression test for man_macro.c rev. 1.66. Incidentally, this brings rendering of XFreeEventData(3) closer to groff.
2015-04-04Moar comments !!rpe1-18/+76
Add comment headers to each function, briefly explaining its purpose and arguments. Feedback and OK halex@ krw@
2015-04-04dbus_daemon -> messagebusajacoutot1-4/+4
2015-04-04from snj, netbsd -r1.56: "properly pluralize"jmc1-1/+1
2015-04-03Vastly simplify man(7) block unwinding, similar to mdoc_macro.c 1.171.schwarze1-119/+34
Drop one enum type, two static functions, 70 lines of code. Also fixes the mpeg_encode(1) manual reported broken by naddy@.
2015-04-03comma fix;jmc1-3/+3