summaryrefslogtreecommitdiff
path: root/net/udpcast/files/patch-udpr-negotiate.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2009-11-14 12:33:33 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2009-11-14 12:33:33 +0000
commitcc415305a049ca523f2a8cf674009fa77c54fee6 (patch)
tree6cf30da0266c6ffa712f243cc23f3c1b5c4a4fb8 /net/udpcast/files/patch-udpr-negotiate.c
parent- Now fix to use this port on !i386. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_8_0_0'.release/8.0.0
Diffstat (limited to 'net/udpcast/files/patch-udpr-negotiate.c')
-rw-r--r--net/udpcast/files/patch-udpr-negotiate.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/net/udpcast/files/patch-udpr-negotiate.c b/net/udpcast/files/patch-udpr-negotiate.c
deleted file mode 100644
index c1a1fddbd386..000000000000
--- a/net/udpcast/files/patch-udpr-negotiate.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- udpr-negotiate.c.orig 2007-05-25 12:01:59.000000000 +0200
-+++ udpr-negotiate.c 2009-02-06 08:18:02.000000000 +0100
-@@ -3,6 +3,10 @@
- #include <errno.h>
- #include <sys/stat.h>
-
-+#if (defined(__unix__) || defined(unix)) && !defined(USG)
-+#include <sys/param.h>
-+#endif
-+
- #include "log.h"
- #include "socklib.h"
- #include "udpcast.h"
-@@ -82,13 +86,13 @@
- if(disk_config->fileName != NULL) {
- int oflags = O_CREAT | O_WRONLY;
- if((disk_config->flags & FLAG_SYNC)) {
-- oflags |= O_SYNC;
-+ oflags |= O_FSYNC;
- } else if( !(disk_config->flags & FLAG_NOSYNC)) {
- struct stat buf;
- if(stat(disk_config->fileName, &buf) == 0) {
- /* If target is device, open it synchronously */
- if(S_ISCHR(buf.st_mode) || S_ISBLK(buf.st_mode))
-- oflags |= O_SYNC;
-+ oflags |= O_FSYNC;
- }
- }
- outFile = open(disk_config->fileName, oflags | O_BINARY, 0644);