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

Commitd62c25d

Browse files
committed
cleanup of long long int atoi test.
1 parent5a3fa95 commitd62c25d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.33 1999/07/09 17:40:31 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.34 1999/07/10 17:03:33 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -76,7 +76,7 @@ pg_atoi(char *s, int size, int c)
7676
switch (size)
7777
{
7878
casesizeof(int32):
79-
#if defined(HAVE_LONG_INT_64)|| defined(HAVE_LONG_LONG_INT_64)
79+
#if defined(HAVE_LONG_INT_64)
8080
/* won't get ERANGE on these with 64-bit longs... */
8181
if (l<INT_MIN)
8282
{
@@ -88,7 +88,7 @@ pg_atoi(char *s, int size, int c)
8888
errno=ERANGE;
8989
elog(ERROR,"pg_atoi: error reading \"%s\": %m",s);
9090
}
91-
#endif/* HAVE_LONG_INT_64or HAVE_LONG_LONG_INT_64*/
91+
#endif/* HAVE_LONG_INT_64 */
9292
break;
9393
casesizeof(int16):
9494
if (l<SHRT_MIN)

‎src/include/port/alpha.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#defineUSE_POSIX_TIME
22
#defineDISABLE_XOPEN_NLS
3-
#defineHAS_LONG_LONG
43
#defineHAS_TEST_AND_SET
54
#include<sys/mman.h>/* for msemaphore */
65
typedefmsemaphoreslock_t;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp