[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Define mig type flock_t as a struct instead of array of ints
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] Define mig type flock_t as a struct instead of array of ints |
Date: |
Fri, 11 Nov 2022 16:33:03 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Applied, thanks!
Flavio Cruz, le jeu. 10 nov. 2022 23:42:33 -0500, a ecrit:
> ---
> hurd/hurd_types.defs | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/hurd/hurd_types.defs b/hurd/hurd_types.defs
> index 5b9dd85a..95399289 100644
> --- a/hurd/hurd_types.defs
> +++ b/hurd/hurd_types.defs
> @@ -425,7 +425,13 @@ type idarray_t = array[] of uid_t;
>
> type rusage_t = struct[18] of int; /* XXX */
>
> -type flock_t = struct[7] of int; /* l_start and l_len are 64 bit */
> +type flock_t = struct {
> + int l_type;
> + int l_whence;
> + loff_t l_start;
> + loff_t l_len;
> + pid_t l_pid;
> +};
>
> type timespec_t = struct[2] of int;
>
> --
> 2.37.2
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.