|
10 | 10 | * |
11 | 11 | * |
12 | 12 | * 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 $ |
14 | 14 | * |
15 | 15 | *------------------------------------------------------------------------- |
16 | 16 | */ |
@@ -73,7 +73,7 @@ pg_atoi(char *s, int size, int c) |
73 | 73 | errmsg("invalid input syntax for integer: \"%s\"", |
74 | 74 | s))); |
75 | 75 |
|
76 | | -errno=0; |
| 76 | +errno=0;/* avoid having to check the result for failure */ |
77 | 77 | l=strtol(s,&badp,10); |
78 | 78 |
|
79 | 79 | /* We made no progress parsing the string, so bail out */ |
|