Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 70718dc

Browse files
committed
More cleanups
1 parent 3aae0f5 commit 70718dc

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

src/backend/port/Makefile.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
# be converted to Method 2.
2020
#
2121
# IDENTIFICATION
22-
# $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.6 1997/12/19 02:45:38 scrappy Exp $
22+
# $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.7 1997/12/19 02:56:16 scrappy Exp $
2323
#
2424
#-------------------------------------------------------------------------
2525

2626
SRCDIR=../..
2727
include ../../Makefile.global
2828

2929
OBJS = @PORTNAME@/SUBSYS.o @INET_ATON@ @STRERROR@ @RANDOM@ @SRANDOM@
30-
OBJS+= @GETHOSTNAME@ @GETRUSAGE@ @STRCASECMP@
30+
OBJS+= @GETHOSTNAME@ @GETRUSAGE@ @STRCASECMP@ @STRDUP@
3131

3232
all: submake SUBSYS.o
3333

src/backend/port/nextstep/port.c

-6
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ putenv(char *name)
3636
environ[size] = NULL;
3737
}
3838

39-
char *
40-
strdup(const char *string)
41-
{
42-
return strcpy(malloc(strlen(string) + 1), string);
43-
}
44-
4539
#ifndef _POSIX_SOURCE
4640
int
4741
sigaddset(int *set, int signo)

src/backend/port/ultrix4/strdup.c renamed to src/backend/port/strdup.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
/*-------------------------------------------------------------------------
23
*
34
* strdup.c--
@@ -7,7 +8,7 @@
78
*
89
*
910
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/port/ultrix4/Attic/strdup.c,v 1.4 1997/09/08 02:27:37 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/port/Attic/strdup.c,v 1.1 1997/12/19 02:56:17 scrappy Exp $
1112
*
1213
*-------------------------------------------------------------------------
1314
*/

src/backend/port/univel/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for port/univel
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/port/univel/Attic/Makefile,v 1.1 1997/03/25 07:54:31 scrappy Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/port/univel/Attic/Makefile,v 1.2 1997/12/19 02:56:35 scrappy Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -16,7 +16,7 @@ INCLUDE_OPT = -I../.. \
1616

1717
CFLAGS+=$(INCLUDE_OPT)
1818

19-
OBJS = port.o #tas.o
19+
OBJS = #tas.o
2020

2121
all: SUBSYS.o
2222

0 commit comments

Comments
 (0)