]> dgit.raspbian.org Git - libaio.git/commitdiff
[PATCH libaio 01/26] harness: use off64_t instead of off_t in test 23.t (EINVAL on...
authorAndreas Baumann <mail@andreasbaumann.cc>
Thu, 2 Jun 2022 11:33:11 +0000 (13:33 +0200)
committerGuillem Jover <guillem@debian.org>
Sat, 17 Oct 2026 15:57:49 +0000 (17:57 +0200)
Gbp-Pq: Name 0001-harness-use-off64_t-instead-of-off_t-in-test-23.t-EI.patch

harness/cases/23.t

index cc5a8a1412b15c9f44e70686aae37202819a034d..9bbb05cf94f12630c756794303bb5122108f69b7 100644 (file)
@@ -72,7 +72,7 @@ static void fail_errno(const char *format, ...)
 static void *thrproc2(void *arg)
 {
        for (;;) {
-               off_t offset = 0;
+               off64_t offset = 0;
 
                pthread_barrier_wait(&barrier);
                if (exiting)
@@ -92,7 +92,7 @@ static void *thrproc3(void *arg)
 {
        for (;;) {
                char c;
-               off_t offset = 0;
+               off64_t offset = 0;
 
                pthread_barrier_wait(&barrier);
                if (exiting)