Skip to content

data/Makefile.am: put -- between end of option and mode#147

Merged
legionus merged 1 commit into
legionus:masterfrom
lanodan:chmod-end-opts
Nov 3, 2025
Merged

data/Makefile.am: put -- between end of option and mode#147
legionus merged 1 commit into
legionus:masterfrom
lanodan:chmod-end-opts

Conversation

@lanodan

@lanodan lanodan commented Oct 31, 2025

Copy link
Copy Markdown
Contributor

POSIX comforming getopt(3) will stop parsing options at the mode argument
(provided it doesn't starts with a dash).
So prior to this change -- would be taken as a file argument
because getopt(3) already stopped.

@legionus

Copy link
Copy Markdown
Owner

kbd uses DCO. Please add Signed-off-by to the commit.

https://github.com/legionus/kbd/blob/master/docs/process/howto-contribute.md#sending-patches

@lanodan

lanodan commented Nov 1, 2025 via email

Copy link
Copy Markdown
Contributor Author

@legionus

legionus commented Nov 1, 2025

Copy link
Copy Markdown
Owner

@lanodan I don't see any changes in the commit message.

https://github.com/legionus/kbd/pull/147.patch

POSIX comforming getopt(3) will stop parsing options at the mode argument
(provided it doesn't starts with a dash).
So prior to this change `--` would be taken as a file argument
because getopt(3) already stopped.

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
@lanodan

lanodan commented Nov 2, 2025 via email

Copy link
Copy Markdown
Contributor Author

@legionus legionus merged commit 51ee1d9 into legionus:master Nov 3, 2025
@legionus

legionus commented Nov 3, 2025

Copy link
Copy Markdown
Owner

Applied. Thanks!

@lanodan lanodan deleted the chmod-end-opts branch March 25, 2026 03:30
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.

2 participants