pgsql: Remove no-longer-referenced src/port/gethostname.c.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove no-longer-referenced src/port/gethostname.c.
Date: 2015-01-24 17:14:26
Message-ID: E1YF4Hy-0002fv-FP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove no-longer-referenced src/port/gethostname.c.

This file hasn't been part of any build since 2005, and even before that
wasn't used unless you configured --with-krb4 (and had a machine without
gethostname(2), obviously). What's more, we haven't actually called
gethostname anywhere since then, either (except in thread_test.c, whose
testing of this function is probably pointless). So we don't need it.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9222cd84b0f227287f65df395d52dc7973a62d29

Modified Files
--------------
src/port/gethostname.c | 33 ---------------------------------
1 file changed, 33 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-01-24 18:06:24 pgsql: Replace a bunch more uses of strncpy() with safer coding.
Previous Message Alvaro Herrera 2015-01-24 14:17:10 pgsql: Fix assignment operator thinko