summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-04Use config_suspend() instead of dereferencing ca_activate directly toMartin Pieuchot
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.Ingo Schwarze
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 !!Robert Peichaer
Add comment headers to each function, briefly explaining its purpose and arguments. Feedback and OK halex@ krw@
2015-04-04dbus_daemon -> messagebusAntoine Jacoutot
2015-04-04from snj, netbsd -r1.56: "properly pluralize"Jason McIntyre
2015-04-03Vastly simplify man(7) block unwinding, similar to mdoc_macro.c 1.171.Ingo Schwarze
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;Jason McIntyre
2015-04-03correct return value in pubkey parsing, spotted by Ben HawkesDamien Miller
ok markus@
2015-04-03Pull an #include out of an #ifdef.Brian Callahan
XCHAR and XSHORT have always been defined to be int. Just make them int. We don't need to care about making better code for whatever non-VAX machines were being used in 1986. ok florian@
2015-04-03Modify 25H to pass. If the standard is actually unclear on thisTodd C. Miller
it makes more sense to pass than to fail.
2015-04-03Fix unsigned vs signed comparison in for() loop condition causing an infiniteMiod Vallat
loop for WSDISPLAYIO_PUTCMAP ioctl with idx == 0; reported by Artem Falcon. [according to my investigation, none of the other for() loops in the kernel are affected by a similar issue]
2015-04-03Eleminate the last occurrences of backticks and replace constructsRobert Peichaer
like `cat file` or $(cat file) with $(<file) in places, where we can be sure that file exists. OK krw@
2015-04-03It turns out the man(7) parser suffers from unintelligible handlingIngo Schwarze
of block rewinding, just like then mdoc(7) parser did. First step in getting rid of rew_scope(): Replace the only call where the target block is known. This commit is analogous to mdoc_macro.c rev. 1.167. One down, three to go.
2015-04-03Add test for -b after -k (currently fails)Todd C. Miller
Add test for single input file with -c/-C Add test to verify -c/-C with -o doesn't overwrite output file
2015-04-03Add ddb.log example; OK halex@Todd C. Miller
2015-04-03We don't have the precision to distinguish between .99999999999999999999Todd C. Miller
and 1.0.
2015-04-03resync i915_drv.h to make it diffable to linuxJonathan Gray
ok kettenis@
2015-04-03Only one input file is allowed with the -c/-C flags.Todd C. Miller
2015-04-03change types/macros to reduce the diff to linuxJonathan Gray
2015-04-03Translate PAGE_MASK usage for the way it is defined in our kernel.Jonathan Gray
This code is not called.
2015-04-03The combination of -c and -o is not specified by POSIX. In fact, the callTobias Stoeckmann
"sort -o file -c file" has unspecified behavior and would leave an empty file behind if it was sorted, the original file it was not. If -c (or -C) has been specified, only perform that action and ignore -o among other arguments. While at it, clean up check() internals. with input by and ok millert@
2015-04-03x11/gnome/gvfs is actually a better and simpler example.Antoine Jacoutot
2015-04-03If -S has been supplied multiple times, only take last one into account.Tobias Stoeckmann
Without this patch, multiple -S arguments influence each other. spotted by and ok millert@
2015-04-03No need to hardcode /usr/bin/ as the path to more(1); helps portability.Ingo Schwarze
We don't hardcode the paths to gunzip(1) and cmp(1) either. Discussed with ajacoutot@.
2015-04-03Convert to if_input().Martin Pieuchot
Tested by jsg@ with Qemu
2015-04-02Third step towards parser unification:Ingo Schwarze
Replace struct mdoc_meta and struct man_meta by a unified struct roff_meta. Written of the train from London to Exeter on the way to p2k15.
2015-04-02murder excessive whitespaceTheo de Raadt
2015-04-02Second step towards parser unification:Ingo Schwarze
Replace struct mdoc_node and struct man_node by a unified struct roff_node. To be able to use the tok member for both mdoc(7) and man(7) without defining all the macros in roff.h, sacrifice a tiny bit of type safety and make tok an int rather than an enum. Almost mechanical, no functional change. Written on the Eurostar from Bruxelles to London on the way to p2k15.
2015-04-02Prevent integer overflow when parsing -S argument as percentage.Tobias Stoeckmann
Also make sure that the parsed memory amount, stored in a long long, won't be larger than SIZE_MAX to properly support 32 bit systems. with input by and ok millert@
2015-04-02Global variable free_memory is only used in sort.c's set_hw_params,Tobias Stoeckmann
so turn it into a local one. ok millert@
2015-04-02First step towards parser unification:Ingo Schwarze
Replace enum mdoc_type and enum man_type by a unified enum roff_type. Almost mechanical, no functional change. Written on the ICE train from Frankfurt to Bruxelles on the way to p2k15.
2015-04-02Fixed whitespace issues.Tobias Stoeckmann
ok millert@
2015-04-02Zap some more NULL checks in front of free.Tobias Stoeckmann
ok millert@
2015-04-02No need to strdup environment variable or command line arguments here.Tobias Stoeckmann
ok millert@
2015-04-02Add signal name instead of array index (which is not the signal number)Tobias Stoeckmann
to sigaction error message. with input by and ok millert@
2015-04-02more is less than moreTheo de Raadt
2015-04-02Don't need to include stdint.hTodd C. Miller
2015-04-02devel/dconf is going to loose its cyclic dependency soon, so change theAntoine Jacoutot
example to use avahi.
2015-04-02Don't printf("offset: ...) before every call to MBR_print(). Do itKenneth R Westerback
once inside MBR_print().
2015-04-02more -> less; not less -> moreTheo de Raadt
2015-04-02overriden -> overridden;Jason McIntyre
2015-04-02use correct capitalization of 'BlackBerry'Jasper Lievisse Adriaanse
"sure" deraadt@
2015-04-02document MODPY_PIJasper Lievisse Adriaanse
2015-04-02Handle the case where multiple calls to SSL_shutdown() are required toJoel Sing
close the connection. Also correctly handle the error on failure. Diff from cookieandscream via github.
2015-04-02No need for the umask() dance now that temp files are createdTodd C. Miller
with mkstemp(). Also remove useless else after a return.
2015-04-02Don't install signal handlers for SIGQUIT, SIGVTALRM, SIGPROF.Todd C. Miller
2015-04-02When using mmap() we don't need to keep the open fd around, closingTodd C. Miller
the fd does not unmap the region.
2015-04-02closefile() already checks for stdin so no need to check in the caller.Todd C. Miller
2015-04-02Change gcc and ld semantics to make static PIE the default when invokingPascal Stumpf
'cc -static'. To explicitly request the legacy behaviour, use -nopie. For the few port affected by this, bumps will follow shortly. looks good to kettenis@, ok kurt@
2015-04-02Merge openpic_init() into openpic_attach(), no functional change.Martin Pieuchot