Unixware patches from Billy G. Allie.

This commit is contained in:
Bruce Momjian 1998-10-04 15:38:58 +00:00
parent a593107d9e
commit 18af384bb7
3 changed files with 7 additions and 6 deletions

View File

@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: c.h,v 1.45 1998/09/01 04:33:57 momjian Exp $
* $Id: c.h,v 1.46 1998/10/04 15:38:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -61,8 +61,9 @@
#define false ((char) 0)
#define true ((char) 1)
#ifndef __cplusplus
#ifndef bool
typedef char bool;
#endif /* ndef bool */
#endif /* not C++ */
typedef bool *BoolPtr;

View File

@ -3,7 +3,7 @@
* procedural language
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.3 1998/09/01 04:40:22 momjian Exp $
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.4 1998/10/04 15:38:57 momjian Exp $
*
* This software is copyrighted by Jan Wieck - Hamburg.
*
@ -1243,9 +1243,9 @@ exec_stmt_fori(PLpgSQL_execstate * estate, PLpgSQL_stmt_fori * stmt)
* ----------
*/
if (stmt->reverse)
((int4) (var->value))--;
(int4)var->value--;
else
((int4) (var->value))++;
(int4)var->value++;
}
return PLPGSQL_RC_OK;

View File

@ -7,7 +7,7 @@
for file in `cat "$@" | grep 'failed$' | cut -d " " -f 1`
do
echo "====== $file ======"
diff -uw expected/$file.out results
diff -w expected/$file.out results
done