Commit f2490718 authored by Stan Seibert's avatar Stan Seibert

Overwrite existing files (the proper UNIX behavior) and match the docs.

Closes bug 438 and Debian BTS bug #196037.

svn path=/trunk/vorbis-tools/; revision=5310
parent 3b33df41
......@@ -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 @@ void audio_reopen_action (buf_t *buf, void *arg)
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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment