4f389e3ad2
all streams that xine supports, in interactive or in script mode (using toxine syntax). It use xine's visualisation plugins (AAlib, X11, DXR3/HW+), and/or his own 'none' one (audio only output). PR: ports/82951 Submitted by: Alejandro Pulver <alejandro@varnet.biz>
13 lines
462 B
C
13 lines
462 B
C
FreeBSD 4.X does not have O_SYNC yet
|
|
|
|
--- src/main.c.orig Mon Apr 12 17:55:02 2004
|
|
+++ src/main.c Wed Jul 6 12:16:42 2005
|
|
@@ -207,7 +207,7 @@
|
|
{
|
|
char *ofile = (optarg) ? optarg : "toxine.out";
|
|
|
|
- if((tox->msg_fd = open(ofile, O_WRONLY | O_CREAT | O_TRUNC | O_SYNC, 0644)) < 0) {
|
|
+ if((tox->msg_fd = open(ofile, O_WRONLY | O_CREAT | O_TRUNC | O_FSYNC, 0644)) < 0) {
|
|
fprintf(stderr, "Cannot open %s: %s\n", ofile, strerror(errno));
|
|
exit(1);
|
|
}
|