This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: dvbv5-zap: Use O_LARGEFILE only if available
Author:  Gregor Jasny <[email protected]>
Date:    Mon Jun 18 19:21:12 2012 +0200

Signed-off-by: Gregor Jasny <[email protected]>

 utils/dvb/dvbv5-zap.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=6fe1f20b8bc238b7feb7e9b0592a108ac0f3df81

diff --git a/utils/dvb/dvbv5-zap.c b/utils/dvb/dvbv5-zap.c
index ea79121..f7e3c4a 100644
--- a/utils/dvb/dvbv5-zap.c
+++ b/utils/dvb/dvbv5-zap.c
@@ -593,7 +593,10 @@ int main(int argc, char **argv)
                        if (strcmp(args.filename, "-") != 0) {
                                file_fd =
                                    open(args.filename,
-                                        O_WRONLY | O_LARGEFILE | O_CREAT,
+#ifdef O_LARGEFILE
+                                        O_LARGEFILE |
+#endif
+                                        O_WRONLY | O_CREAT,
                                         0644);
                                if (file_fd < 0) {
                                        PERROR("open of '%s' failed",

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to