From: Mathieu Desnoyers Date: Wed, 22 Feb 2012 22:09:28 +0000 (-0500) Subject: Revert "Remove O_LARGEFILE from tests" X-Git-Tag: v2.0.0-rc2~40 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=72aa0d36b5508c151a1f62497479a7052f388f46;p=lttng-ust.git Revert "Remove O_LARGEFILE from tests" This reverts commit 626cb7f6174c4d9c22364f10d3d6a0915e53d5f3. Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/ust-basic-tracing/ust-basic-tracing.c b/tests/ust-basic-tracing/ust-basic-tracing.c index 0705a48c..a7fa84da 100644 --- a/tests/ust-basic-tracing/ust-basic-tracing.c +++ b/tests/ust-basic-tracing/ust-basic-tracing.c @@ -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"); diff --git a/tests/ust-multi-test/ust-multi-test.c b/tests/ust-multi-test/ust-multi-test.c index dc91b847..814e4517 100644 --- a/tests/ust-multi-test/ust-multi-test.c +++ b/tests/ust-multi-test/ust-multi-test.c @@ -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");