[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/41] libshouldbeinlibc: Port to x86_64
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 01/41] libshouldbeinlibc: Port to x86_64 |
Date: |
Mon, 8 May 2023 23:43:48 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Samuel Thibault, le lun. 08 mai 2023 23:40:08 +0200, a ecrit:
> Sergey Bugaev, le mar. 09 mai 2023 00:30:56 +0300, a ecrit:
> > ---
> > libshouldbeinlibc/fsysops.c | 2 +-
> > libshouldbeinlibc/idvec-auth.c | 4 ++--
> > libshouldbeinlibc/portinfo.c | 14 +++++++-------
> > 3 files changed, 10 insertions(+), 10 deletions(-)
> >
> > diff --git a/libshouldbeinlibc/fsysops.c b/libshouldbeinlibc/fsysops.c
> > index dbcae672..eb04c397 100644
> > --- a/libshouldbeinlibc/fsysops.c
> > +++ b/libshouldbeinlibc/fsysops.c
> > @@ -49,7 +49,7 @@ fsys_get_readonly (fsys_t fsys, int *readonly)
> > {
> > error_t err;
> > char _opts[200], *opts = _opts;
> > - size_t opts_len = sizeof opts;
> > + mach_msg_type_number_t opts_len = sizeof opts;
>
> ? That doesn't make sense, sizeof does return size_t.
Ah but then its address is passed to an RPC, ok.
Samuel
- [PATCH 00/41] The x86_64 port, Sergey Bugaev, 2023/05/08
- [PATCH 02/41] libports: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 01/41] libshouldbeinlibc: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 03/41] libiohelp: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 04/41] libfshelp: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 06/41] libtrivfs: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 09/41] libstore: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 05/41] libfshelp-tests: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 07/41] libnetfs: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 13/41] libmachdev: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 08/41] libdiskfs: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 10/41] libpipe: Fix use-after-realloc, Sergey Bugaev, 2023/05/08