summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
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@
2008-07-30Replace GNU tutorial with public domain one, written from scratch byKjell Wooding
Mayukh Bose. Minor additions from me. Thanks!
2008-07-29an enum specifier is more elegant than a set of #defines;Igor Sobrado
storing the program mode variable (pmode) as a global let us have a more consistent prototype for usage(). changes suggested by pyr@. ok millert@, pyr@
2008-07-27an enum specifier is more elegant than a set of #defines;Igor Sobrado
storing the program mode variable (pmode) as a global let us have a more consistent prototype for usage(). changes suggested by pyr@. ok pyr@
2008-07-26add -b to SYNOPSIS and usage();Jason McIntyre
2008-07-26Add -b switch for matching on the last part of the path only.Pierre-Yves Ritschard
ok landry@, otto liked the idea and the original diff, ``do it'' deraadt@
2008-07-25In random art visualization, make sure to use the end marker only at theAlexander von Gernler
end. Initial diff by Dirk Loss, tweaks and ok djm@
2008-07-25Add VisualHostKey to example file, ok djm@Alexander von Gernler
2008-07-25repair .Pq use; Alan R. S. BuenoTheo de Raadt
2008-07-24Add "ssh-keygen -F -l" to synopsis (displays fingerprint fromStuart Henderson
known_hosts). ok djm@
2008-07-23we really need unsigned in arithmetic operations.av
comments by fgsch
2008-07-23do not try to print options that have been compile-time disabledDamien Miller
in config test mode (sshd -T); report from nix-corp AT esperi.org.uk ok dtucker@
2008-07-22change the bcachestats structures members to int64_t's and do theThordur I. Bjornsson
printing in systat with the new print_fld_ssize() function. "same diff I wrote" deraadt@ ok art@
2008-07-22Add signed size printing functions, as requested by deraadt@.Can Erkin Acar
Just use print_fld_ssize() for signed values. Increase scale up to "Tera" while there.
2008-07-21openssh-5.1Damien Miller
2008-07-18no need for .Pp before or after .Sh;Jason McIntyre
2008-07-17strip trailing '.' from hostname when HostbasedUsesNameFromPacketOnly=yesDamien Miller
report and patch from res AT qoxp.net (bz#1200); ok markus@