From a0bc7aa74cd95c93ea71effd9bf715f50987cd9a Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Sat, 20 Dec 1997 02:36:26 +0000
Subject: [PATCH] This should get the linux port to work...

---
 .../{linux/dynloader.c => dynloader/linux.c}  |  2 +-
 .../port-protos.h => dynloader/linux.h}       |  2 +-
 src/backend/port/linux/Makefile               | 38 -------------------
 src/backend/port/linux/port.c                 | 13 -------
 4 files changed, 2 insertions(+), 53 deletions(-)
 rename src/backend/port/{linux/dynloader.c => dynloader/linux.c} (95%)
 rename src/backend/port/{linux/port-protos.h => dynloader/linux.h} (94%)
 delete mode 100644 src/backend/port/linux/Makefile
 delete mode 100644 src/backend/port/linux/port.c

diff --git a/src/backend/port/linux/dynloader.c b/src/backend/port/dynloader/linux.c
similarity index 95%
rename from src/backend/port/linux/dynloader.c
rename to src/backend/port/dynloader/linux.c
index ee4f17cb9d2..4e8c5019053 100644
--- a/src/backend/port/linux/dynloader.c
+++ b/src/backend/port/dynloader/linux.c
@@ -10,7 +10,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/port/linux/Attic/dynloader.c,v 1.4 1997/09/08 02:26:36 momjian Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/port/dynloader/linux.c,v 1.1 1997/12/20 02:36:17 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
diff --git a/src/backend/port/linux/port-protos.h b/src/backend/port/dynloader/linux.h
similarity index 94%
rename from src/backend/port/linux/port-protos.h
rename to src/backend/port/dynloader/linux.h
index f5af9beecee..63a8acec7de 100644
--- a/src/backend/port/linux/port-protos.h
+++ b/src/backend/port/dynloader/linux.h
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: port-protos.h,v 1.3 1997/09/07 04:46:15 momjian Exp $
+ * $Id: linux.h,v 1.1 1997/12/20 02:36:18 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
diff --git a/src/backend/port/linux/Makefile b/src/backend/port/linux/Makefile
deleted file mode 100644
index 47f697c3c52..00000000000
--- a/src/backend/port/linux/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-#-------------------------------------------------------------------------
-#
-# Makefile--
-#    Makefile for port/linux
-#
-# IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/backend/port/linux/Attic/Makefile,v 1.3 1997/12/20 00:25:58 scrappy Exp $
-#
-#-------------------------------------------------------------------------
-
-SRCDIR = ../../..
-include ../../../Makefile.global
-
-INCLUDE_OPT = -I../.. 
-
-CFLAGS+=$(INCLUDE_OPT)
-
-ifdef LINUX_ELF
-OBJS = port.o
-else
-OBJS = dynloader.o
-endif
-
-all: SUBSYS.o
-
-SUBSYS.o: $(OBJS)
-	$(LD) -r -o SUBSYS.o $(OBJS)
-
-depend dep:
-	$(CC) -MM $(INCLUDE_OPT) *.c >depend
-
-clean: 
-	rm -f SUBSYS.o $(OBJS)
-
-ifeq (depend,$(wildcard depend))
-include depend
-endif
-
diff --git a/src/backend/port/linux/port.c b/src/backend/port/linux/port.c
deleted file mode 100644
index 942340f40fd..00000000000
--- a/src/backend/port/linux/port.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/*-------------------------------------------------------------------------
- *
- * port.c--
- *	  Linux-specific routines
- *
- * Copyright (c) 1994, Regents of the University of California
- *
- *
- * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/port/linux/Attic/port.c,v 1.2 1997/09/07 04:46:18 momjian Exp $
- *
- *-------------------------------------------------------------------------
- */
-- 
GitLab