| From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: pread, pwrite, etc return ssize_t not int |
| Date: | 2024-02-27 11:21:45 |
| Message-ID: | CA+hUKGJaCxLhNxAFUJZ0QYSfqovq7TbVV+6YGPrvSa-G7ODWow@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Patches attached.
PS Correction to my earlier statement about POSIX: the traditional K&R
interfaces were indeed in the original POSIX.1 1988 but it was the
1990 edition (approximately coinciding with standard C) that adopted
void, size_t, const and invented ssize_t.
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Return-ssize_t-in-fd.c-I-O-functions.patch | application/octet-stream | 3.6 KB |
| 0002-Fix-theoretical-overflow-in-Windows-pg_pread-pg_pwri.patch | application/octet-stream | 2.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrey M. Borodin | 2024-02-27 11:49:03 | Re: Injection points: some tools to wait and wake |
| Previous Message | Давыдов Виталий | 2024-02-27 11:19:41 | Re: Slow catchup of 2PC (twophase) transactions on replica in LR |