Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change a strange "} if" into the intended "} else if". No practial | 2019-04-01 | 1 | -2/+2 | |
| | | | | difference in this instance. ok krw@ | ||||
* | Use <fcntl.h> instead of <sys/file.h> for open() and friends. | 2018-04-26 | 1 | -2/+2 | |
| | | | | | | | Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@ | ||||
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 2015-01-16 | 1 | -3/+4 | |
| | | | | | | | | | 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) | ||||
* | unsigned char casts where neccessary | 2013-11-20 | 1 | -10/+11 | |
| | | | | ok ratchov | ||||
* | Add printing of current profile and feature information to 'info' | 2010-03-01 | 1 | -4/+7 | |
| | | | | | | | | | | 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@ | ||||
* | try to get "play" right; help/ok naddy | 2009-06-09 | 1 | -3/+3 | |
| | |||||
* | Synchronize man page and help output. | 2009-06-03 | 1 | -11/+12 | |
| | | | | From a least of details by sobrado@; input by jmc@ who still isn't happy. | ||||
* | Restore the original help output: capitalize the characters that | 2009-02-07 | 1 | -5/+5 | |
| | | | | | | are required to uniquely identify a command. Three characters are required for the cdplay and cdrip commands. ok krw@ | ||||
* | no need to warn about using the default device; Thomas Pfaff | 2008-10-29 | 1 | -3/+5 | |
| | |||||
* | use a bitmap to store the features. simplify the code a bit and allow for | 2008-08-30 | 1 | -6/+6 | |
| | | | | future work. ok av@ a similar diff. | ||||
* | Old drives (reported Giovanni Bechis <bigionews@snb.it>) don't report CD-RW | 2008-08-13 | 1 | -2/+3 | |
| | | | | | | write feature. Add additional check for media type before blanking. The patch fixes problem for Giovanni. ok fgsch | ||||
* | o use definitions from cd.h | 2008-08-08 | 1 | -2/+1 | |
| | | | | o remove unused function prototype | ||||
* | we really need unsigned in arithmetic operations. | 2008-07-23 | 1 | -2/+2 | |
| | | | | comments by fgsch | ||||
* | set speed for writing tracks in TAO. | 2008-06-30 | 1 | -10/+31 | |
| | | | | | ok and tweaks by fgsch manual page by jmc | ||||
* | Automatically distinguish between CD-DA track and WAVE audio file writing them | 2008-06-22 | 1 | -3/+28 | |
| | | | | | | in TAO mode. For WAVE files we should skip header. ok and comments by fgsch | ||||
* | move tao code from main() into its own function before adding features. | 2008-06-11 | 1 | -76/+91 | |
| | | | | requested and ok fgsch | ||||
* | check whether media supports TAO or blanking. | 2008-06-08 | 1 | -2/+18 | |
| | | | | | | 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 | ||||
* | Make open_cd() remember open mode. "blank" doesn't have to check for EPERM | 2008-06-06 | 1 | -22/+29 | |
| | | | | | | anymore. idea by jakemsr ok jakemsr ratchov fgsch (with tweaks) | ||||
* | correct duration by taking the pre-gap into account; ok by many. | 2008-05-07 | 1 | -2/+2 | |
| | |||||
* | cdrip and cdplay commands from Alexey Vatchenko | 2007-05-26 | 1 | -1/+21 | |
| | | | | incorporating some manpage suggestions from jmc@ | ||||
* | spacing | 2006-08-25 | 1 | -3/+3 | |
| | |||||
* | spacing | 2006-08-24 | 1 | -3/+3 | |
| | |||||
* | lint cleanup | 2006-06-16 | 1 | -3/+3 | |
| | |||||
* | put fd into track's struct so we can fail earlier | 2006-06-15 | 1 | -7/+8 | |
| | | | | 'looks good' pat@ | ||||
* | minor cleanup | 2006-06-06 | 1 | -38/+38 | |
| | |||||
* | minor tweaks | 2006-06-01 | 1 | -13/+13 | |
| | |||||
* | add checks for disc size before we set out trying to burn 4gb | 2006-06-01 | 1 | -1/+19 | |
| | | | | onto an unsuspecting cdr | ||||
* | better command line usage as suggested by deraadt@ | 2006-06-01 | 1 | -19/+44 | |
| | | | | ok @deraadt | ||||
* | add rewritable blanking and track-at-once burning support | 2006-05-31 | 1 | -21/+58 | |
| | | | | ok deraadt@ | ||||
* | Clean up command line parsing, don't accept trailing garbage, add in | 2006-01-20 | 1 | -162/+291 | |
| | | | | | | | | | | 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. | ||||
* | Whitespace nits. | 2006-01-11 | 1 | -9/+8 | |
| | |||||
* | Fix issues with relative times, especially track # vs TOC index | 2006-01-10 | 1 | -32/+41 | |
| | | | | | | | confusion, noted by Juha Erkkila in PR #4957. Make code a lot clearer. Error out on out of range track numbers. Tested by Juha. | ||||
* | Add cmpmsf(). Use it to eliminate repeated code. No functional change. | 2006-01-09 | 1 | -12/+25 | |
| | |||||
* | Bring in toc2msf() from NetBSD's cdplay. Use it to eliminate repeated | 2006-01-09 | 1 | -41/+31 | |
| | | | | code. No functional change. | ||||
* | Bring in addmsf() from NetBSD's cdplay. Use it to eliminate repeated | 2006-01-09 | 1 | -40/+23 | |
| | | | | manual calculation. No functional change. | ||||
* | CDIOCREADTOCENTRYS adjusts lba information into host order, so there | 2005-12-31 | 1 | -18/+19 | |
| | | | | | | | | | is no need to to ntohl() on it again. CDIOCREADSUBCHANNEL does not put lba info into host order so just change that to a betoh32(). Noted by Juha Erkkila in PR #4957. ok pedro@ | ||||
* | Remove an ambiguiity and make 'e' short for "eject". The short form | 2005-12-21 | 1 | -2/+2 | |
| | | | | for "exit" is still "ex". OK krw@ | ||||
* | add an exit command as an alias of quit; ok henning@ | 2005-01-22 | 1 | -1/+2 | |
| | |||||
* | Better error message for `device' command without arguments. | 2005-01-09 | 1 | -1/+6 | |
| | | | | help & ok miod@ | ||||
* | New shortcuts for commands device (d) and debug (deb) | 2005-01-08 | 1 | -2/+2 | |
| | | | | go ahead espie@ | ||||
* | add snprintf sanity check. | 2005-01-04 | 1 | -2/+2 | |
| | | | | ok millert@, henning@ | ||||
* | sprinkle some ARGSUSED for table driven functions | 2004-09-14 | 1 | -2/+7 | |
| | |||||
* | - sort options | 2004-07-30 | 1 | -2/+2 | |
| | | | | | | | - missing full stop - uppercase `id' - add SEE ALSO; suggested by Alexey E. Suslikov - add `-d host:port' to usage() | ||||
* | fix printf formats, unsigned wants %u | 2004-01-16 | 1 | -20/+20 | |
| | | | | okay millert@ | ||||
* | A more classical and more readable getopt() loop, no functional change. | 2004-01-14 | 1 | -12/+9 | |
| | | | | ok espie@ millert@ | ||||
* | New libedit api changes. | 2003-10-31 | 1 | -4/+7 | |
| | | | | | | Tested by djm@, mouring@, jmc@. ok deraadt@ | ||||
* | mostly ansi cleanup; pval ok | 2003-06-10 | 1 | -4/+4 | |
| | |||||
* | Replace a strcpy and associated code with a snprintf whose return | 2003-04-06 | 1 | -9/+5 | |
| | | | | | | | | | value is checked. Replace an unhelpful usage() with a relevant error message if the argument buffer overflows. ok millert@ | ||||
* | copyrights added; | 2003-02-18 | 1 | -1/+32 | |
| | | | | | | Serge V. Vakulenko thanks espie@ for help | ||||
* | add libedit support. | 2003-02-13 | 1 | -10/+52 | |
| | | | | | | from Pedro Bastos <pbastos at grad dot inf dot puc-rio dot br>, minus SMALL support. minor change by me. millert@ ok. |