1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

Rename strNcpy to StrNCpy, and change third parameter.

This commit is contained in:
Bruce Momjian
1997-10-25 01:10:58 +00:00
parent 8b53f6e5b6
commit f3af1368bd
31 changed files with 87 additions and 83 deletions

View File

@@ -2,7 +2,7 @@
* Routines for handling of 'SET var TO', 'SHOW var' and 'RESET var'
* statements.
*
* $Id: variable.c,v 1.16 1997/09/08 21:47:59 momjian Exp $
* $Id: variable.c,v 1.17 1997/10/25 01:10:22 momjian Exp $
*
*/
@@ -73,7 +73,7 @@ get_token(char **tok, char **val, const char *str)
}
*tok = (char *) PALLOC(len + 1);
strNcpy(*tok, start, len);
StrNCpy(*tok, start, len+1);
/* skip white spaces */
while (isspace(*str))
@@ -119,7 +119,7 @@ get_token(char **tok, char **val, const char *str)
}
*val = (char *) PALLOC(len + 1);
strNcpy(*val, start, len);
StrNCpy(*val, start, len+1);
/* skip white spaces */
while (isspace(*str))