summaryrefslogtreecommitdiff
path: root/usr.bin/cdio
AgeCommit message (Collapse)Author
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.Doug Hogan
CIRCLEQ_* is deprecated and not called in the tree. The other queue types have *_END macros which were added for symmetry with CIRCLEQ_END. They are defined as NULL. There's no reason to keep the other *_END macro calls. ok millert@
2014-09-08obvious cases of missing .An;Ingo Schwarze
found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes
2014-01-06fgetln may return incomplete lines (Tobias Stoeckmann <tobias@stoeckmann.org>)Marc Espie
simple solution: error out. This is not a correct cddb answer anyways.
2014-01-04Properly validate index value received from CDDB server.Tobias Stoeckmann
ok deraadt@, millert@
2013-11-20unsigned char casts where neccessaryTheo de Raadt
ok ratchov
2013-11-12bring prototypes into scopeTheo de Raadt
2013-03-07fix atrocious code, do socket -> FILE* conversion correctly, with properMarc Espie
error handling. okay millert@, otto@
2011-07-09Document default write speed of tao subcommand.Stefan Sperling
2011-06-26no mcdTed Unangst
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
for chars.
2010-09-19more wacky macro fixing;Jason McIntyre
2010-07-26- fix a spacing issue in SYNOPSISJason McIntyre
- occurence -> occurrence
2010-03-01Add printing of current profile and feature information to 'info'Kenneth R Westerback
command with -v. Make a second -v cause printing of raw feature data and a full list of profiles. A few minor tweaks to the feature bitmap handling. Helps in debugging media problems in cdio. Suggestions from fgsch@, man page fixes from jmc@ as usual. ok beck@ deraadt@
2009-12-04Do not write 16bit values directly to odd addresses - strict alignmentClaudio Jeker
architectures don't like that. Makes cd blanking on sparc64 possible. OK deraadt@, krw@, jasper@
2009-06-09try to get "play" right; help/ok naddyJason McIntyre
2009-06-03Synchronize man page and help output.Christian Weisgerber
From a least of details by sobrado@; input by jmc@ who still isn't happy.
2009-04-10Explain the AUDIODEVICE env. variable similarly to how sio_open(3) does.Alexandre Ratchov
discussed with jmc@
2009-04-10don't use the AUDIODEVICE env. variable because sio_open(3) alreadyAlexandre Ratchov
does it. From Anathae Townsend <atownsend(at)nucleus.com>, thanks!
2009-02-07Restore the original help output: capitalize the characters thatChristian Weisgerber
are required to uniquely identify a command. Three characters are required for the cdplay and cdrip commands. ok krw@
2008-12-28set the buffer size using the ``appbufsz'' parameter ofAlexandre Ratchov
sio_setpar(3). Allows cdio to be used with aucat(1) whatever the buffer size used by aucat is. ok jakemsr
2008-12-11don't try to sio_close a NULL sio_hdl. stops cdio from segfaultingJacob Meuser
when /dev/audio is busy or AUDIODEVICE is not set correctly. commit it! ratchov@
2008-11-29sndio for cdio (only for the "cdplay" command)Jacob Meuser
with a hint from ratchov@ ok av@
2008-10-29no need to warn about using the default device; Thomas PfaffTheo de Raadt
2008-08-30use a bitmap to store the features. simplify the code a bit and allow forFederico G. Schwindt
future work. ok av@ a similar diff.
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-08o use definitions from cd.hFederico G. Schwindt
o remove unused function prototype
2008-07-23we really need unsigned in arithmetic operations.av
comments by fgsch
2008-06-30set speed for writing tracks in TAO.av
ok and tweaks by fgsch manual page by jmc
2008-06-24clarify tao's -a option; ok av fgschJason McIntyre
2008-06-23new sentence, new line;Jason McIntyre
2008-06-22Automatically distinguish between CD-DA track and WAVE audio file writing themav
in TAO mode. For WAVE files we should skip header. ok and comments by fgsch
2008-06-11move tao code from main() into its own function before adding features.av
requested and ok fgsch
2008-06-08check whether media supports TAO or blanking.av
It makes error output nicer, e.g.: "The media can't be written in TAO mode" instead of "cdio: Only 0 of the required _N_ blocks available" ok fgsch
2008-06-08add ability to determine media capabilities (what we can do with media).av
ok fgsch
2008-06-06Make open_cd() remember open mode. "blank" doesn't have to check for EPERMav
anymore. idea by jakemsr ok jakemsr ratchov fgsch (with tweaks)
2008-05-30cdio's blank command blanked CD twise. Fixed.av
ok jakemsr krw millert ratchov
2008-05-07correct duration by taking the pre-gap into account; ok by many.Federico G. Schwindt
2008-04-30add two missing prototypes.Federico G. Schwindt
2008-04-27o if no argument is passed to cddbinfo, treat it as 0 in order to printFederico G. Schwindt
the list in case of multiple/inexact matches o if the argument to cddb is invalid, do not exit, just print and error and ignore the command espie@ ok.
2007-11-12make TOC greppable;Jason McIntyre
2007-09-10Make sure we don't skip the code which sends the QUIT command to the CDDBChad Loder
server and validates the returned track names. Unreachable code spotted by lint. OK krw@, deraadt@, espie@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-02exit when /dev/audio can't be opened.Jacob Meuser
from Alexey Vatchenko <av@bsdua.org> ok theo
2007-07-31make rip code work like mmc code for how it does progress reports (useTheo de Raadt
a timer, so that stderr does not get splattered); tested by xsa and others
2007-07-22lexicographically sorts the list of commandsIgor Sobrado
ok jmc@
2007-07-20- document the "play" default a little more clearlyJason McIntyre
- document the difference between "play" and "cdplay" more clearly ok mjc
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29fix some list items; from andresJason McIntyre
2007-05-29reorder code so that the wave header gets the size of the current trackMichael Coulter
instead of the previous track. Alexey Vatchenko agrees.