diff options
| author | Neil Conway | 2004-01-25 03:07:22 +0000 |
|---|---|---|
| committer | Neil Conway | 2004-01-25 03:07:22 +0000 |
| commit | 033bab4089e2b378be96ce8babe1c018454c6fc0 (patch) | |
| tree | 0646afeaae5c6854a17ae3b0f681cbac25ca085f /src/bin/psql/stringutils.c | |
| parent | 86021a7c1b115da8ebb468dbafb7c4d12ed93682 (diff) | |
More fallout from the recent psql patch: rename xmalloc and friends to
pg_malloc, to avoid linker failures on same platforms.
Diffstat (limited to 'src/bin/psql/stringutils.c')
| -rw-r--r-- | src/bin/psql/stringutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/stringutils.c b/src/bin/psql/stringutils.c index 783044acef..e39da1f6c2 100644 --- a/src/bin/psql/stringutils.c +++ b/src/bin/psql/stringutils.c @@ -77,7 +77,7 @@ strtokx(const char *s, * tokens. 2X the space is a gross overestimate, but it's * unlikely that this code will be used on huge strings anyway. */ - storage = xmalloc(2 * strlen(s) + 1); + storage = pg_malloc(2 * strlen(s) + 1); strcpy(storage, s); string = storage; } |
