Remove O_LARGEFILE from tests
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 21 Feb 2012 16:40:57 +0000 (11:40 -0500)
committerChristian Babeux <christian.babeux@efficios.com>
Tue, 27 Nov 2012 21:09:40 +0000 (16:09 -0500)
commit 5cd198029b32a694091328e73035dcf8bc26045e upstream.

Not portable.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
tests/ust-basic-tracing/ust-basic-tracing.c
tests/ust-multi-test/ust-multi-test.c

index 57c025ee15e59081cadf0d2c401e0059f7b0fa46..e704af1f9e346768f310bcbc9479fd80f2a56c5a 100644 (file)
@@ -222,7 +222,7 @@ int consume_stream(struct lttng_ust_shm_handle *handle, int cpu, char *outfile)
        }
 
        /* copy */
-       outfd = open(outfile, O_WRONLY | O_CREAT | O_LARGEFILE | O_TRUNC,
+       outfd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC,
                        S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
        if (outfd < 0) {
                perror("open output");
index f2deefa40158c0f7d78bbac18fe01e30b7605625..bea01b168c447c98c34517164adfeebbfca21e12 100644 (file)
@@ -229,7 +229,7 @@ int consume_stream(struct lttng_ust_shm_handle *handle, int cpu, char *outfile)
        }
 
        /* copy */
-       outfd = open(outfile, O_WRONLY | O_CREAT | O_LARGEFILE | O_TRUNC,
+       outfd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC,
                        S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
        if (outfd < 0) {
                perror("open output");
This page took 0.025585 seconds and 4 git commands to generate.