summaryrefslogtreecommitdiff
path: root/usr.bin/cdio
AgeCommit message (Collapse)Author
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.
2007-05-28the device fd is global. no need to pass it between functions.Michael Coulter
2007-05-27more stuff needed to make sparc64 work. what else is still busted?Theo de Raadt
2007-05-26work around stupid trust of the namespace; millert please look at the ↵Theo de Raadt
problem on macppc
2007-05-26cdrip and cdplay commands from Alexey VatchenkoMichael Coulter
incorporating some manpage suggestions from jmc@
2007-05-01use strtonum; ok millert@Jason Dixon
2007-03-26fix wording for `replay'; from AndrAcsJason McIntyre
2007-03-18/dev/rcd0d -> /dev/rcd0c; from AndrAcsJason McIntyre
2006-10-12document environment var CDROM; from ross l richardson (pr #5258)Jason McIntyre
i used a different fix, and merged the CDROM stuff into DISC. whilst in there, document the default if neither is given. ok mjc
2006-08-28fix up disc size check.Michael Coulter
ok krw@ deraadt@
2006-08-26/* $OpenBSD $*/ -> /* $OpenBSD$ */Kenneth R Westerback
2006-08-26print updates on the same line, per second, as we go along writing, inTheo de Raadt
the following form: track 01 'd' 00328891/00328891 100% checked lots, but nobody replied to my mail...
2006-08-25spacingTheo de Raadt
2006-08-24spacingTheo de Raadt
2006-06-27add message on session closeMichael Coulter
2006-06-27improve output during cd writing; ok mjcTheo de Raadt
2006-06-22- tweak the -f descriptionJason McIntyre
- move DISC into an ENVIRONMENT section - make the tao option list -compact - uppercase `cddb'
2006-06-21retry if sense code indicates not ready. fixes writing for drivesMichael Coulter
that issue long write in progress if the write buffer is full. ok deraadt@
2006-06-16lint cleanupTheo de Raadt
2006-06-15put fd into track's struct so we can fail earlierMichael Coulter
'looks good' pat@
2006-06-10update .Nd, SYNOPSIS, and DESCRIPTION, after alexey e. suslikov pointedJason McIntyre
out that it was a bit dated; ok mjc
2006-06-06minor cleanupTheo de Raadt
2006-06-06zap another magic numberMichael Coulter
spotted by deraadt@
2006-06-06make use of new structs and defines in cd.hMichael Coulter
dispells some magic numbers
2006-06-01tidy up the "tao" section;Jason McIntyre
diff from deraadt or mjc, i'm not sure; tweaks by me ok deraadt
2006-06-01minor tweaksTheo de Raadt
2006-06-01add checks for disc size before we set out trying to burn 4gbMichael Coulter
onto an unsuspecting cdr
2006-06-01better command line usage as suggested by deraadt@Michael Coulter
ok @deraadt
2006-05-31bogus value in cdb. excess cut n' paste.Michael Coulter
2006-05-31better description for the volume commands; ok mjcJason McIntyre
2006-05-31tweaks;Jason McIntyre
2006-05-31add license blockMichael Coulter
spotted by Dries Schellekens
2006-05-31when blanking, if fd is already open read-only, re-open read/writeMichael Coulter
2006-05-31add rewritable blanking and track-at-once burning supportMichael Coulter
ok deraadt@
2006-01-23Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELENTodd C. Miller
2006-01-23Make man page reflect current reality of play command. jmc@ cleanedKenneth R Westerback
up version of my original diff. ok jmc@
2006-01-20Clean up command line parsing, don't accept trailing garbage, add inKenneth R Westerback
missing command line forms, zero variables that will not be filled in by a particular sscanf() call. Make 'play tr1 m1:s1 m2:s2' play from the point in time 'tr1 m1:s1' to the point in time 'm2:s2', instead of from 'tr1 m1:s1' for a period of m2:s2. Documenting this command is next. Closes last issues Juha Erkilla pointed out in PR #4957. Tested by Juha.
2006-01-17Fix malloc calculation to avoid memory bounds error. deraadt@ okAaron Campbell
2006-01-11Whitespace nits.Kenneth R Westerback
2006-01-10Fix issues with relative times, especially track # vs TOC indexKenneth R Westerback
confusion, noted by Juha Erkkila in PR #4957. Make code a lot clearer. Error out on out of range track numbers. Tested by Juha.
2006-01-09Add cmpmsf(). Use it to eliminate repeated code. No functional change.Kenneth R Westerback
2006-01-09Bring in toc2msf() from NetBSD's cdplay. Use it to eliminate repeatedKenneth R Westerback
code. No functional change.