OpenBSD CVS

CVS log for src/usr.bin/midiplay/Attic/midiplay.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22, Fri Nov 30 07:05:49 2018 UTC (5 years, 5 months ago) by ratchov
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +1 -1 lines
FILE REMOVED

Remove midiplay.

ok mpi@

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jul 20 21:47:07 2018 UTC (5 years, 10 months ago) by mestre
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.20: +9 -1 lines
Diff to previous 1.20 (colored)

add pledge(2), it only needs rpath if reading from a file

hint from tb@ and OK ratchov@

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jul 20 21:44:41 2018 UTC (5 years, 10 months ago) by mestre
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

zap whitespaces

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 24 06:45:56 2017 UTC (7 years ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Print usage on stderr as do other programs. From Michael
Bombardieri <mb at ii.net>, thanks.

Revision 1.18 / (download) - annotate - [select for diffs], Thu May 5 09:18:12 2016 UTC (8 years ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Fix one of the reads past the end of the buffer. Found
by Geoff Hill, fix proposed by jsg@ and zhuk@.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Feb 8 23:40:34 2015 UTC (9 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

in getopt() blocks, stop incrementing flag variable which are supposed
to just be 0/1
ok miod florian

Revision 1.16 / (download) - annotate - [select for diffs], Tue Nov 12 13:54:51 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.15: +2 -1 lines
Diff to previous 1.15 (colored)

simpler prototype repairs

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jan 26 04:17:04 2012 UTC (12 years, 3 months ago) by lum
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
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Typo in comment. ok ratchov@

Revision 1.14 / (download) - annotate - [select for diffs], Tue Sep 20 18:35:24 2011 UTC (12 years, 8 months ago) by ratchov
Branch: MAIN
Changes since 1.13: +3 -6 lines
Diff to previous 1.13 (colored)

Don't include fcntl.h (not needed anymore) and use errx(3) instead of
fprintf(3) and exit(3).

from Michael W. Bombardieri <mwb at bom.nom.co>, thanks!

Revision 1.13 / (download) - annotate - [select for diffs], Thu Apr 28 07:23:46 2011 UTC (13 years ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

use ULONG_MAX instead of ~0
from Michael W. Bombardieri <mb at ii.net>, thanks

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 13 13:45:29 2010 UTC (14 years, 3 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.11: +80 -159 lines
Diff to previous 1.11 (colored)

convert midiplay to sndio(7) so it can be used with soft synths, for
instance. Now, the -f option sets the MIDI device (instead of the
sequencer(4) device). The -d and -l options were removed.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 14 18:22:49 2009 UTC (14 years, 7 months ago) by sobrado
Branch: MAIN
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored)

add a missing flag to usage; while here, slightly improve spacing
in source code (being consistent with the style used in the rest
of this file) and write "usage:" using lower case letters only, as
usual in the BSD operating systems.

ok ratchov@

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jun 26 05:42:21 2008 UTC (15 years, 10 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.9: +1 -8 lines
Diff to previous 1.9 (colored)

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@

Revision 1.9 / (download) - annotate - [select for diffs], Sun Sep 2 15:19:33 2007 UTC (16 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg

Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 6 00:56:51 2005 UTC (18 years, 6 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.7: +8 -3 lines
Diff to previous 1.7 (colored)

Instead of always forcing General MIDI 1 mode make it an option
so other modes can be used.
From Alexandre Ratchov, alex-contact at caoua.org.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jul 28 10:59:11 2005 UTC (18 years, 9 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

Fix bug that prevented system exclusive messages longer than 6 bytes
from working properly.
From Alexandre Ratchov alex-contact at caoua.org

Revision 1.6 / (download) - annotate - [select for diffs], Fri Mar 11 22:54:06 2005 UTC (19 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

- synopsis according to style(9)
- add missing -q option
- sync usage()
- minor tweaks while here

Revision 1.5 / (download) - annotate - [select for diffs], Fri May 14 04:27:26 2004 UTC (20 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.4: +28 -19 lines
Diff to previous 1.4 (colored)

little cleanups

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

mostly ansi cleanup; pval ok

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 14 06:51:42 2002 UTC (22 years, 2 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.2: +11 -11 lines
Diff to previous 1.2 (colored)

Remove \n from err/errx/warn/warnx().

millert@ ok

Revision 1.2 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:49 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.1: +10 -10 lines
Diff to previous 1.1 (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.1 / (download) - annotate - [select for diffs], Fri Jan 1 23:58:22 1999 UTC (25 years, 4 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5

MIDI file player

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.