summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2009-06-29sync with sudo 1.7.2Todd C. Miller
2009-06-29Fix the range of a #ifndef SMALL ... #endif not to include the "break;"Alexander Hall
needed not to make a status of 200 (OK) fall through to the redirect handling. This was not noticed since the later code would ignore the isredirect flag unless it also received a "Location: " header. ok martynas@
2009-06-29Don't try to page up with scroll-mode -u or copy-mode -u unless the mode wasNicholas Marriott
successfully changed - if already in a different mode, it would corrupt the mode data.
2009-06-27release storage after asprintf. ok sthen@Martynas Venckus
2009-06-27Use gmtime_r so the current time isn't overwritten, the minute comparison worksNicholas Marriott
and the clock is actually updated. It was already used for lock-server but not here.
2009-06-27Now in sync with 1.7.20, except that a few patches looking incorrectIngo Schwarze
have not been merged but instead reported upstream, and a few additional patches approved upstream have already been merged.
2009-06-27sync to 1.7.20: minimum offset for .Bl -enum is 5 spaces, not 4Ingo Schwarze
2009-06-27Copy the 256-colour flag into the tty saved cell as well as the actual colour,Nicholas Marriott
otherwise colour 8 isn't reset properly.
2009-06-27sync to 1.7.20: (1) -width Ds is 6 spaces, not 8, see the manual.Ingo Schwarze
(2) When determining the offset, add two more spaces to the width. For -width Ds, these two bugs cancelled each other, but for -width [01-9]+n, they did not, leaving the offset to narrow. (3) When determining the width using strlen, we need to add two spaces instead of one, just like in the case (2).
2009-06-27sync to 1.7.20: .Bd -indent uses 6-space, not 5-space indentIngo Schwarze
2009-06-27sync to 1.7.20: .Bl -diag get two spaces after the tagIngo Schwarze
2009-06-27sync to 1.7.20: handle [01-9]+m -width specifiersIngo Schwarze
2009-06-27Mark MPLS routes with T (tagged) in route output.Michele Marchetto
suggested by dlg@, ok claudio@, laurent@, blambert@
2009-06-27sync to 1.7.20: .D1 and .Dl use 6-space, not 5-space indent;Ingo Schwarze
while here, a lint fix n lb_pre
2009-06-27Add client option UseRoaming. It doesn't do anything yet but willAndreas Gunnarsson
control whether the client tries to use roaming if enabled on the server. From Martin Forssen. ok markus@
2009-06-27It may be necessary to retransmit some data when resuming, so add itAndreas Gunnarsson
to a buffer when roaming is enabled. Most of this code was written by Martin Forssen, maf at appgate dot com. ok markus@
2009-06-27packet_bacup_state() and packet_restore_state() will be used toAndreas Gunnarsson
temporarily save the current state ren resuming a suspended connection. ok markus@
2009-06-26Add missing spaces before some alias closing brackets, otherwise they areNicholas Marriott
shown in the wrong style.
2009-06-26add jackson's death. ok\with sthen@Martynas Venckus
2009-06-26the forms \*x, \*(xx and \*[xxx] are not deprecated, so revert most of 1.8;Ingo Schwarze
noticed by jmc@; ok kristaps@; to be included in 1.7.21
2009-06-26After logging (if enabled) is switched to file, there is no reason to keepNicholas Marriott
stdin/stdout/stderr active, so dup them to /dev/null.
2009-06-26undefine() leaves the hash entry for the macro (for use by builtin()) andPhilip Guenthe
only deletes the definition; macro_for_all needs to skip those to keep dumpdef() from segving ok and regress test by espie (thanks!)
2009-06-26Sync with sudo repoTodd C. Miller
2009-06-26Remove some unused function declarations; no binary change.Nicholas Marriott
2009-06-26explicitly print an empty value between two end_line() calls to preventCan Erkin Acar
garbage from being printed at certain window sizes. Noticed by deraadt@
2009-06-26Status line fixes: don't truncate status-right now the length calculation isNicholas Marriott
done for UTF-8, limit to the maximum length correctly when printing, and always print a space even if the left string is longer than the width available.
2009-06-26Also #ifndef nitems here, caught by Thomas Jeunet.Nicholas Marriott
2009-06-26- include two missing headers in if.cJasper Lievisse Adriaanse
- add missing parenthesis in nfs.c ok canacar@
2009-06-25do not use nitems(); ok claudioTheo de Raadt
2009-06-25Remove some dead assignments, found by sthen with clang.Nicholas Marriott
2009-06-25#ifndef nitems to avoid redefining it if it is already in a header.Nicholas Marriott
2009-06-25the rule is not to use nitems() in userland yetTheo de Raadt
2009-06-25sync the SENSOR_DRIVE_* names with sysctl(8)'sOkan Demirmen
ok canacar@
2009-06-25use the nitems() macro where appropriateOkan Demirmen
ok canacar@
2009-06-25Check RTM_VERSION even on sysctl data.Claudio Jeker
Tested and OK sthen@, OK henning@
2009-06-25incorrect .PATH setting, discovered with nicmTheo de Raadt
2009-06-25Use the pane flags not the window flags. Doh.Nicholas Marriott
2009-06-25diagflags for diagsMarc Espie
okay nicm@
2009-06-25If getcwd() fails, use the user's home directory, or /, instead of failing withNicholas Marriott
an error.
2009-06-25lines variable can be -1 (to be ignored), so should be signed. Found by lint.Nicholas Marriott
2009-06-25Remove error about using -L and -S together which was never displayed asNicholas Marriott
logging wasn't yet enabled, was unnecessary, and contradicted the man page which says using -S will cause -L to be ignored.
2009-06-25tmux doesn't and won't need syslog logging, so remove it and some other unusedNicholas Marriott
functions found by lint. Also move a couple of internal function declarations into file scope.
2009-06-25Miscellaneous unused functions, including one which was basically aNicholas Marriott
duplicate. Found by lint.
2009-06-25Nuke unused buffer functions. Found by lint.Nicholas Marriott
Also remove some old debug output which was #if 0.
2009-06-25Unused prototypes. Found by lint, no binary change.Nicholas Marriott
2009-06-25Unused variables. Found by lint, no binary change.Nicholas Marriott
2009-06-24Remove some cruft from the Makefile.Nicholas Marriott
2009-06-24Now that a UTF-8-capable puts function exists, use it for printing strings inNicholas Marriott
choice/more modes - lines with UTF-8 now display properly in find-window results.
2009-06-24Fix a type mismatch warning in assignment.Nicholas Marriott
2009-06-24Change find-window and monitor-content to use fnmatch(3). For convenience andNicholas Marriott
compatibility, *s are implicitly added at the start and end of the pattern. Also display the line number and the entire line in the results, and lose the nasty section_string function and the now empty util.c file. Initially from Tiago Cunha.