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

Commit48d0db9

Browse files
committed
Fix for copy to stdout for cash.
1 parentebb000f commit48d0db9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/utils/adt/cash.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* workings can be found in the book "Software Solutions in C" by
1010
* Dale Schumacher, Academic Press, ISBN: 0-12-632360-7.
1111
*
12-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.12 1997/09/08 21:48:13 momjian Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/cash.c,v 1.13 1997/09/13 04:39:08 momjian Exp $
1313
*/
1414

1515
#include<stdio.h>
@@ -165,8 +165,9 @@ cash_in(const char *str)
165165
*positive-valued amounts. - tgl 97/04/14
166166
*/
167167
constchar*
168-
cash_out(Cash*value)
168+
cash_out(Cash*in_value)
169169
{
170+
Cashvalue=*in_value;
170171
char*result;
171172
charbuf[CASH_BUFSZ];
172173
intminus=0;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp