summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2016-01-04Use err(3) instead of various handrolled combinations of perror(3) andtb
fprintf(stderr, ...) with strerror(3) and exit(3). Make sure the exit status is 2 if an error occurred. Prompted by gsoares@'s and jsg@'s audit of exit statuses after failure of pledge(2). ok gsoares@
2016-01-04Use the correct values for TLS certificate / private key flags.Brent Cook
fix from Andreas Bartelt <obsd at bartula.de>
2016-01-03Allow macro execution to continue without delay in the event of aMark Lumsden
visble bell call.
2016-01-03Fix description of fuser -u: what's usually reported in brackets is thetb
username, as determined by the real user id, not the real user id itself. ok jmc@
2016-01-03Add missing pledge "getpw". If -s or -o were specified on the commandtb
line and the `remote file name' is subject to `tilde expansion', a call to getpwnam(3) happens. ok semarie@
2016-01-02make sure debug will be initialized, choose "unknown" (because pfctlSebastian Benoit
loglevel_to_string() uses "unknown" as well) ok kettenis@ florian@
2016-01-02garbage collect unused variable tmSebastian Benoit
ok kettenis@ florian@
2016-01-02remove unused variable cur. code probably c&p from print_bar_title().Sebastian Benoit
remove useless decleration of variable change. ok kettenis@ florian@
2016-01-02clock-mode needs CMD_PANE.Nicholas Marriott
2016-01-02garbage collect unsused variableSebastian Benoit
found by evh -AT- riseup -DOT- net, ok florian@
2016-01-02Sync magdir/animation with file 5.25, amongst other updates this fixes anStuart Henderson
incorrect detection of mp3 sample frequency/audio channels with non-mp3 files tracked down by Brandon Vincent. ok nicm@
2016-01-02fixes fuser(1) when invoking with -u: it requires "getpw" promise.Sebastien Marie
problem reported by Michael Reed m.reed at mykolab dot com. ok tb@ and benno@ (which as provided near the same diff, but 5min later :p)
2016-01-02Add dired-find-alternate-file.Mark Lumsden
2016-01-02update currency exchange rates;Jason McIntyre
2016-01-02tweak previous;Jason McIntyre
2016-01-01Improve error message for sed -i by appending strerror(errno).tb
From Michael Reed, thanks! ok deraadt@
2016-01-01The "-P" option does not need to read routing table symbols so do notMartin Pieuchot
check for them. ok benno@, bluhm@
2016-01-01doas.conf lives in /etc. from Amit KulkarniTed Unangst
2016-01-01Don't rely on a calculation wrapping when applying message-limit, andNicholas Marriott
break out of the loop early. From Nicolas Viennot.
2015-12-31Declare yyparse() so the generated code is safe withPhilip Guenther
-Werror-implicit-function-declaration ok millert@
2015-12-31Remove an extra unzoom call which was probably a merge error.Nicholas Marriott
2015-12-31Use saved pipe buffer offset when writing to pipe, from Nicolas Viennot.Nicholas Marriott
2015-12-31Remove use of sysexits.h; OK espie@Todd C. Miller
2015-12-31Remove use of sysexits.h.Todd C. Miller
2015-12-31Remove use of sysexits.h.Todd C. Miller
2015-12-31Remove use of sysexits.h.Todd C. Miller
2015-12-31No need for sysexits.h here.Todd C. Miller
2015-12-31add mg to SEE ALSO. ok jmc@Mark Lumsden
2015-12-31Return FALSE on parse errors.Sunil Nimmagadda
Found by and Ok lum@.
2015-12-31fix three bugs in KRL code related to (unused) signature support:Damien Miller
verification length was being incorrectly calculated, multiple signatures were being incorrectly processed and a NULL dereference that occurred when signatures were verified. Reported by Carl Jackson
2015-12-30unused prototypeDamien Miller
2015-12-30Small tidy of recently committed transpose-words: unused valueMark Lumsden
assignment and I missed an ABORT case.
2015-12-30Declare usage() as __dead, and while here align a few variables to the rest ofmestre
the list and also ANSI one function. No functional change. OK tb@
2015-12-30Back out of 1.36 and 1.37, which made simplifications to allocationmmcc
logic based on C89. It broke a few C++ ports. Prompted by kettenis@
2015-12-30Widen the dired command list. ok jmc@Mark Lumsden
2015-12-30put back casts for realloc because c++ needs them. reported by naddyTed Unangst
2015-12-29Add transpose-words, ok jasper@.Mark Lumsden
Limited to one iteration until 'undo' is looked into.
2015-12-29fix exit status on pledge(2) failure.Gleydson Soares
from jsg@
2015-12-29fix exit status on pledge(2) failure.Gleydson Soares
OK tb@ jsg@
2015-12-28Use err() instead of custom perr() function. Also applied by nvi2Todd C. Miller
upstream. From Martijn van Duren.
2015-12-28realloc and free's behavior when passed NULL is defined by C89, so wemmcc
can safely assume it. ok millert@. Also discussed with deraadt@, sthen@, and espie@.
2015-12-28include time.h over sys/time.h for ctime(3)Brent Cook
ok beck@
2015-12-28Couple of trivial style nits.Nicholas Marriott
2015-12-27Put macro arg in parentheses.mmcc
ok nicm@
2015-12-26Use pread/pwrite instead separate lseek+read/write for lastlog.Philip Guenther
Cast to off_t before multiplication to avoid truncation on ILP32 ok kettenis@ mmcc@
2015-12-26adjust pledge promises for ControlMaster: when using "ask" or "autoask", the ↵Sebastien Marie
process will use ssh-askpass for asking confirmation. problem found by halex@ ok halex@
2015-12-25follwing -> followingAnthony J. Bentley
2015-12-25Generate simpler in-page links: just replace spaces with underscores.Anthony J. Bentley
So http://example.com/OpenBSD-current/man1/ls.1#x546865204c6f6e6720466f726d6174 becomes http://example.com/OpenBSD-current/man1/ls.1#The_Long_Format ok schwarze@
2015-12-25Don't retain the search query in the resulting manual links.Anthony J. Bentley
Clean, simple URLs are best. ok schwarze@
2015-12-25Don't set (unused) IPV6_V6ONLY option.Alexandre Ratchov
suggested by deraadt