diff options
| author | Bruce Momjian <bruce@momjian.us> | 2005-10-13 15:37:14 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2005-10-13 15:37:14 +0000 |
| commit | 32e6c2a160754020adfa3a7744cffb448b1dcddb (patch) | |
| tree | a3b297870ce8ae7e7cadf33802adc9dd34c2c76a /src/port/path.c | |
| parent | 203015ebddee0bc7ee8db97785c2abaa0a3e79e4 (diff) | |
| download | postgresql-32e6c2a160754020adfa3a7744cffb448b1dcddb.tar.gz | |
Use get_progname() in backend main.c, rather than port-specific hack
that is too fragile.
Diffstat (limited to 'src/port/path.c')
| -rw-r--r-- | src/port/path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/path.c b/src/port/path.c index bdb6e29adf..a1c91a24dd 100644 --- a/src/port/path.c +++ b/src/port/path.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/path.c,v 1.59 2005/09/27 17:39:35 tgl Exp $ + * $PostgreSQL: pgsql/src/port/path.c,v 1.60 2005/10/13 15:37:14 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -403,7 +403,7 @@ get_progname(const char *argv0) { char *progname; - progname = strdup(nodir_name); + progname = strdup(nodir_name); /* leaks memory, but called only once */ if (progname == NULL) { fprintf(stderr, "%s: out of memory\n", nodir_name); |
