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

Commiteb348bf

Browse files
committed
Clean up the alpha port, remove the backend/port/alpha subdirectory
structure, and move the init_address_fixup() code directly intobackend/main/main.c with appropriate #ifdefs around it...
1 parentfe3737f commiteb348bf

File tree

7 files changed

+25
-186
lines changed

7 files changed

+25
-186
lines changed

‎src/backend/main/main.c

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.11 1997/12/19 02:05:42 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.12 1998/02/03 01:25:23 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -38,9 +38,18 @@ main(int argc, char *argv[])
3838
{
3939
intlen;
4040

41+
#if defined(alpha)
42+
# ifdefNOFIXADE
43+
intbuffer[]= {SSIN_UACPROC,UAC_SIGBUS};
44+
# endif/* NOFIXADE */
45+
# ifdefNOPRINTADE
46+
intbuffer[]= {SSIN_UACPROC,UAC_NOPRINT};
47+
# endif/* NOPRINTADE */
48+
#endif
49+
4150
#ifdefUSE_LOCALE
4251
setlocale(LC_CTYPE,"");/* take locale information from an
43-
* environment */
52+
* environment */
4453
setlocale(LC_COLLATE,"");
4554
setlocale(LC_MONETARY,"");
4655
#endif
@@ -50,8 +59,20 @@ main(int argc, char *argv[])
5059
* Must be first so that the bootstrap code calls it, too. (Only
5160
* needed on some RISC architectures.)
5261
*/
53-
init_address_fixup();
54-
#endif/* NOFIXADE || NOPRINTADE */
62+
63+
#if defined(ultrix4)
64+
syscall(SYS_sysmips,MIPS_FIXADE,0,NULL,NULL,NULL);
65+
#endif
66+
67+
#if defined(alpha)
68+
if (setsysinfo(SSI_NVPAIRS,buffer,1, (caddr_t)NULL,
69+
(unsigned long)NULL)<0)
70+
{
71+
elog(NOTICE,"setsysinfo failed: %d\n",errno);
72+
}
73+
#endif
74+
75+
#endif/* NOFIXADE || NOPRINTADE */
5576

5677
/*
5778
* use one executable for both postgres and postmaster, invoke one or

‎src/backend/port/alpha/Makefile

Lines changed: 0 additions & 34 deletions
This file was deleted.

‎src/backend/port/alpha/port-protos.h

Lines changed: 0 additions & 19 deletions
This file was deleted.

‎src/backend/port/alpha/port.c

Lines changed: 0 additions & 37 deletions
This file was deleted.

‎src/backend/port/hpux/Makefile

Lines changed: 0 additions & 34 deletions
This file was deleted.

‎src/backend/port/hpux/port.c

Lines changed: 0 additions & 32 deletions
This file was deleted.

‎src/backend/port/ultrix4/port.c

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp