[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 25/41] daemons: Port to x86_64
From: |
Sergey Bugaev |
Subject: |
[PATCH 25/41] daemons: Port to x86_64 |
Date: |
Tue, 9 May 2023 00:31:20 +0300 |
---
daemons/lmail.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/daemons/lmail.c b/daemons/lmail.c
index 33ccf66b..ee6b6fdc 100644
--- a/daemons/lmail.c
+++ b/daemons/lmail.c
@@ -146,10 +146,11 @@ bfree (char *blk, size_t blk_len)
/* Read up to MAX chars from IN into BLK & BLK_LEN, which may be reused or
freed. */
static int
-bread (int in, char *in_name, size_t max, char **blk, size_t *blk_len)
+bread (int in, char *in_name, size_t max, char **blk,
+ mach_msg_type_number_t *blk_len)
{
char *orig_blk = *blk;
- size_t orig_blk_len = *blk_len;
+ mach_msg_type_number_t orig_blk_len = *blk_len;
error_t err = HURD_DPORT_USE (in, io_read (port, blk, blk_len, -1, max));
if (err)
@@ -182,7 +183,7 @@ copy (int in, char *in_name, int out, char *out_name)
{
int ex = 0;
char *blk = 0;
- size_t blk_len = 0;
+ mach_msg_type_number_t blk_len = 0;
do
{
@@ -233,7 +234,7 @@ process (int in, char *in_name, int out, char *out_name,
struct params *params)
{
/* The block currently being processed. */
char *blk = 0;
- size_t blk_len = 0;
+ mach_msg_type_number_t blk_len = 0;
/* MATCH is the string we're looking for to escape, NL_MATCH is the same
string prefixed by a newline to ease searching (MATCH only matches at
the beginning of lines). */
--
2.40.1
- [PATCH 33/41] fatfs: Port to x86_64, (continued)
- [PATCH 33/41] fatfs: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 21/41] sutils: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 27/41] boot: Port to x64_64, Sergey Bugaev, 2023/05/08
- [PATCH 37/41] console-client: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 30/41] startup: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 15/41] utils: Avoid warnings about prototype mismatch, Sergey Bugaev, 2023/05/08
- [PATCH 18/41] proc: Fix use-after-realloc, Sergey Bugaev, 2023/05/08
- [PATCH 31/41] mach-defpager: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 38/41] trans: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 19/41] exec: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 25/41] daemons: Port to x86_64,
Sergey Bugaev <=
- [PATCH 40/41] Disable Linux-based pfinet on x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 23/41] storeio: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 24/41] devnode: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 39/41] Look for mach_i386 in mach/machine/, Sergey Bugaev, 2023/05/08
- [PATCH 36/41] term: Port to x86_64, Sergey Bugaev, 2023/05/08
- [PATCH 28/41] eth-multiplexer: Port to x86_64, Sergey Bugaev, 2023/05/08
- Re: [PATCH 00/41] The x86_64 port, Samuel Thibault, 2023/05/09