Revert "Remove O_LARGEFILE from tests"
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Feb 2012 22:09:28 +0000 (17:09 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Feb 2012 22:09:28 +0000 (17:09 -0500)
This reverts commit 626cb7f6174c4d9c22364f10d3d6a0915e53d5f3.

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

index 0705a48c5975f3934229ec02ae1edc6846ae4a7d..a7fa84daec6ff696c2616fcabc6ec25de580dac4 100644 (file)
@@ -223,7 +223,7 @@ int consume_stream(struct lttng_ust_shm_handle *handle, int cpu, char *outfile)
        }
 
        /* copy */
-       outfd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC,
+       outfd = open(outfile, O_WRONLY | O_CREAT | O_LARGEFILE | O_TRUNC,
                        S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
        if (outfd < 0) {
                perror("open output");
index dc91b847e39abbc5a210eb3a318c8c990d0f1425..814e4517dc366295f2cf6bb990c5ac8374e3f919 100644 (file)
@@ -230,7 +230,7 @@ int consume_stream(struct lttng_ust_shm_handle *handle, int cpu, char *outfile)
        }
 
        /* copy */
-       outfd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC,
+       outfd = open(outfile, O_WRONLY | O_CREAT | O_LARGEFILE | O_TRUNC,
                        S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
        if (outfd < 0) {
                perror("open output");
This page took 0.02702 seconds and 4 git commands to generate.