*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.28 2000/01/10 05:20:23 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.29 2000/01/10 05:23:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
{
if (sscanf(intString, "%hd", &result[slot]) != 1)
break;
- while (*intString && *intString != ' ')
+ do
intString++;
+ while (*intString && *intString != ' ')
}
while (slot < INDEX_MAX_KEYS)
result[slot++] = 0;
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/oid.c,v 1.29 2000/01/10 04:36:34 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/oid.c,v 1.30 2000/01/10 05:23:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
{
if (sscanf(oidString, "%u", &result[slot]) != 1)
break;
- while (*oidString && *oidString != ' ')
+ do
oidString++;
+ while (*oidString && *oidString != ' ')
}
while (slot < INDEX_MAX_KEYS)
result[slot++] = 0;