[xiph-cvs] cvs commit: vorbis-tools/ogg123 callbacks.c
Stan Seibert
volsung at xiph.org
Fri Sep 5 12:25:30 PDT 2003
volsung 03/09/05 15:25:30
Modified: ogg123 callbacks.c
Log:
Overwrite existing files (the proper UNIX behavior) and match the docs.
Closes bug 438 and Debian BTS bug #196037.
Revision Changes Path
1.9 +3 -2 vorbis-tools/ogg123/callbacks.c
Index: callbacks.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/callbacks.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- callbacks.c 12 Jan 2003 20:19:22 -0000 1.8
+++ callbacks.c 5 Sep 2003 19:25:30 -0000 1.9
@@ -11,7 +11,7 @@
* *
********************************************************************
- last mod: $Id: callbacks.c,v 1.8 2003/01/12 20:19:22 volsung Exp $
+ last mod: $Id: callbacks.c,v 1.9 2003/09/05 19:25:30 volsung Exp $
********************************************************************/
@@ -61,7 +61,8 @@
current->options);
else
current->device = ao_open_file(current->driver_id, current->filename,
- 0, &format, current->options);
+ 1 /*overwrite*/, &format,
+ current->options);
/* Report errors */
if (current->device == NULL) {
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list