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

Commit440c913

Browse files
committed
Define __alpha__ for __alpha.
1 parent34eb4f0 commit440c913

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

‎src/interfaces/perl5/test.pl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/local/bin/perl -w
22

3-
# $Id: test.pl,v 1.10 1999/10/0805:03:14 momjian Exp $
3+
# $Id: test.pl,v 1.11 1999/10/0817:14:45 momjian Exp $
44

55
# Before `make install' is performed this script should be runnable with
66
# `make test'. After `make install' it should work as `perl test.pl'
@@ -147,7 +147,8 @@
147147

148148
######################### create and insert into table
149149

150-
$result =$conn->exec("CREATE TABLE person (id int4, name char(16)) -- test");
150+
# we test comments inside string and with no trailing newline here
151+
$result =$conn->exec("CREATE TABLE person (id int4, -- test\n name char(16)) -- test");
151152
die$conn->errorMessageunless PGRES_COMMAND_OKeq$result->resultStatus;
152153
my$cmd =$result->cmdStatus;
153154
("CREATE"eq$cmd )

‎src/makefiles/Makefile.alpha

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1+
/* some platforms define __alpha, but not __alpha__ */
2+
#if defined(__alpha) && !defined(__alpha__)
3+
#define __alpha__
4+
#endif
5+
16
%.so: %.o
27
$(LD) -shared -expect_unresolved '*' -o $@ $<

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp