1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

In our source code, make a copy of getopt's 'optarg' string arguments,

rather than just storing a pointer.
This commit is contained in:
Bruce Momjian
2012-10-12 13:35:40 -04:00
parent a29f7ed554
commit 49ec613201
20 changed files with 89 additions and 89 deletions

View File

@ -299,7 +299,7 @@ main(int argc, char **argv)
dryrun = true;
break;
case 'x':
additional_ext = optarg; /* Extension to remove from
additional_ext = strdup(optarg); /* Extension to remove from
* xlogfile names */
break;
default: