pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Don't bother to set sockaddr_un.sun_len.
Date: Tue, 23 Aug 2022 12:13:47 +0000
Message-ID: <E1oQSmw-000qE3-OP@gemulon.postgresql.org> (raw)

Don't bother to set sockaddr_un.sun_len.

It's not necessary to fill in sun_len when calling bind() or connect(),
on all known systems that have it.

Discussion: https://postgr.es/m/2781112.1644819528%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c9818798147a4eec00bba61a05fa9bc88398ec3b

Modified Files
--------------
src/common/ip.c | 14 --------------
1 file changed, 14 deletions(-)



Message-ID: <E1oQSmw-000qE3-OP@gemulon.postgresql.org>
Permalink:  ../E1oQSmw-000qE3-OP@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oQSmw-000qE3-OP@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Don't bother to set sockaddr_un.sun_len.
  In-Reply-To: <E1oQSmw-000qE3-OP@gemulon.postgresql.org>
  References: <E1oQSmw-000qE3-OP@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox