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

Commit18af384

Browse files
committed
Unixware patches from Billy G. Allie.
1 parenta593107 commit18af384

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

‎src/include/c.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: c.h,v 1.45 1998/09/01 04:33:57 momjian Exp $
10+
* $Id: c.h,v 1.46 1998/10/04 15:38:55 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -61,8 +61,9 @@
6161
#definefalse((char) 0)
6262
#definetrue((char) 1)
6363
#ifndef__cplusplus
64+
#ifndefbool
6465
typedefcharbool;
65-
66+
#endif/* ndef bool */
6667
#endif/* not C++ */
6768
typedefbool*BoolPtr;
6869

‎src/pl/plpgsql/src/pl_exec.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* procedural language
44
*
55
* IDENTIFICATION
6-
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.3 1998/09/01 04:40:22 momjian Exp $
6+
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.4 1998/10/04 15:38:57 momjian Exp $
77
*
88
* This software is copyrighted by Jan Wieck - Hamburg.
99
*
@@ -1243,9 +1243,9 @@ exec_stmt_fori(PLpgSQL_execstate * estate, PLpgSQL_stmt_fori * stmt)
12431243
* ----------
12441244
*/
12451245
if (stmt->reverse)
1246-
((int4) (var->value))--;
1246+
(int4)var->value--;
12471247
else
1248-
((int4) (var->value))++;
1248+
(int4)var->value++;
12491249
}
12501250

12511251
returnPLPGSQL_RC_OK;

‎src/test/regress/checkresults

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
forfilein`cat"$@"| grep'failed$'| cut -d"" -f 1`
88
do
99
echo"======$file ======"
10-
diff -uw expected/$file.out results
10+
diff -w expected/$file.out results
1111
done
1212

1313

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp