public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Yang Xu <xuyang2018.jy@fujitsu.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] unlink09: Add _GNU_SOURCE feature macro to workaround the compile error
Date: Wed, 19 Jun 2024 15:43:28 +0200	[thread overview]
Message-ID: <20240619134328.GA460868@pevik> (raw)
In-Reply-To: <20240423083723.66575-1-xuyang2018.jy@fujitsu.com>

Hi Yang Xu,

> In CI environment, unlink09 compiling failed on alpine/latest because loff_t
> type is not declared. Add _GNU_SOURCE feature macro to enable GNU extension
> to solve the problem.

For a record, this has been fixed by b4970ae94 ("lapi/fs: Replace loff_t with long long") [1]
thus closing this in patchwork as handled elsewhere.

Kind regards,
Petr

[1] https://github.com/linux-test-project/ltp/commit/b4970ae949d15b4b05b81b5ba72bef12d59dcf2d
...
> +++ b/testcases/kernel/syscalls/unlink/unlink09.c
> @@ -13,6 +13,8 @@
>   * - EROFS when target file is on a read-only filesystem.
>   */

> +#define _GNU_SOURCE
> +

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

      reply	other threads:[~2024-06-19 13:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-23  8:37 [LTP] [PATCH] unlink09: Add _GNU_SOURCE feature macro to workaround the compile error Yang Xu via ltp
2024-06-19 13:43 ` Petr Vorel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240619134328.GA460868@pevik \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=xuyang2018.jy@fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox