Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit70718dc

Browse files
committed
More cleanups
1 parent3aae0f5 commit70718dc

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

‎src/backend/port/Makefile.in

Lines changed: 2 additions & 2 deletions
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

Lines changed: 0 additions & 6 deletions
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(constchar*string)
41-
{
42-
returnstrcpy(malloc(strlen(string)+1),string);
43-
}
44-
4539
#ifndef_POSIX_SOURCE
4640
int
4741
sigaddset(int*set,intsigno)

‎src/backend/port/ultrix4/strdup.crenamed to‎src/backend/port/strdup.c

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp