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

Commit90aebf7

Browse files
committed
Move s_lock.c and spin.c into lmgr subdirectory, which seems a much
more reasonable location for them.
1 parent3d59ad0 commit90aebf7

File tree

5 files changed

+14
-15
lines changed

5 files changed

+14
-15
lines changed

‎src/backend/storage/buffer/Makefile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
# Makefile for storage/buffer
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/storage/buffer/Makefile,v 1.15 2000/08/31 16:10:30 petere Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/storage/buffer/Makefile,v 1.16 2001/09/27 19:10:02 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

1111
subdir = src/backend/storage/buffer
1212
top_builddir = ../../../..
1313
include$(top_builddir)/src/Makefile.global
1414

15-
OBJS = buf_table.o buf_init.o bufmgr.o freelist.o localbuf.o s_lock.o
15+
OBJS = buf_table.o buf_init.o bufmgr.o freelist.o localbuf.o
1616

1717
all: SUBSYS.o
1818

@@ -23,11 +23,7 @@ depend dep:
2323
$(CC) -MM$(CFLAGS)*.c>depend
2424

2525
clean:
26-
rm -f SUBSYS.o$(OBJS) s_lock_test
27-
28-
s_lock_test: s_lock.c
29-
$(CC)$(CFLAGS) -DS_LOCK_TEST=1 s_lock.c -o s_lock_test
30-
./s_lock_test
26+
rm -f SUBSYS.o$(OBJS)
3127

3228
ifeq (depend,$(wildcard depend))
3329
include depend

‎src/backend/storage/ipc/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Makefile for storage/ipc
33
#
4-
# $Header: /cvsroot/pgsql/src/backend/storage/ipc/Makefile,v 1.15 2000/10/20 21:03:47 petere Exp $
4+
# $Header: /cvsroot/pgsql/src/backend/storage/ipc/Makefile,v 1.16 2001/09/27 19:10:02 tgl Exp $
55
#
66

77
subdir = src/backend/storage/ipc
@@ -15,8 +15,7 @@ override CFLAGS+= -fno-inline
1515
endif
1616
endif
1717

18-
OBJS = ipc.o ipci.o shmem.o shmqueue.o sinval.o\
19-
sinvaladt.o spin.o
18+
OBJS = ipc.o ipci.o shmem.o shmqueue.o sinval.o sinvaladt.o
2019

2120
all: SUBSYS.o
2221

‎src/backend/storage/lmgr/Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,30 @@
44
# Makefile for storage/lmgr
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Makefile,v 1.15 2001/01/25 03:31:16 tgl Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Makefile,v 1.16 2001/09/27 19:10:02 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

1111
subdir = src/backend/storage/lmgr
1212
top_builddir = ../../../..
1313
include$(top_builddir)/src/Makefile.global
1414

15-
OBJS = lmgr.o lock.o proc.o deadlock.o
15+
OBJS = lmgr.o lock.o proc.o deadlock.o spin.o s_lock.o
1616

1717
all: SUBSYS.o
1818

1919
SUBSYS.o:$(OBJS)
2020
$(LD)$(LDREL)$(LDOUT) SUBSYS.o$(OBJS)
2121

22+
s_lock_test: s_lock.c
23+
$(CC)$(CPPFLAGS)$(CFLAGS) -DS_LOCK_TEST=1 s_lock.c -o s_lock_test
24+
./s_lock_test
25+
2226
dependdep:
2327
$(CC) -MM$(CFLAGS)*.c>depend
2428

2529
clean:
26-
rm -f SUBSYS.o$(OBJS)
30+
rm -f SUBSYS.o$(OBJS) s_lock_test
2731

2832
ifeq (depend,$(wildcard depend))
2933
include depend

‎src/backend/storage/buffer/s_lock.crenamed to‎src/backend/storage/lmgr/s_lock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.38 2001/08/29 11:54:12 petere Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/s_lock.c,v 1.1 2001/09/27 19:10:02 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/

‎src/backend/storage/ipc/spin.crenamed to‎src/backend/storage/lmgr/spin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
*
1616
* IDENTIFICATION
17-
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/spin.c,v 1.33 2001/06/2723:31:39 tgl Exp $
17+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/spin.c,v 1.1 2001/09/2719:10:02 tgl Exp $
1818
*
1919
*-------------------------------------------------------------------------
2020
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp