1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

Remove comment on errno=0 lines, but add mention to port/strtol.c function.

This commit is contained in:
Bruce Momjian
2005-12-02 02:49:11 +00:00
parent de1dfc1209
commit cf17131767
4 changed files with 35 additions and 26 deletions

View File

@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/numutils.c,v 1.71 2005/12/01 21:16:13 momjian Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/numutils.c,v 1.72 2005/12/02 02:49:11 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -73,7 +73,7 @@ pg_atoi(char *s, int size, int c)
errmsg("invalid input syntax for integer: \"%s\"",
s)));
errno = 0; /* avoid having to check the result for failure */
errno = 0;
l = strtol(s, &badp, 10);
/* We made no progress parsing the string, so bail out */