summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2008-08-25minor tweak for removal of "[-d devel]" (change done in r1.19 and r1.21).Igor Sobrado
ok ratchov@
2008-08-22default file transfer type is binary, not ascii;Igor Sobrado
commands which toggle settings can take an explicit on or off argument to force the setting appropiately, show these arguments in usage; synchronize synopsis and usage of commands; spacing; KNF; other minor documentation tweaks. written with help by jmc@ ok jmc@ (documentation), martynas@ (type usage and default file transfer type)
2008-08-22kill trailing whitespace;Jason McIntyre
2008-08-21Add an optional separator to stringize() and use it from do_list() toSimon Bertrang
match the GNU pkg-config --list-all output. ok ckuethe@
2008-08-21Document new gnu extensions, okay jmc@, otto@Marc Espie
2008-08-21in gnu-m4 mode, allow definition of the empty macro (yes, autoconf 2.62Marc Espie
actually uses this, bleh) okay otto@
2008-08-21extend format support to cater to recent GNU autoconfMarc Espie
okay otto@, some useful ideas from miod@
2008-08-21gnu extension: 0rN:az for baseN numbers.Marc Espie
okay otto@
2008-08-21use unsigned char for buffers, allow differentiating between EOF and y".Marc Espie
okay otto@
2008-08-21Add missing dependency for external.h, from Don Hiatt.Anders Magnusson
2008-08-21From master repo: Accept // inside #if directives.Anders Magnusson
2008-08-21allow ForceCommand internal-sftp with arguments. based on patch fromDamien Miller
michael.barabanov AT gmail.com; ok markus@
2008-08-20The code to detect multiple applied diffs to empty files I introduced 4Otto Moerbeek
years ago is not correct if the diff has an empty context for other reasons, so revert that change. Problem found by Joerg Sonnenberger; ok tedu@ millert@
2008-08-20abuf_flush() must be called only from the ``xxx_in()'' routines (ieAlexandre Ratchov
triggered by POLLIN condition). mix_pushzero() is not called from the ``xxx_in()'' chain, but calls abuf_flush() resulting in bad initialization of the mixer, which will lead to a deadlock at some point. ok jakemsr
2008-08-20remove a few unused files that where probably added by mistake;Thordur I. Bjornsson
spotted in a commit too FreeBSD; ok todd@, oga@, krw@
2008-08-20Use and report errors that inflate(3) can return, instead ofMarco Pfatschbacher
aborting silently, and pretending everything went alright. This lets gzip(1) (especially gzip -t) detect truncated archives and curruptions that violate the structure of the zlib format. Unquiet compress(1) in zless/zmore, so the user has a chance to see errors on corrupted archives. OK millert@, markus@
2008-08-18Updates from master repo: Fix two bugs reported by Art Grabowski.Anders Magnusson
2008-08-17Updates from master repo. Can now compile both userland and kernel.Anders Magnusson
(with some patches...)
2008-08-16fixMarc Espie
2008-08-16revert eval.cMarc Espie
2008-08-16not yet, committed too muchMarc Espie
2008-08-16argument parsing should only skip spaces outside of parenthesis.Marc Espie
Inside matching parenthesis, keep spaces as is (use chrsave instead of pbstr, since there's no way it can be a further macro expansion). Fixes a long-standing issue with autoconf ( --option -> --option), matches other m4 than gnum4 okay millert@, fries@
2008-08-16be more liberal in include handling, namely we only error out if it'sMarc Espie
the end of the last included file AND we still have a macro to expand. autoconf uses this in wine, and it turns out other m4 also do things that way (not only gnu m4). okay fries@, millert@
2008-08-14only update stats when we actually wrote sth, relevant for -n, ok djmHenning Brauer
From: Pierre Riteau <pierre.riteau@gmail.com>
2008-08-14fix comments suggested by eric@, remove stupid DPRINTF()Alexandre Ratchov
2008-08-14in abuf_rgetblk() the ``start'' pointer may take a value beyond theAlexandre Ratchov
end of the buffer because periodic boundary conditions of the FIFO are not met ok jakemsr
2008-08-14move all device related stuff from aucat.c to a new dev.c file.Alexandre Ratchov
The new dev_xxx() routines expose a "high level" self-contained interface to the device. At initialization, the device is opened and two chains of aproc structures are created: * a playback chain that exposes a (initially) empty mix aproc to which the rest of the code can attach new streams to be played * record chain that exposes a (initially) empty sub aproc to which the rest of the code can attach new stream to to record The rest of the code, has just to use dev_attach() routine to attach streams. While we're at it, add a ``devops'' structure containing pointers to the device-specific routines. This will allow later to add support for other type of device than the Sun API. Also, write the .wav headers in file_del(), so put all header related data in the file strucuture. This allows to close() the file, as soon as wpipe_xxx() aproc terminates. This will be useful for the server, because it will need to close() descripts of closed connections immediately. add mix_pushzero() routine to fill the mixer with silence. It will be used to avoid the mixer to underrun when there are no input streams. Since we always have at least one input stream there's no behaviour change. ok jakemsr
2008-08-14in file.c, before dereferencing pointers to in(), out(), eof(),Alexandre Ratchov
hup() routines of the aproc strucure check that the aproc structure has not desappeared. This never happens currently, but will be allowed later. No behaviour change. ok jakemsr
2008-08-14add an "AUTOQUIT" flag to mix and sub aprocs. If the flag isAlexandre Ratchov
set, the mix aproc will exit once there are no more input streams, similarly the sub aproc will exit once there are no more ouput streams. If the flag is not set, the mix aproc will generate silence, and the sub aproc will drop samples. By default this flag is set, so no behaviour change. ok jakemsr
2008-08-14add a bytes counter to abuf structures to count the number ofAlexandre Ratchov
bytes that entered the FIFO. The counter may overflow, so it should be used with "modulo 2^32" arithmetic. The counter will be used later to synchronize playback to record. No behaviour change. ok jakemsr
2008-08-14add a xxx_done() method to aproc structures, that cleans up justAlexandre Ratchov
before free()ing the aproc structure, this is cleaner and will allow to reuse wpipe_xxx() and rpipe_xxx() when defining new aprocs. No behaviour change. ok jakemsr
2008-08-14move mix/sub underrun/overrun handling code and data in theAlexandre Ratchov
generic abuf structure, so it can reused. Required for an audio server. No behaviour change. ok jakemsr
2008-08-14factor code that discards data from abuf strucure into a singleAlexandre Ratchov
abuf_rdiscard() routine. Similarly add abuf_wcommit() routine for writing. The purpose is to stop manupulating FIFO pointers in various places outiside abuf.c, its too error prone. No behaviour change. ok jakemsr
2008-08-13Old drives (reported Giovanni Bechis <bigionews@snb.it>) don't report CD-RWav
write feature. Add additional check for media type before blanking. The patch fixes problem for Giovanni. ok fgsch
2008-08-13-S currently does nothing useful, so remove it fromJason McIntyre
SYNOPSIS and usage(); after some discussion with canacar
2008-08-11some consistency fixes and whitespace at eol removal;Jason McIntyre
2008-08-10typo.Igor Sobrado
2008-08-08documentation tweaks.Igor Sobrado
ok jmc@, matthieu@
2008-08-08Small step towards fixing documentation:Matthieu Herrb
- sync usage() with reality. Remove the -h option that does nothing. - don't complain about kvm_openfiles() error in case of incorrect usage. - add basic descriptions of the new options and views in the manual page. More is needed... with help from jmc@ and sobrado@. ok sobrado@.
2008-08-08add a description for the options of fgen;Igor Sobrado
remove superfluous comments from the roff source code. improvements by jmc@ and matthieu@. ok jmc@, matthieu@
2008-08-08o use definitions from cd.hFederico G. Schwindt
o remove unused function prototype
2008-08-07spacing.Igor Sobrado
2008-08-05fix description of the mail(1) "p" command; from Aaron W. Hsu.Igor Sobrado
ok martynas@
2008-08-04right spelling for Guinea-Bissau and Songkran;Igor Sobrado
from comet-berkeley <comet@transbay.net> on FreeBSD PR conf/126199, and Frantisek Holop. fixes PR #5794. ok jmc@
2008-08-03make U (abbreviation of unread) work as man page saysMartynas Venckus
ok millert@, jmc@. sure theo
2008-08-02whitepsace -> whitespace. From Matthew Clarke via bugs@.Kenneth R Westerback
2008-08-01Document the MAKEFILE variable as unreliable.Alexander Bluhm
ok jmc espie
2008-07-31Update to sudo 1.6.9p17Todd C. Miller
2008-07-31don't allocate space for empty banners; report t8m at centrum.cz; ok deraadtMarkus Friedl
2008-07-31Do not allow negative or zero delay values from the command line,Can Erkin Acar
use the same check as the -s option. Noticed by johan@