[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit
From: |
Samuel Thibault |
Subject: |
Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit |
Date: |
Sun, 12 Feb 2023 16:00:11 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
We don't need these to be 64bits, 32bit will be completely large enough.
Which issue did you actually encounter?
Samuel
Sergey Bugaev, le dim. 12 févr. 2023 14:10:37 +0300, a ecrit:
> ---
> hurd/tioctl.defs | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hurd/tioctl.defs b/hurd/tioctl.defs
> index 905a4a38..a04f5ae4 100644
> --- a/hurd/tioctl.defs
> +++ b/hurd/tioctl.defs
> @@ -34,9 +34,9 @@ import <hurd/ioctl_types.h>; /* XXX */
>
> /* These are the pieces of a struct termios as specified by the
> definition of _IOT_termios in <termbits.h>. */
> -type modes_t = array[4] of int;
> +type modes_t = array[4] of long;
> type ccs_t = array[20] of char;
> -type speeds_t = array[2] of int;
> +type speeds_t = array[2] of long;
>
> /* This is the arg for a struct winsize as specified by the
> definition of _IOT_winsize in <sys/ioctl.h>. */
> --
> 2.39.1
- Re: [RFC PATCH glibc 2/12] hurd: Use mach_msg_type_number_t where appropriate, (continued)
- [RFC PATCH glibc 1/12] hurd: Refactor readlinkat(), Sergey Bugaev, 2023/02/12
- [RFC PATCH glibc 3/12] mach, hurd: Cast through uintptr_t, Sergey Bugaev, 2023/02/12
- [RFC PATCH mig 7/12] Drop -undef -ansi from cpp flags, Sergey Bugaev, 2023/02/12
- [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit, Sergey Bugaev, 2023/02/12
- Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit,
Samuel Thibault <=
- Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit, Sergey Bugaev, 2023/02/12
- Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit, Samuel Thibault, 2023/02/12
- Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit, Sergey Bugaev, 2023/02/12
- Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit, Samuel Thibault, 2023/02/12
- Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit, Samuel Thibault, 2023/02/12
[RFC PATCH glibc 9/12] mach: Look for mach_i386.defs on x86_64 too, Sergey Bugaev, 2023/02/12