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

Commit8c8c010

Browse files
committed
Add comment to pg_atoi.
1 parent0e6b152 commit8c8c010

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/adt/numutils.c,v 1.70 2005/11/30 23:10:08 tgl Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/adt/numutils.c,v 1.71 2005/12/01 21:16:13 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -73,7 +73,7 @@ pg_atoi(char *s, int size, int c)
7373
errmsg("invalid input syntax for integer: \"%s\"",
7474
s)));
7575

76-
errno=0;
76+
errno=0;/* avoid having to check the result for failure */
7777
l=strtol(s,&badp,10);
7878

7979
/* We made no progress parsing the string, so bail out */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp