OpenBSD CVS

CVS log for src/usr.bin/cdio/cdio.c


[BACK] Up to [local] / src / usr.bin / cdio

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.86 / (download) - annotate - [select for diffs], Wed Mar 8 04:43:10 2023 UTC (14 months, 1 week ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.85: +1 -6 lines
Diff to previous 1.85 (colored)

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@

Revision 1.85 / (download) - annotate - [select for diffs], Thu Dec 22 19:53:22 2022 UTC (16 months, 3 weeks ago) by kn
Branch: MAIN
Changes since 1.84: +3 -2 lines
Diff to previous 1.84 (colored)

Denote multiple arguments with 'arg ...' not 'args'

A few programs used the plural in their synopsis which doesn't read as
clear as the obvious triple-dot notation.

mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent
use of 'arg ...' matches that behaviour.

Cleanup a few markups of the same argument so the text keeps reading
naturally;  omit unhelpful parts like 'if optional arguments are given,
they are passed along' for tools like time(1) and timeout(1) that obviously
execute commands with whatever arguments where given -- just like doas(1)
which doesn't mention arguments in its DESCRIPTION in the first place.

For expr(1) the difference between 'expressions' and 'expression ...' is
crucial, as arguments must be passed as individual words.

Feedback millert jmc schwarze deraadt
OK jmc

Revision 1.84 / (download) - annotate - [select for diffs], Tue Feb 15 08:17:50 2022 UTC (2 years, 3 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.83: +1 -8 lines
Diff to previous 1.83 (colored)

unifdef CDIOCCLOSE __OpenBSD__

Revision 1.83 / (download) - annotate - [select for diffs], Sun Nov 28 19:28:41 2021 UTC (2 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored)

Stop using MAXBSIZE to eliminate sys/param.h including (which injects a
ton of namespace intrusion).  Create local sizes, and refactor some code
along the way.
ok millert

Revision 1.82 / (download) - annotate - [select for diffs], Sun Oct 24 21:24:16 2021 UTC (2 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

For open/openat, if the flags parameter does not contain O_CREAT, the
3rd (variadic) mode_t parameter is irrelevant.  Many developers in the past
have passed mode_t (0, 044, 0644, or such), which might lead future people
to copy this broken idiom, and perhaps even believe this parameter has some
meaning or implication or application. Delete them all.
This comes out of a conversation where tb@ noticed that a strange (but
intentional) pledge behaviour is to always knock-out high-bits from
mode_t on a number of system calls as a safety factor, and his bewilderment
that this appeared to be happening against valid modes (at least visually),
but no sorry, they are all irrelevant junk.  They could all be 0xdeafbeef.
ok millert

Revision 1.81 / (download) - annotate - [select for diffs], Fri Aug 13 10:56:54 2021 UTC (2 years, 9 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.80: +24 -3 lines
Diff to previous 1.80 (colored)

During line editing, let Ctrl-C discard the current input line and
provide a fresh prompt instead of exiting the program.  This aligns
behaviour with bc(1), ftp(1), sftp(1), and all the shells.

OK naddy@

Both martijn@ and naddy@ point out that this program might profit
from signal handling during more of its code, but that would require
more code inspection, design work, and testing which i'm not planning
to do right now.  Consider standard behaviour during line editing
as a first step.

Revision 1.80 / (download) - annotate - [select for diffs], Mon Jan 18 00:44:00 2021 UTC (3 years, 4 months ago) by mortimer
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.79: +3 -1 lines
Diff to previous 1.79 (colored)

Extern tracks list to avoid linker issues with -fno-common.

ok deraadt@

Revision 1.79 / (download) - annotate - [select for diffs], Fri Jun 26 19:51:14 2020 UTC (3 years, 10 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

Switch cdio's default CDDB database to gnudb.gnudb.org:8880.
The freedb.org CD track database has been discontinued.

Retire cddb/888 from /etc/services.  Nothing uses this any longer.
gnudb.org uses the "cddbp-alt" port of 8880, but we don't need a
services(5) entry for a single site.

ok deraadt@

Revision 1.78 / (download) - annotate - [select for diffs], Wed Jul 3 03:24:02 2019 UTC (4 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored)

snprintf/vsnprintf return < 0 on error, rather than -1.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Jun 28 13:35:00 2019 UTC (4 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.76: +11 -11 lines
Diff to previous 1.76 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.76 / (download) - annotate - [select for diffs], Mon Apr 1 03:57:07 2019 UTC (5 years, 1 month ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

Change a strange "} if" into the intended "} else if".  No practial
difference in this instance.  ok krw@

Revision 1.75 / (download) - annotate - [select for diffs], Thu Apr 26 12:42:51 2018 UTC (6 years ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

Use <fcntl.h> instead of <sys/file.h> for open() and friends.
Delete a bunch of unnecessary #includes and sort to match style(9)
while doing the above cleanup.

ok deraadt@ krw@

Revision 1.74 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:06 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.73: +4 -3 lines
Diff to previous 1.73 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
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)

Revision 1.73 / (download) - annotate - [select for diffs], Wed Nov 20 20:54:34 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.72: +11 -10 lines
Diff to previous 1.72 (colored)

unsigned char casts where neccessary
ok ratchov

Revision 1.72 / (download) - annotate - [select for diffs], Mon Mar 1 02:09:44 2010 UTC (14 years, 2 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.71: +7 -4 lines
Diff to previous 1.71 (colored)

Add printing of current profile and feature information to 'info'
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@

Revision 1.71 / (download) - annotate - [select for diffs], Tue Jun 9 22:20:44 2009 UTC (14 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

try to get "play" right; help/ok naddy

Revision 1.70 / (download) - annotate - [select for diffs], Wed Jun 3 00:45:59 2009 UTC (14 years, 11 months ago) by naddy
Branch: MAIN
Changes since 1.69: +12 -11 lines
Diff to previous 1.69 (colored)

Synchronize man page and help output.
From a least of details by sobrado@; input by jmc@ who still isn't happy.

Revision 1.69 / (download) - annotate - [select for diffs], Sat Feb 7 20:21:13 2009 UTC (15 years, 3 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.68: +5 -5 lines
Diff to previous 1.68 (colored)

Restore the original help output: capitalize the characters that
are required to uniquely identify a command.
Three characters are required for the cdplay and cdrip commands.
ok krw@

Revision 1.68 / (download) - annotate - [select for diffs], Wed Oct 29 00:07:07 2008 UTC (15 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.67: +5 -3 lines
Diff to previous 1.67 (colored)

no need to warn about using the default device; Thomas Pfaff

Revision 1.67 / (download) - annotate - [select for diffs], Sat Aug 30 10:41:38 2008 UTC (15 years, 8 months ago) by fgsch
Branch: MAIN
Changes since 1.66: +6 -6 lines
Diff to previous 1.66 (colored)

use a bitmap to store the features. simplify the code a bit and allow for
future work.  ok av@ a similar diff.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Aug 13 12:21:19 2008 UTC (15 years, 9 months ago) by av
Branch: MAIN
Changes since 1.65: +3 -2 lines
Diff to previous 1.65 (colored)

Old drives (reported Giovanni Bechis <bigionews@snb.it>) don't report CD-RW
write feature. Add additional check for media type before blanking.
The patch fixes problem for Giovanni.
ok fgsch

Revision 1.65 / (download) - annotate - [select for diffs], Fri Aug 8 07:26:40 2008 UTC (15 years, 9 months ago) by fgsch
Branch: MAIN
Changes since 1.64: +1 -2 lines
Diff to previous 1.64 (colored)

o use definitions from cd.h
o remove unused function prototype

Revision 1.64 / (download) - annotate - [select for diffs], Wed Jul 23 21:33:32 2008 UTC (15 years, 9 months ago) by av
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

we really need unsigned in arithmetic operations.
comments by fgsch

Revision 1.63 / (download) - annotate - [select for diffs], Mon Jun 30 23:35:39 2008 UTC (15 years, 10 months ago) by av
Branch: MAIN
Changes since 1.62: +31 -10 lines
Diff to previous 1.62 (colored)

set speed for writing tracks in TAO.
ok and tweaks by fgsch
manual page by jmc

Revision 1.62 / (download) - annotate - [select for diffs], Sun Jun 22 21:04:01 2008 UTC (15 years, 11 months ago) by av
Branch: MAIN
Changes since 1.61: +28 -3 lines
Diff to previous 1.61 (colored)

Automatically distinguish between CD-DA track and WAVE audio file writing them
in TAO mode. For WAVE files we should skip header.

ok and comments by fgsch

Revision 1.61 / (download) - annotate - [select for diffs], Wed Jun 11 21:59:25 2008 UTC (15 years, 11 months ago) by av
Branch: MAIN
Changes since 1.60: +91 -76 lines
Diff to previous 1.60 (colored)

move tao code from main() into its own function before adding features.
requested and ok fgsch

Revision 1.60 / (download) - annotate - [select for diffs], Sun Jun 8 21:40:58 2008 UTC (15 years, 11 months ago) by av
Branch: MAIN
Changes since 1.59: +18 -2 lines
Diff to previous 1.59 (colored)

check whether media supports TAO or blanking.
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

Revision 1.59 / (download) - annotate - [select for diffs], Fri Jun 6 10:16:52 2008 UTC (15 years, 11 months ago) by av
Branch: MAIN
Changes since 1.58: +29 -22 lines
Diff to previous 1.58 (colored)

Make open_cd() remember open mode. "blank" doesn't have to check for EPERM
anymore.
idea by jakemsr
ok jakemsr ratchov fgsch (with tweaks)

Revision 1.58 / (download) - annotate - [select for diffs], Wed May 7 23:27:50 2008 UTC (16 years ago) by fgsch
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

correct duration by taking the pre-gap into account; ok by many.

Revision 1.57 / (download) - annotate - [select for diffs], Sat May 26 03:00:03 2007 UTC (16 years, 11 months ago) by mjc
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.56: +21 -1 lines
Diff to previous 1.56 (colored)

cdrip and cdplay commands from Alexey Vatchenko
incorporating some manpage suggestions from jmc@

Revision 1.56 / (download) - annotate - [select for diffs], Fri Aug 25 04:38:32 2006 UTC (17 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

spacing

Revision 1.55 / (download) - annotate - [select for diffs], Thu Aug 24 19:35:55 2006 UTC (17 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

spacing

Revision 1.54 / (download) - annotate - [select for diffs], Fri Jun 16 17:06:04 2006 UTC (17 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

lint cleanup

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jun 15 23:49:58 2006 UTC (17 years, 11 months ago) by mjc
Branch: MAIN
Changes since 1.52: +8 -7 lines
Diff to previous 1.52 (colored)

put fd into track's struct so we can fail earlier
'looks good' pat@

Revision 1.52 / (download) - annotate - [select for diffs], Tue Jun 6 23:22:28 2006 UTC (17 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.51: +36 -36 lines
Diff to previous 1.51 (colored)

minor cleanup

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jun 1 07:53:01 2006 UTC (17 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.50: +13 -13 lines
Diff to previous 1.50 (colored)

minor tweaks

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jun 1 07:12:18 2006 UTC (17 years, 11 months ago) by mjc
Branch: MAIN
Changes since 1.49: +19 -1 lines
Diff to previous 1.49 (colored)

add checks for disc size before we set out trying to burn 4gb
onto an unsuspecting cdr

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jun 1 06:32:17 2006 UTC (17 years, 11 months ago) by mjc
Branch: MAIN
Changes since 1.48: +44 -19 lines
Diff to previous 1.48 (colored)

better command line usage as suggested by deraadt@
ok @deraadt

Revision 1.48 / (download) - annotate - [select for diffs], Wed May 31 01:14:41 2006 UTC (17 years, 11 months ago) by mjc
Branch: MAIN
Changes since 1.47: +58 -21 lines
Diff to previous 1.47 (colored)

add rewritable blanking and track-at-once burning support

ok deraadt@

Revision 1.47 / (download) - annotate - [select for diffs], Fri Jan 20 00:58:32 2006 UTC (18 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.46: +291 -162 lines
Diff to previous 1.46 (colored)

Clean up command line parsing, don't accept trailing garbage, add in
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.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Jan 11 01:29:07 2006 UTC (18 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.45: +8 -9 lines
Diff to previous 1.45 (colored)

Whitespace nits.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jan 10 19:59:11 2006 UTC (18 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.44: +41 -32 lines
Diff to previous 1.44 (colored)

Fix issues with relative times, especially track # vs TOC index
confusion, noted by Juha Erkkila in PR #4957. Make code a lot clearer.
Error out on out of range track numbers.

Tested by Juha.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jan 9 05:48:35 2006 UTC (18 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.43: +25 -12 lines
Diff to previous 1.43 (colored)

Add cmpmsf(). Use it to eliminate repeated code. No functional change.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Jan 9 04:05:43 2006 UTC (18 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.42: +31 -41 lines
Diff to previous 1.42 (colored)

Bring in toc2msf() from NetBSD's cdplay. Use it to eliminate repeated
code. No functional change.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Jan 9 00:20:31 2006 UTC (18 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.41: +23 -40 lines
Diff to previous 1.41 (colored)

Bring in addmsf() from NetBSD's cdplay. Use it to eliminate repeated
manual calculation. No functional change.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Dec 31 19:51:15 2005 UTC (18 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.40: +19 -18 lines
Diff to previous 1.40 (colored)

CDIOCREADTOCENTRYS adjusts lba information into host order, so there
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@

Revision 1.40 / (download) - annotate - [select for diffs], Wed Dec 21 15:50:38 2005 UTC (18 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

Remove an ambiguiity and make 'e' short for "eject".  The short form
for "exit" is still "ex".  OK krw@

Revision 1.39 / (download) - annotate - [select for diffs], Sat Jan 22 10:21:26 2005 UTC (19 years, 4 months ago) by robert
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

add an exit command as an alias of quit; ok henning@

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jan 9 11:02:32 2005 UTC (19 years, 4 months ago) by alek
Branch: MAIN
Changes since 1.37: +6 -1 lines
Diff to previous 1.37 (colored)

Better error message for `device' command without arguments.

help & ok miod@

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jan 8 21:16:02 2005 UTC (19 years, 4 months ago) by alek
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

New shortcuts for commands device (d) and debug (deb)

go ahead espie@

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jan 4 18:30:38 2005 UTC (19 years, 4 months ago) by moritz
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

add snprintf sanity check.

ok millert@, henning@

Revision 1.35 / (download) - annotate - [select for diffs], Tue Sep 14 22:21:30 2004 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.34: +7 -2 lines
Diff to previous 1.34 (colored)

sprinkle some ARGSUSED for table driven functions

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jul 30 11:59:03 2004 UTC (19 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

- sort options
- missing full stop
- uppercase `id'
- add SEE ALSO; suggested by Alexey E. Suslikov
- add `-d host:port' to usage()

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jan 16 12:10:55 2004 UTC (20 years, 4 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.32: +20 -20 lines
Diff to previous 1.32 (colored)

fix printf formats, unsigned wants %u
okay millert@

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jan 14 07:32:58 2004 UTC (20 years, 4 months ago) by miod
Branch: MAIN
Changes since 1.31: +9 -12 lines
Diff to previous 1.31 (colored)

A more classical and more readable getopt() loop, no functional change.
ok espie@ millert@

Revision 1.31 / (download) - annotate - [select for diffs], Fri Oct 31 08:47:31 2003 UTC (20 years, 6 months ago) by otto
Branch: MAIN
Changes since 1.30: +7 -4 lines
Diff to previous 1.30 (colored)

New libedit api changes.

Tested by djm@, mouring@, jmc@.

ok deraadt@

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jun 10 22:20:45 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

mostly ansi cleanup; pval ok

Revision 1.29 / (download) - annotate - [select for diffs], Sun Apr 6 20:50:05 2003 UTC (21 years, 1 month ago) by krw
Branch: MAIN
Changes since 1.28: +5 -9 lines
Diff to previous 1.28 (colored)

Replace a strcpy and associated code with a snprintf whose return
value is checked.

Replace an unhelpful usage() with a relevant error message if the
argument buffer overflows.

ok millert@

Revision 1.28 / (download) - annotate - [select for diffs], Tue Feb 18 09:42:33 2003 UTC (21 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.27: +32 -1 lines
Diff to previous 1.27 (colored)

copyrights added;

Serge V. Vakulenko

thanks espie@ for help

Revision 1.27 / (download) - annotate - [select for diffs], Thu Feb 13 05:48:38 2003 UTC (21 years, 3 months ago) by fgsch
Branch: MAIN
Changes since 1.26: +51 -9 lines
Diff to previous 1.26 (colored)

add libedit support.
from Pedro Bastos <pbastos at grad dot inf dot puc-rio dot br>, minus
SMALL support. minor change by me.
millert@ ok.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Oct 24 20:03:07 2002 UTC (21 years, 6 months ago) by fgsch
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25 (colored)

- Add missing cdid command to cdio.1.
- Remove ambiguity between cddbinfo and cdid commands, so CD matches
  cddbinfo and CDI cdid.
millert@ ok.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Apr 18 22:17:04 2002 UTC (22 years, 1 month ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.24: +37 -2 lines
Diff to previous 1.24 (colored)

Reuse cddb code to support FreeBSD new cdid command.
(who knows ? scripts might use it).
ok fgs@, pval@

Revision 1.24 / (download) - annotate - [select for diffs], Thu Apr 18 20:18:31 2002 UTC (22 years, 1 month ago) by espie
Branch: MAIN
Changes since 1.23: +152 -86 lines
Diff to previous 1.23 (colored)

Add cddb support.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Mar 22 03:43:37 2002 UTC (22 years, 2 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored)

Add missing prototypes.
Convert lba2msf definition to ANSI-style, so that it matches the prototype

Old-style function declarations undergo argument promotion, and thus:

void
f(a)
	char a;
{}

actually matches
void f(int a);

Revision 1.22 / (download) - annotate - [select for diffs], Thu Mar 21 17:43:48 2002 UTC (22 years, 2 months ago) by espie
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

getopt returns -1, not EOF.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 20 13:40:57 2002 UTC (22 years, 2 months ago) by espie
Branch: MAIN
Changes since 1.20: +3 -2 lines
Diff to previous 1.20 (colored)

style(9)

Revision 1.20 / (download) - annotate - [select for diffs], Sun Feb 17 19:42:30 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.19: +2 -3 lines
Diff to previous 1.19 (colored)

Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)

Revision 1.19 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:44 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.18: +20 -20 lines
Diff to previous 1.18 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Oct 28 03:57:59 2001 UTC (22 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +294 -273 lines
Diff to previous 1.17 (colored)

indent

Revision 1.17 / (download) - annotate - [select for diffs], Tue Aug 14 00:01:56 2001 UTC (22 years, 9 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.16: +11 -6 lines
Diff to previous 1.16 (colored)

Stop fucking up display on Depeche Mode.
Ok miod@

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jun 22 14:26:36 2001 UTC (22 years, 11 months ago) by lebel
Branch: MAIN
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored)

use strlcpy vs strncpy+a[len-1]='\0'

Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 24 11:35:42 2000 UTC (23 years, 4 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.14: +2 -3 lines
Diff to previous 1.14 (colored)

Get rid of undocumented -h option.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 24 11:34:10 2000 UTC (23 years, 4 months ago) by aaron
Branch: MAIN
Changes since 1.13: +3 -10 lines
Diff to previous 1.13 (colored)

Get rid of ugly usage() output. People can read the man page to get a command
list. Sync the usage() with the man page.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Dec 15 05:33:56 1999 UTC (24 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

overflow safe

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 20 23:53:35 1998 UTC (25 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.11: +20 -9 lines
Diff to previous 1.11 (colored)

If open of device fails, try up to 10 times.  Useful for CD changers that take a while to switch between logical units

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 9 20:10:26 1998 UTC (25 years, 10 months ago) by csapuntz
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.10: +14 -2 lines
Diff to previous 1.10 (colored)



Play CDs with more than 100 tracks

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 9 19:09:59 1998 UTC (25 years, 10 months ago) by csapuntz
Branch: MAIN
Changes since 1.9: +7 -14 lines
Diff to previous 1.9 (colored)



Fix for "play" command on CDs whose last table of contents entry is
clipped (for whatever reason). Couple minor bug fixes.

Noticed by John Jannotti

Revision 1.9 / (download) - annotate - [select for diffs], Sat Apr 25 04:41:29 1998 UTC (26 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.8: +69 -47 lines
Diff to previous 1.8 (colored)

Add "dev" command to switch to a new device.  Handy for cd changers
that show up as multiple luns.

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 1 12:40:28 1997 UTC (27 years ago) by downsj
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.7: +2 -8 lines
Diff to previous 1.7 (colored)

CDIOCSETSTEREO -> CDIOCSETSTERIO, go@cclub.tutcc.tut.ac.jp

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 19 03:21:49 1997 UTC (27 years, 2 months ago) by angelos
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

Fixed minor bug with next/prev/replay commands.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 9 01:34:27 1997 UTC (27 years, 2 months ago) by angelos
Branch: MAIN
Changes since 1.5: +30 -1 lines
Diff to previous 1.5 (colored)

Added the "replay" command.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 26 02:08:44 1997 UTC (27 years, 2 months ago) by angelos
Branch: MAIN
Changes since 1.4: +79 -1 lines
Diff to previous 1.4 (colored)

Next/Prev commands.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Feb 23 02:29:02 1997 UTC (27 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.3: +10 -5 lines
Diff to previous 1.3 (colored)

All audio CDs does not start at block 0

Revision 1.3 / (download) - annotate - [select for diffs], Sat Aug 24 08:20:21 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

cd0 not /dev/cd0

Revision 1.2 / (download) - annotate - [select for diffs], Sat Aug 24 06:32:16 1996 UTC (27 years, 9 months ago) by downsj
Branch: MAIN
Changes since 1.1: +2 -6 lines
Diff to previous 1.1 (colored)

opendev() is smart, we're not.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 23 23:42:29 1996 UTC (27 years, 9 months ago) by downsj
Branch: MAIN

A renamed and moved cdcontrol from FreeBSD.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.