Skip to content

Fix wd_cli --socket-dir option. - #186

Open
jirutka wants to merge 1 commit into
pgpool:masterfrom
jirutka:fix-wd-cli-socket-dir
Open

jirutka wants to merge 1 commit into
pgpool:masterfrom
jirutka:fix-wd-cli-socket-dir

Conversation

@jirutka

@jirutka jirutka commented Nov 28, 2026

Copy link
Copy Markdown

The handler of -s/--socket-dir passed the still unset socket_dir variable to pstrdup() instead of the option argument. As a result, the option always failed with "cannot duplicate null pointer (internal error)", whether or not --config-file was given.

The handler of -s/--socket-dir passed the still unset socket_dir
variable to pstrdup() instead of the option argument.  As a result,
the option always failed with "cannot duplicate null pointer (internal
error)", whether or not --config-file was given.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant